Search / app.lonepair/lonepair
Lone Pair
R0· no sign-inDraws chemical structures and reactions as journal-style figures; converts and analyses molecules.
v1.0.0 · active · website · descriptor JSON · versions
Search / app.lonepair/lonepair
R0· no sign-inDraws chemical structures and reactions as journal-style figures; converts and analyses molecules.
v1.0.0 · active · website · descriptor JSON · versions
{
"mcpServers": {
"lonepair": {
"type": "http",
"url": "https://mcp.lonepair.app/mcp"
}
}
}claude mcp add --transport http lonepair https://mcp.lonepair.app/mcp[mcp_servers.lonepair]
url = "https://mcp.lonepair.app/mcp"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"lonepair": {
"type": "remote",
"url": "https://mcp.lonepair.app/mcp",
"enabled": true
}
}
}{
"mcpServers": {
"lonepair": {
"type": "http",
"url": "https://mcp.lonepair.app/mcp"
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=lonepair&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vbWNwLmxvbmVwYWlyLmFwcC9tY3AifQ%3D%3D"
}{
"servers": {
"lonepair": {
"type": "http",
"url": "https://mcp.lonepair.app/mcp"
}
},
"deeplink": "vscode:mcp/install?%7B%22name%22%3A%22lonepair%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.lonepair.app%2Fmcp%22%7D"
}{
"mcpServers": {
"lonepair": {
"httpUrl": "https://mcp.lonepair.app/mcp"
}
}
}extensions:
"lonepair":
enabled: true
name: "lonepair"
type: streamable_http
uri: "https://mcp.lonepair.app/mcp"
timeout: 300
protocol.modernprotocol.statelessprotocol.transportprotocol.list_ttlauth.prm, auth.as_metadata, auth.cimdauth.secret_in_urltools.descriptionstools.description_lengthtools.schemastools.annotationstools.directory_hintstools.token_costtools.api_dumptools.hidden_texttools.poisoningstability.changesstability.rug_pullstability.new_linksdeps.known_vulns, deps.mcp_sdk_version, deps.resolvableedit_drawingchangedinput schemano new versionrender_schemechangedinput schemano new versionrender_reactionchangedinput schemano new versioncheck_structureaddedno new versionCheck what a structure is before using it, above all a SMILES you wrote or recalled yourself. For each structure: formula, masses, canonical SMILES, InChI, InChIKey, how many stereocentres and E/Z double bonds are set and which are open (atom numbers from 1, in input order), and warnings (open stereo, charges that do not cancel, atoms over their valence with as_written). With `compare_to`: identical, enantiomers, diastereomers, same skeleton with stereo not set, same compound by InChIKey, constitutional isomers, or different. Calculated, not looked up, except a name at PubChem. An unreadable structure is refused with the reason. Not for a reaction's balance (use analyze) or a figure (use draw).
convertchangeddescription, input schemano new versionConvert 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`). Not for images (use draw with format svg or png).
Convert a structure between formats: cdxml, cdx, mol, molV3, sdf, rxn, rxnV3, smiles, inchi, inchikey, rinchi, cml, mrv, json (mol = V2000 molfile, molV3 = V3000, json = Lone Pair drawing, rinchi = the RInChI of a reaction). A SMILES may carry a CXSMILES stereo block (|&1:1,3|), which is read and written back. 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`). Not for images (use draw with format svg or png).
render_sar_tableaddedno new versionDraw a structure–activity series: a core with R groups and each compound made by putting its substituents on, all in the same pose and numbered. `compounds` in the result gives each one’s SMILES, formula, molecular weight and InChIKey, for a table beside your data. Stereo on the core and the substituents is kept. A compound whose atoms do not add up, or that breaks a valence, is refused by name. Not for unrelated structures side by side (use draw or render_scheme) or for stereoisomers (use draw with stereoisomers).
drawchangedinput schemano new versionedit_drawingchangeddescription, input schemameaning changedno new versionChange 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. Not for drawing something new (use draw). 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).
Change a figure Lone Pair made earlier and get the new figure. `ops` changes atoms and bonds: add, change element or charge, delete, bond, move, recolour. Atoms are named by their id in `drawing` (or {map: n} for an atom-map number from SMILES such as [CH3:1]). The operations are applied all or nothing: if one fails or leaves an atom over its valence, nothing changes and the error names the operation. The result's `changes` lists what was added, changed and removed, with the formula before and after. Also: add a structure beside 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. Not for drawing something new (use draw). 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).
render_mechanismaddedno new versionDraw one step of a reaction mechanism with curved (arrow-pushing) arrows. Give the structures as SMILES with atom-map numbers on the atoms the arrows touch, e.g. ["[CH3:1][Br:2]", "[OH-:3]"], and each arrow's `from` and `to` by those numbers: {"atom": n}, {"bond": [n, m]}, {"lone_pair": n}, {"charge": n}, or {"between": [n, m]} for a bond that forms. An arrow from a lone pair starts at the drawn pair (the atom's lone pairs are shown if the drawing had none); a curly arrow moves two electrons, a fishhook one. The curves bow away from the structures. `notes` warns about chemistry that looks wrong (an arrow from an atom with nothing to give, electrons sent to a carbon with a full octet when no bond breaks), and a map number that is not in the structures is refused. Arrows are ordinary curved arrows the editor can move. Not for a whole multi-step scheme (use render_reaction for each step's reactants and products) or for guessing the mechanism: give the arrows. 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).
render_schemeaddedno new versionDraw a synthesis of several steps as one scheme, in journal style: numbered compounds (the numbers bold under each structure), an arrow per step with reagents above, conditions below and the yield under them, a compound shared by two steps drawn once, and rows that wrap. Give compounds as {"1": SMILES, "2": SMILES} and steps as [{"from": ["1"], "to": ["2"], "above": "PCC", "below": "CH2Cl2, rt", "yield": "85%"}]. retro: true draws it as a retrosynthesis from the target, with retrosynthetic arrows. `notes` checks the scheme without refusing it: a step that starts from a compound a later step makes, and each step's atom balance, naming the small by-product (H2O, HCl, CO2, MeOH…) that would balance it. Not for one step (use render_reaction) or for arrow-pushing (use render_mechanism). 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).
Showing the latest 10. Full history: list_changes · trend: quality JSON.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+dns-namespace +website +reachable +uptime-100% +updated-8d-ago -no-repository
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | p95 | protocol | last ok |
|---|---|---|---|---|---|---|---|
https://mcp.lonepair.app/mcp streamable-http | none | yes | 100% | 448 ms | 639 ms | 2025-11-25 | 2026-11-29 |
analyzeread-only | 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. Not for pKa (use estimate_pka), bond dissociation energies (use estimate_bde), NMR (use predict_nmr) or mass spectra (use mass_spectrum). |
check_structureread-only | Check what a structure is before using it, above all a SMILES you wrote or recalled yourself. For each structure: formula, masses, canonical SMILES, InChI, InChIKey, how many stereocentres and E/Z double bonds are set and which are open (atom numbers from 1, in input order), and warnings (open stereo, charges that do not cancel, atoms over their valence with as_written). With `compare_to`: identical, enantiomers, diastereomers, same skeleton with stereo not set, same compound by InChIKey, constitutional isomers, or different. Calculated, not looked up, except a name at PubChem. An unreadable structure is refused with the reason. Not for a reaction's balance (use analyze) or a figure (use draw). |
compose_figureread-only | Put Lone Pair structures over a picture, such as a background an image model made with empty space for each molecule, so that no structure is drawn by the image model. Give the picture's size in pixels and, for each molecule, its structure and a box (x, y, width, height in the picture's pixels). Each molecule is drawn by Lone Pair, fitted to its box at one bond length for the whole figure, centred, and laid over the picture as the top layer on a white plate (plate: false for none). SVG (default): the figure the size of the picture, showing the picture by background_href; it can be checked again with verify_figure. PNG: a transparent overlay the size of the picture, to lay over it. The result gives each molecule's place, its bond length and its atoms' positions in the picture's pixels (for arrows and labels), and the check verify_figure makes. 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`). Not for a figure without a picture (use draw with embed: true and the figure template). |
convertread-only | Convert a structure between formats: cdxml, cdx, mol, molV3, sdf, rxn, rxnV3, smiles, inchi, inchikey, rinchi, cml, mrv, json (mol = V2000 molfile, molV3 = V3000, json = Lone Pair drawing, rinchi = the RInChI of a reaction). A SMILES may carry a CXSMILES stereo block (|&1:1,3|), which is read and written back. 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`). Not for images (use draw with format svg or png). |
drawread-only | 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. Not for a scheme built from separate reactant and product lists (use render_reaction), for changing an earlier figure (use edit_drawing), for numbers only (use analyze), or for molecules placed over a picture (use compose_figure). |
edit_drawingread-only | Change a figure Lone Pair made earlier and get the new figure. `ops` changes atoms and bonds: add, change element or charge, delete, bond, move, recolour. Atoms are named by their id in `drawing` (or {map: n} for an atom-map number from SMILES such as [CH3:1]). The operations are applied all or nothing: if one fails or leaves an atom over its valence, nothing changes and the error names the operation. The result's `changes` lists what was added, changed and removed, with the formula before and after. Also: add a structure beside 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. Not for drawing something new (use draw). 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). |
estimate_bderead-only | Estimate homolytic bond dissociation energies (gas phase, 298 K) in kcal/mol and kJ/mol, weakest bond first, with the basis of each value. By default every X–H bond and every acyclic single bond between heavy atoms. These are the same estimates as the Lone Pair editor's BDE tool: Blanksby & Ellison reference values with additive radical-stabilization terms, and the Sanderson/Reusch R–X compilation; expect about ±2–3 kcal/mol. Where no specific value exists, an average bond enthalpy is given and marked. Call this instead of searching the web for an estimate, and say the numbers are estimates. Atoms are numbered from 1 in the order the input writes them (SMILES order). Not for pKa (use estimate_pka) or reaction energies. |
estimate_pkaread-only | Estimate the pKa of each acidic site (the X–H, in water and in DMSO where tabulated) and the pKaH of each basic site of a structure, most acidic first, with the basis of each value. These are the same rule-based estimates as the Lone Pair editor's pKa tool: tabulated values (Evans–Ripin, Bordwell/Reich, Williams) with Hammett and inductive corrections, usually within ±1 unit for simple sites. Call this instead of searching the web for an estimate, and say the numbers are estimates. Atoms are numbered from 1 in the order the input writes them (SMILES order); `atoms` limits the answer to those atoms and also shows weak C–H acids, which are left out by default. Symmetric sites are listed once with a count. Not for drawing (use draw), formula and mass (use analyze) or bond energies (use estimate_bde). |
mass_spectrumread-only | For each structure: monoisotopic mass, m/z of the common adducts ([M+H]+, [M+Na]+, [M−H]− and more), the isotope pattern, and a rule-based estimate of MS/MS fragments of [M+H]+ (mode neg: [M−H]−) with each fragment's formula and how it forms. Masses and the isotope pattern are calculated exactly; the fragments are an estimate, not validated against measured spectra, so present them as fragments to look for. Not for NMR (use predict_nmr) or a formula and molecular weight alone (use analyze). |
predict_nmrread-only | Estimate the 1H and 13C NMR spectrum of a structure in CDCl3: each peak's shift in ppm, the number of protons, multiplicity and J in Hz, and the atoms it comes from (numbered from 1 in input order). These are the same additive-increment estimates as the Lone Pair editor's NMR tool (Shoolery/Pretsch, Pascual–Meier–Simon, Grant–Paul), not a spectral database: expect roughly ±0.3 ppm for 1H and ±5 ppm for 13C. A peak from an environment with little reference data is marked confidence: low. Call this instead of searching the web for an estimate, and say the numbers are estimates. Not for measured spectra (cite the literature), pKa (use estimate_pka) or masses (use mass_spectrum or analyze). |
render_mechanismread-only | Draw one step of a reaction mechanism with curved (arrow-pushing) arrows. Give the structures as SMILES with atom-map numbers on the atoms the arrows touch, e.g. ["[CH3:1][Br:2]", "[OH-:3]"], and each arrow's `from` and `to` by those numbers: {"atom": n}, {"bond": [n, m]}, {"lone_pair": n}, {"charge": n}, or {"between": [n, m]} for a bond that forms. An arrow from a lone pair starts at the drawn pair (the atom's lone pairs are shown if the drawing had none); a curly arrow moves two electrons, a fishhook one. The curves bow away from the structures. `notes` warns about chemistry that looks wrong (an arrow from an atom with nothing to give, electrons sent to a carbon with a full octet when no bond breaks), and a map number that is not in the structures is refused. Arrows are ordinary curved arrows the editor can move. Not for a whole multi-step scheme (use render_reaction for each step's reactants and products) or for guessing the mechanism: give the arrows. 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). |
render_reactionread-only | 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, not a name: use draw with name=true to get a SMILES first. 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). Not for a reaction already written as reaction SMILES (use draw). |
render_sar_tableread-only | Draw a structure–activity series: a core with R groups and each compound made by putting its substituents on, all in the same pose and numbered. `compounds` in the result gives each one’s SMILES, formula, molecular weight and InChIKey, for a table beside your data. Stereo on the core and the substituents is kept. A compound whose atoms do not add up, or that breaks a valence, is refused by name. Not for unrelated structures side by side (use draw or render_scheme) or for stereoisomers (use draw with stereoisomers). |
render_schemeread-only | Draw a synthesis of several steps as one scheme, in journal style: numbered compounds (the numbers bold under each structure), an arrow per step with reagents above, conditions below and the yield under them, a compound shared by two steps drawn once, and rows that wrap. Give compounds as {"1": SMILES, "2": SMILES} and steps as [{"from": ["1"], "to": ["2"], "above": "PCC", "below": "CH2Cl2, rt", "yield": "85%"}]. retro: true draws it as a retrosynthesis from the target, with retrosynthetic arrows. `notes` checks the scheme without refusing it: a step that starts from a compound a later step makes, and each step's atom balance, naming the small by-product (H2O, HCl, CO2, MeOH…) that would balance it. Not for one step (use render_reaction) or for arrow-pushing (use render_mechanism). 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). |
verify_figureread-only | Check a finished figure (SVG, or HTML with inline SVG) that holds structures Lone Pair drew with embed: true. Each Lone Pair molecule is found by the drawing data inside it and rebuilt from it, then checked: its label (data-inchikey) names that structure; its lines and atom labels are the ones Lone Pair draws for it, drawn the same way (nothing redrawn, relabelled, recoloured, hidden or moved, whether by an attribute, an inline style or a rule in the figure's style sheets); nothing around it hides, clips, stretches, skews or mirrors it (SVG groups, HTML wrappers and their CSS included); and, with `expect`, every structure the figure should show is there, matched by InChIKey (a match on the skeleton only is reported as different stereo or charge). Also gives each molecule's bond length on the page, so all can be scaled to one. Structures drawn any other way, including inside raster images, cannot be checked and are reported as such; nor can anything else drawn on top of a molecule, style sheets in other files, or what a script does. Call it on every figure before showing it, and fix what it reports: draw the molecule again and place the new SVG unchanged. Not for drawing (use draw with embed: true) or for checking a single structure's formula (use analyze). |
Schemas: list_tools.
figure2 arguments | Make a figure with chemical structures. Steps for a figure, diagram or graphical abstract that shows molecules: Lone Pair draws every structure, you place them whole in the figure template, and verify_figure checks the result. No image model draws a structure. |
lonepair://figure-kit/template.htmltext/html | Figure template. An HTML page with a figure SVG to fill in: slots for Lone Pair molecules, arrows, labels and a caption, and the formulas to place molecules at one bond length and point at atoms. |
ui://lonepair/figure.htmltext/html;profile=mcp-app | Lone Pair figure card. Interactive card for a drawing: change the style, add a structure or a caption, download, send back to the chat. |
Definitions only, never their content. Full lists: prompts, resources.
{
"name": "app.lonepair/lonepair",
"icons": [
{
"src": "https://lonepair.app/icon-192.png",
"sizes": [
"192x192"
],
"mimeType": "image/png"
}
],
"title": "Lone Pair",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://mcp.lonepair.app/mcp",
"type": "streamable-http"
}
],
"version": "1.0.0",
"websiteUrl": "https://lonepair.app/agents",
"description": "Draws chemical structures and reactions as journal-style figures; converts and analyses molecules."
}