Draw, name and check chemical structures with a chemist, in an editor inside the chat.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
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.
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.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http hexsketch https://mcp.hexsketch.com/mcp
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.
| Argument | Type | Description |
|---|---|---|
| structure* | string | 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. |
{
"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
}Are two structures the same compound, and the same stereoisomer? The inputs may be in different formats (a SMILES against a drawing, for instance).
| Argument | Type | Description |
|---|---|---|
| a* | string | 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* | string | 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. |
{
"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
}Convert a structure to SMILES (with stereochemistry), a molfile (V2000), CDXML (ChemDraw) or a HexSketch link.
| Argument | Type | Description |
|---|---|---|
| to* | string | Target format. |
| structure* | string | 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. |
{
"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
}The IUPAC name of a structure, generated offline. Returns name null with a reason when the structure is outside what HexSketch names.
| Argument | Type | Description |
|---|---|---|
| structure* | string | 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. |
{
"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
}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).
| Argument | Type | Description |
|---|---|---|
| cycle | boolean | |
| steps | array | 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 | string | Drawing style: hexsketch (default) or acs (ACS 1996 journal style). |
| arrows | array | 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 | string | Output format; default png. PDF needs save_to. |
| reaction | object | 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. |
| structure | string | 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 | array | 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. |
{
"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
}Used by the HexSketch editor to report the user's drawing, so read_sketcher can see it. Not for the model.
| Argument | Type | Description |
|---|---|---|
| cdxml* | string | |
| sketch* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sketch",
"cdxml"
],
"properties": {
"cdxml": {
"type": "string",
"maxLength": 1000000
},
"sketch": {
"type": "string"
}
},
"additionalProperties": false
}Used by the HexSketch editor to fetch what show_in_sketcher asked it to show. Not for the model.
| Argument | Type | Description |
|---|---|---|
| wait | integer | |
| since* | integer | |
| sketch* | string |
{
"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
}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.
| Argument | Type | Description |
|---|---|---|
| style | string | Drawing style: hexsketch (default) or acs (ACS 1996 journal style). |
| structure* | string | 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. |
{
"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
}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.
| Argument | Type | Description |
|---|---|---|
| structure* | string | 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. |
{
"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
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 22, 2026.