HexSketch MCP
An MCP server that integrates a chemical structure editor into AI chats, allowing users to draw, name, and validate chemical structures and reaction schemes directly within the interface.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mcp.hexsketch.com/mcpWhat its tools do
9 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (8)
Can change data (1)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Draw chemical structures and reaction schemes
- Name structures using IUPAC nomenclature
- Validate SMILES strings before presentation
- Analyze structure properties like formula and masses
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- hexsketch 0.1.8
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 9 advertised
- Resources
- 1 advertised
- Resource templates
- 0 advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
},
"resources": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
9 advertised
render_structure — Draw a structure
Draw a chemical structure, or a reaction scheme (reaction), as a publication-quality image (PNG by default), with its name, SMILES, formula and a link that opens it in HexSketch at hexsketch.com, where the user can edit it by drawing. Give structures as SMILES, not names. Check the name and formula returned against what you meant, and always give the user the link; where you can show a web page beside the chat (a preview pane, a browser tool), open the link there too. Draw every reaction as a scheme: reagents above the arrow, solvent, temperature, time and yield below; a whole synthesis or retrosynthesis as one scheme (then); a mechanism as steps, all on one page (with cycle: true for a catalytic cycle, drawn round a circle).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"cycle": {
"type": "boolean"
},
"steps": {
"type": "array",
"items": {
"type": "object",
"required": [
"structure"
],
"properties": {
"note": {
"type": "string"
},
"arrows": {
"type": "array"
},
"structure": {
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 10,
"minItems": 2,
"description": "A mechanism on one page: steps, each its species as SMILES with atom-map numbers, its curly arrows (given as for arrows) and a few words naming it."
},
"style": {
"enum": [
"hexsketch",
"acs"
],
"type": "string",
"description": "Drawing style: hexsketch (default) or acs (ACS 1996 journal style)."
},
"arrows": {
"type": "array",
"items": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 2,
"minItems": 1,
"description": "Where they go: [2] onto atom 2, [1, 2] into the bond 1–2, existing or being made (a nucleophile attacking: from [1] to [1, 2])."
},
"from": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 2,
"minItems": 1,
"description": "Where the electrons come from, by atom-map number: [3] a lone pair on atom 3, [2, 3] the bond between atoms 2 and 3."
},
"colour": {
"enum": [
"yellow",
"blue",
"orange",
"green",
"purple"
],
"type": "string",
"description": "Arrow colour, as a highlight colour name; default black."
},
"electrons": {
"enum": [
1,
2
],
"type": "number",
"description": "2 (default): an electron pair, full arrowhead. 1: one electron, a fishhook (radical steps)."
}
},
"additionalProperties": false
},
"maxItems": 12,
"description": "Curly (electron-pushing) arrows for a mechanism step, drawn on the structure or reaction given in the same call. Give it as SMILES with atom-map numbers on the atoms the arrows touch, e.g. \"[OH-:1].[CH3:2][Br:3]\" with arrows [{from:[1],to:[1,2]},{from:[2,3],to:[3]}]. A mapped atom written as just its element ([C:1]) keeps its usual hydrogens; separate species are drawn close together, the attacking one beside the atom it attacks. HexSketch places each arrow clear of the drawing."
},
"format": {
"enum": [
"png",
"svg",
"pdf",
"cdxml",
"mol"
],
"type": "string",
"description": "Output format; default png. PDF needs save_to."
},
"reaction": {
"type": "object",
"required": [
"stages"
],
"properties": {
"then": {
"type": "array",
"items": {
"type": "object",
"required": [
"stages"
],
"properties": {
"arrows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"enum": [
"forward",
"equilibrium",
"retrosynthetic"
],
"type": "string"
},
"reagents": {
"type": "string",
"maxLength": 200
},
"conditions": {
"type": "string",
"maxLength": 200
}
},
"additionalProperties": false
}
},
"stages": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 8,
"minItems": 2
}
},
"additionalProperties": false
},
"maxItems": 3,
"description": "More schemes, given as stages and arrows like this one, drawn below it in the same drawing, each starting on a new row: for a retrosynthesis, the forward route (with its reagents and conditions) below the retrosynthetic analysis, so the whole route is on one page."
},
"arrows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"enum": [
"forward",
"equilibrium",
"retrosynthetic"
],
"type": "string",
"description": "forward (default), equilibrium or retrosynthetic."
},
"reagents": {
"type": "string",
"maxLength": 200,
"description": "Written above the arrow: reagents and catalysts, e.g. \"MeOH, H2SO4 (cat.)\" or \"1. LDA 2. MeI\". Digits in formulas are subscripted."
},
"conditions": {
"type": "string",
"maxLength": 200,
"description": "Written below the arrow: solvent, temperature, time and yield, e.g. \"THF, −78 °C to rt, 2 h\" (a second line after \\n, e.g. \"85%\")."
}
},
"additionalProperties": false
},
"description": "One per step, between consecutive stages (one fewer than the stages)."
},
"stages": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 8,
"minItems": 2,
"description": "SMILES of each stage, left to right: starting materials, any intermediates, products. Join the structures of one stage with \".\" and they are drawn with \"+\" between them, e.g. [\"CC(=O)O.OCC\", \"CC(=O)OCC.O\"]."
}
},
"description": "A reaction scheme instead of a single structure: starting materials, an arrow with the reagents above it and the solvent and conditions below, and the products. Use it for every reaction or synthetic step.",
"additionalProperties": false
},
"structure": {
"type": "string",
"maxLength": 1000000,
"minLength": 1,
"description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
},
"disconnect": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 2,
"minItems": 2
},
"maxItems": 6,
"description": "Retrosynthesis: bonds of the target to mark as disconnections, by their atoms' map numbers in the SMILES. [[1, 2]] draws a wavy line across the bond 1–2. With a reaction, the marks go on its first stage, the target: give the map numbers there only."
}
},
"additionalProperties": false
}{
"title": "Draw a structure",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}name_structure — Name a structure
The IUPAC name of a structure, generated offline. Returns name null with a reason when the structure is outside what HexSketch names.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"structure"
],
"properties": {
"structure": {
"type": "string",
"maxLength": 1000000,
"minLength": 1,
"description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
}
},
"additionalProperties": false
}{
"title": "Name a structure",
"readOnlyHint": true,
"openWorldHint": false
}analyze_structure — Analyze a structure
Name, SMILES (with stereochemistry), molecular formula, exact (monoisotopic) mass, molecular weight, elemental analysis and isotope pattern (m/z). Mixtures and salts are also given per structure. For a drawing (a HexSketch link or CDXML), also its arrows and text: the reagents and conditions written on each arrow.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"structure"
],
"properties": {
"structure": {
"type": "string",
"maxLength": 1000000,
"minLength": 1,
"description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
}
},
"additionalProperties": false
}{
"title": "Analyze a structure",
"readOnlyHint": true,
"openWorldHint": false
}validate_structure — Check a structure
Check a structure, typically a SMILES you wrote, before presenting it: catches unreadable SMILES, names given instead of SMILES, aromatic rings that cannot be kekulized, atoms over or under their valence, unusual charges and radicals. Returns ok, issues (error, warning or note), and the name and formula to compare with what you meant. Never fails on bad input; it reports it.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"structure"
],
"properties": {
"structure": {
"type": "string",
"maxLength": 1000000,
"minLength": 1,
"description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
}
},
"additionalProperties": false
}{
"title": "Check a structure",
"readOnlyHint": true,
"openWorldHint": false
}convert_structure — Convert a structure
Convert a structure to SMILES (with stereochemistry), a molfile (V2000), CDXML (ChemDraw) or a HexSketch link.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"structure",
"to"
],
"properties": {
"to": {
"enum": [
"smiles",
"mol",
"cdxml",
"link"
],
"type": "string",
"description": "Target format."
},
"structure": {
"type": "string",
"maxLength": 1000000,
"minLength": 1,
"description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
}
},
"additionalProperties": false
}{
"title": "Convert a structure",
"readOnlyHint": true,
"openWorldHint": false
}compare_structures — Compare two structures
Are two structures the same compound, and the same stereoisomer? The inputs may be in different formats (a SMILES against a drawing, for instance).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"a",
"b"
],
"properties": {
"a": {
"type": "string",
"maxLength": 1000000,
"minLength": 1,
"description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
},
"b": {
"type": "string",
"maxLength": 1000000,
"minLength": 1,
"description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
}
},
"additionalProperties": false
}{
"title": "Compare two structures",
"readOnlyHint": true,
"openWorldHint": false
}structure_link — Link to edit in HexSketch
A link that opens the structure in HexSketch (in the browser, nothing to install), where the user can edit it by drawing and copy it back. Give it to the user whenever they may want to change a structure.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"structure"
],
"properties": {
"style": {
"enum": [
"hexsketch",
"acs"
],
"type": "string",
"description": "Drawing style: hexsketch (default) or acs (ACS 1996 journal style)."
},
"structure": {
"type": "string",
"maxLength": 1000000,
"minLength": 1,
"description": "The structure: SMILES (e.g. \"CC(=O)Oc1ccccc1C(=O)O\"), molfile or CDXML text, or a HexSketch link (https://hexsketch.com/#smiles=... or #cdxml=...). Not a name."
}
},
"additionalProperties": false
}{
"title": "Link to edit in HexSketch",
"readOnlyHint": true,
"openWorldHint": false
}sketch_updates
Used by the HexSketch editor to fetch what show_in_sketcher asked it to show. Not for the model.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sketch",
"since"
],
"properties": {
"wait": {
"type": "integer",
"maximum": 20000,
"minimum": 0
},
"since": {
"type": "integer"
},
"sketch": {
"type": "string"
}
},
"additionalProperties": false
}{
"title": "Fetch editor updates",
"readOnlyHint": true,
"openWorldHint": false
}sketch_sync
Used by the HexSketch editor to report the user's drawing, so read_sketcher can see it. Not for the model.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sketch",
"cdxml"
],
"properties": {
"cdxml": {
"type": "string",
"maxLength": 1000000
},
"sketch": {
"type": "string"
}
},
"additionalProperties": false
}{
"title": "Report the drawing",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}Prompts
Not advertised
Resources
1 advertised
HexSketch editor
The HexSketch structure editor, for drawing and editing structures in the chat.
ui://hexsketch/sketcher.html90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 3 of 3 checks answered
- 2026-11-29: 4 of 4 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 778 ms
- 95th percentile latency
- 799 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 754 ms · 9 tool(s), 1 resource(s), 0 resource template(s)
- · probe · passed · 801 ms · metadata changed · 9 tool(s), 1 resource(s), 0 resource template(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http hexsketch-mcp https://mcp.hexsketch.com/mcpCodex
codex mcp add hexsketch-mcp --url https://mcp.hexsketch.com/mcpCursor
{
"mcpServers": {
"hexsketch-mcp": {
"url": "https://mcp.hexsketch.com/mcp"
}
}
}Cline
{
"mcpServers": {
"hexsketch-mcp": {
"type": "streamableHttp",
"url": "https://mcp.hexsketch.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"hexsketch-mcp": {
"type": "http",
"url": "https://mcp.hexsketch.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http hexsketch-mcp https://mcp.hexsketch.com/mcpClaude Desktop
https://mcp.hexsketch.com/mcpWindsurf
{
"mcpServers": {
"hexsketch-mcp": {
"serverUrl": "https://mcp.hexsketch.com/mcp"
}
}
}Let your agent find its tools
Find servers like HexSketch MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.