Draws chemical structures and reactions as journal-style figures; converts and analyses molecules.
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.
For each structure in the input: molecular formula, molecular weight, exact (monoisotopic) mass, elemental analysis, SMILES, InChI and InChIKey. For a reaction: each structure's role and whether atoms and charge balance (each drawn structure counted once). Calculated from the structure, not looked up. NMR, pKa and mass-spectrum estimates are not part of this tool.
Set to true when `input` is a compound name (e.g. "aspirin") rather than a structure. The name is sent to PubChem to find the structure; this is the only network call the server makes. Default false.
The structure as text: SMILES, reaction SMILES (reactants>agents>products), InChI, a molfile, RXN, SD file, CDXML, CML or Marvin text, or a Lone Pair drawing (the JSON from an earlier result, or the SVG text of an earlier figure).
Draw atoms that have too many bonds instead of refusing the structure. Default false.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http lonepair https://mcp.lonepair.app/mcp
For each structure in the input: molecular formula, molecular weight, exact (monoisotopic) mass, elemental analysis, SMILES, InChI and InChIKey. For a reaction: each structure's role and whether atoms and charge balance (each drawn structure counted once). Calculated from the structure, not looked up. NMR, pKa and mass-spectrum estimates are not part of this tool.
| Argument | Type | Description |
|---|---|---|
| name | boolean | Set to true when `input` is a compound name (e.g. "aspirin") rather than a structure. The name is sent to PubChem to find the structure; this is the only network call the server makes. Default false. |
| input | string | The structure as text: SMILES, reaction SMILES (reactants>agents>products), InChI, a molfile, RXN, SD file, CDXML, CML or Marvin text, or a Lone Pair drawing (the JSON from an earlier result, or the SVG text of an earlier figure). |
| as_written | boolean | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
{
"type": "object",
"properties": {
"name": {
"type": "boolean",
"description": "Set to true when `input` is a compound name (e.g. \"aspirin\") rather than a structure. The name is sent to PubChem to find the structure; this is the only network call the server makes. Default false."
},
"input": {
"type": "string",
"description": "The structure as text: SMILES, reaction SMILES (reactants>agents>products), InChI, a molfile, RXN, SD file, CDXML, CML or Marvin text, or a Lone Pair drawing (the JSON from an earlier result, or the SVG text of an earlier figure)."
},
"as_written": {
"type": "boolean",
"description": "Draw atoms that have too many bonds instead of refusing the structure. Default false."
}
}
}Convert a structure between formats: cdxml, cdx, mol, molV3, sdf, rxn, rxnV3, smiles, inchi, inchikey, cml, mrv, json (mol = V2000 molfile, molV3 = V3000, json = Lone Pair drawing). Reads ChemDraw CDXML and CDX. `notes` says what the target format cannot keep (for example dative bonds in a V2000 molfile). Refused, with the reason, instead of drawn wrongly: SMILES that cannot be read, aromatic rings that cannot alternate single and double bonds, and atoms with too many bonds (unless `as_written`).
| Argument | Type | Description |
|---|---|---|
| to* | string | The format to write. |
| name | boolean | Set to true when `input` is a compound name (e.g. "aspirin") rather than a structure. The name is sent to PubChem to find the structure; this is the only network call the server makes. Default false. |
| input | string | The structure as text: SMILES, reaction SMILES (reactants>agents>products), InChI, a molfile, RXN, SD file, CDXML, CML or Marvin text, or a Lone Pair drawing (the JSON from an earlier result, or the SVG text of an earlier figure). |
| as_written | boolean | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
{
"type": "object",
"required": [
"to"
],
"properties": {
"to": {
"enum": [
"cdxml",
"cdx",
"mol",
"molV3",
"sdf",
"rxn",
"rxnV3",
"smiles",
"inchi",
"inchikey",
"cml",
"mrv",
"json"
],
"type": "string",
"description": "The format to write."
},
"name": {
"type": "boolean",
"description": "Set to true when `input` is a compound name (e.g. \"aspirin\") rather than a structure. The name is sent to PubChem to find the structure; this is the only network call the server makes. Default false."
},
"input": {
"type": "string",
"description": "The structure as text: SMILES, reaction SMILES (reactants>agents>products), InChI, a molfile, RXN, SD file, CDXML, CML or Marvin text, or a Lone Pair drawing (the JSON from an earlier result, or the SVG text of an earlier figure)."
},
"as_written": {
"type": "boolean",
"description": "Draw atoms that have too many bonds instead of refusing the structure. Default false."
}
}
}Draw a chemical structure or reaction as a publication-style figure (ChemDraw-like skeletal formula) with the Lone Pair editor's renderer. Give SMILES, reaction SMILES, InChI, a molfile, a ChemDraw file, or a compound name with name=true. Refused, with the reason, instead of drawn wrongly: SMILES that cannot be read, aromatic rings that cannot alternate single and double bonds, and atoms with too many bonds (unless `as_written`). The result carries `drawing` (Lone Pair JSON to pass to edit_drawing or back in as `input`) and `notes` (anything changed on reading or lost in the format). The SVG and PNG hold the drawing inside them, so they reopen for editing at lonepair.app.
| Argument | Type | Description |
|---|---|---|
| dpi | number | PNG resolution, 300 by default; 600 for print. |
| name | boolean | Set to true when `input` is a compound name (e.g. "aspirin") rather than a structure. The name is sent to PubChem to find the structure; this is the only network call the server makes. Default false. |
| input | string | The structure as text: SMILES, reaction SMILES (reactants>agents>products), InChI, a molfile, RXN, SD file, CDXML, CML or Marvin text, or a Lone Pair drawing (the JSON from an earlier result, or the SVG text of an earlier figure). |
| style | string | Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides. |
| format | string | png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`). |
Change a figure Lone Pair made earlier and get the new figure: add a structure to the right of it, change the journal style, or put a caption under it. Give the earlier result's `drawing`. Everything else in the drawing stays as it was. Moving or deleting atoms is not supported; draw the structure again instead. The result carries `drawing` (Lone Pair JSON to pass to edit_drawing or back in as `input`) and `notes` (anything changed on reading or lost in the format).
| Argument | Type | Description |
|---|---|---|
| add | string | A structure to add to the right of the drawing (SMILES, InChI, molfile). |
| dpi | number | PNG resolution, 300 by default; 600 for print. |
| style | string | Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides. |
| format | string | png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`). |
| opaque | boolean | White background instead of transparent (SVG, PNG). Default false. |
| caption | string | Text to put under the drawing. |
| drawing | object | The `drawing` object from an earlier result. |
Draw a reaction scheme from its parts: reactants joined by plus signs, an arrow with optional text above and below, then products. Each structure is SMILES, InChI or a molfile. For a reaction already written as reaction SMILES, use draw. Refused, with the reason, instead of drawn wrongly: SMILES that cannot be read, aromatic rings that cannot alternate single and double bonds, and atoms with too many bonds (unless `as_written`). The result carries `drawing` (Lone Pair JSON to pass to edit_drawing or back in as `input`) and `notes` (anything changed on reading or lost in the format).
| Argument | Type | Description |
|---|---|---|
| dpi | number | PNG resolution, 300 by default; 600 for print. |
| above | string | Text above the arrow: reagents or catalyst. Digits after letters become subscripts (H2SO4). |
| below | string | Text below the arrow: solvent, temperature, time. |
| style | string | Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides. |
| format | string | png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`). |
| opaque | boolean | White background instead of transparent (SVG, PNG). Default 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 21, 2026.
| opaque | boolean | White background instead of transparent (SVG, PNG). Default false. |
| as_written | boolean | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
{
"type": "object",
"properties": {
"dpi": {
"type": "number",
"description": "PNG resolution, 300 by default; 600 for print."
},
"name": {
"type": "boolean",
"description": "Set to true when `input` is a compound name (e.g. \"aspirin\") rather than a structure. The name is sent to PubChem to find the structure; this is the only network call the server makes. Default false."
},
"input": {
"type": "string",
"description": "The structure as text: SMILES, reaction SMILES (reactants>agents>products), InChI, a molfile, RXN, SD file, CDXML, CML or Marvin text, or a Lone Pair drawing (the JSON from an earlier result, or the SVG text of an earlier figure)."
},
"style": {
"enum": [
"acs",
"rsc",
"nature",
"slides"
],
"type": "string",
"description": "Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides."
},
"format": {
"enum": [
"png",
"svg",
"pdf",
"eps"
],
"type": "string",
"description": "png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`)."
},
"opaque": {
"type": "boolean",
"description": "White background instead of transparent (SVG, PNG). Default false."
},
"as_written": {
"type": "boolean",
"description": "Draw atoms that have too many bonds instead of refusing the structure. Default false."
}
}
}| add_is_name | boolean | True when `add` is a compound name to look up at PubChem. Default false. |
{
"type": "object",
"properties": {
"add": {
"type": "string",
"description": "A structure to add to the right of the drawing (SMILES, InChI, molfile)."
},
"dpi": {
"type": "number",
"description": "PNG resolution, 300 by default; 600 for print."
},
"style": {
"enum": [
"acs",
"rsc",
"nature",
"slides"
],
"type": "string",
"description": "Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides."
},
"format": {
"enum": [
"png",
"svg",
"pdf",
"eps"
],
"type": "string",
"description": "png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`)."
},
"opaque": {
"type": "boolean",
"description": "White background instead of transparent (SVG, PNG). Default false."
},
"caption": {
"type": "string",
"description": "Text to put under the drawing."
},
"drawing": {
"type": "object",
"description": "The `drawing` object from an earlier result."
},
"add_is_name": {
"type": "boolean",
"description": "True when `add` is a compound name to look up at PubChem. Default false."
}
}
}| products* |
| array |
| Structures right of the arrow. |
| reactants* | array | Structures left of the arrow. |
| as_written | boolean | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
{
"type": "object",
"required": [
"reactants",
"products"
],
"properties": {
"dpi": {
"type": "number",
"description": "PNG resolution, 300 by default; 600 for print."
},
"above": {
"type": "string",
"description": "Text above the arrow: reagents or catalyst. Digits after letters become subscripts (H2SO4)."
},
"below": {
"type": "string",
"description": "Text below the arrow: solvent, temperature, time."
},
"style": {
"enum": [
"acs",
"rsc",
"nature",
"slides"
],
"type": "string",
"description": "Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides."
},
"format": {
"enum": [
"png",
"svg",
"pdf",
"eps"
],
"type": "string",
"description": "png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`)."
},
"opaque": {
"type": "boolean",
"description": "White background instead of transparent (SVG, PNG). Default false."
},
"products": {
"type": "array",
"items": {
"type": "string"
},
"description": "Structures right of the arrow."
},
"reactants": {
"type": "array",
"items": {
"type": "string"
},
"description": "Structures left of the arrow."
},
"as_written": {
"type": "boolean",
"description": "Draw atoms that have too many bonds instead of refusing the structure. Default false."
}
}
}