Lone Pair
app.lonepair/lonepair
Serveur MCP OK 15 outils
Draws chemical structures and reactions as journal-style figures; converts and analyses molecules.
Fiche technique
- Auteur
- lonepair.app (espace de noms du registre)
- Dépôt
- —
- Site
- lonepair.app/agents
- Version
- 1.0.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://mcp.lonepair.app/mcp Streamable HTTP
- Outils
- 15
- Catégories
- —
- Dernière mise à jour
- 22 nov. 2026
- Publication
- 22 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/app.lonepair/lonepair)<a href="https://latlas.dev/mcp/app.lonepair/lonepair"><img src="https://latlas.dev/badge/fiche/app.lonepair/lonepair.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://mcp.lonepair.app/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:01
- Temps de réponse
- 379 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- lonepair 1.0.0
- Outils
- 15
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:01 | OK | 379 ms | 15 |
Outils exposés (15, réponse à tools/list, 28 nov. 2026)
draw
Draw a structure
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| input | string | non | 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). |
| name | boolean | non | 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. Short text that is valid SMILES (such as "CO") is read as SMILES, with a note, and not sent. Default false. |
| as_written | boolean | non | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
| projection | enum: "skeletal" | "chair" | "haworth" | "fischer" | non | skeletal (default): flat rings, stereo as wedges. chair: a six-membered ring as a chair, groups axial or equatorial. haworth: a five- or six-membered ring (furanose, pyranose) flat, groups up or down. fischer: an open chain down the page, each stereocentre a cross. Each is drawn from the stereo and… |
| chair | enum: "stable" | "flipped" | non | With projection chair: stable (default) draws the chair with the larger groups equatorial; flipped draws the other chair (the ring flip). |
| stereoisomers | enum: "all" | non | all: draw every stereoisomer of the structure side by side (each stereocentre and E/Z double bond both ways; a meso form once), each labelled R/S and E/Z by atom number. Up to 16; more is refused. Works with projection chair. |
| format | enum: "png" | "svg" | "pdf" | "eps" | non | png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`). |
| style | enum: "acs" | "rsc" | "nature" | "slides" | non | Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides. |
| dpi | number | non | PNG resolution, 300 by default; 600 for print. |
| opaque | boolean | non | White background instead of transparent (SVG, PNG). Default false. |
| embed | boolean | non | For a structure that goes into a larger figure (an SVG or HTML figure you build, or a picture an image model made): format svg or png only. The SVG gets its own id, data-smiles, data-formula and data-inchikey, and px sizes; the result's `embed` gives its box, the drawn bond length and each atom's p… |
| color | string | non | black (default); cpk to colour heteroatoms (N blue, O red, S yellow, halogens green); or one colour as #rrggbb for every line and label, such as #ffffff over a dark picture. |
| highlight | array<object> | non | Highlight parts of the structure with a coloured band under them, e.g. the atoms that react: [{ "atoms": [1, 2, 3], "color": "#ffe066" }]. Atoms are numbered from 1 in input order; bonds between listed atoms are highlighted too, and `bonds` adds others. SVG and PNG only. |
| outline_text | boolean | non | SVG: draw atom labels and text as outlines instead of text, so the figure looks the same in any program, with or without the fonts. Default false. |
| embed_id | string | non | With embed: the id for this structure in your figure (letters, digits, - and _). Give one when the same structure appears twice. Default: lp- and the start of its InChIKey. |
render_reaction
Draw a reaction scheme
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| reactants | array<string> | oui | Structures left of the arrow. |
| products | array<string> | oui | Structures right of the arrow. |
| above | string | non | Text above the arrow: reagents or catalyst. Digits after letters become subscripts (H2SO4). |
| below | string | non | Text below the arrow: solvent, temperature, time. |
| arrow | enum: "reaction" | "equilibrium" | "unbalanced_forward" | "unbalanced_back" | "dashed" | "nogo" | non | Arrow type (default reaction). unbalanced_forward: an equilibrium lying to the right (back shaft short). |
| arrow_size | enum: "small" | "medium" | "large" | non | Arrowhead size (default small, the journal size). |
| bold | boolean | non | Bold arrow line. |
| as_written | boolean | non | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
| format | enum: "png" | "svg" | "pdf" | "eps" | non | png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`). |
| style | enum: "acs" | "rsc" | "nature" | "slides" | non | Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides. |
| dpi | number | non | PNG resolution, 300 by default; 600 for print. |
| opaque | boolean | non | White background instead of transparent (SVG, PNG). Default false. |
| embed | boolean | non | For a structure that goes into a larger figure (an SVG or HTML figure you build, or a picture an image model made): format svg or png only. The SVG gets its own id, data-smiles, data-formula and data-inchikey, and px sizes; the result's `embed` gives its box, the drawn bond length and each atom's p… |
| color | string | non | black (default); cpk to colour heteroatoms (N blue, O red, S yellow, halogens green); or one colour as #rrggbb for every line and label, such as #ffffff over a dark picture. |
| highlight | array<object> | non | Highlight parts of the structure with a coloured band under them, e.g. the atoms that react: [{ "atoms": [1, 2, 3], "color": "#ffe066" }]. Atoms are numbered from 1 in input order; bonds between listed atoms are highlighted too, and `bonds` adds others. SVG and PNG only. |
| outline_text | boolean | non | SVG: draw atom labels and text as outlines instead of text, so the figure looks the same in any program, with or without the fonts. Default false. |
| embed_id | string | non | With embed: the id for this structure in your figure (letters, digits, - and _). Give one when the same structure appears twice. Default: lp- and the start of its InChIKey. |
render_scheme
Draw a multi-step scheme
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| compounds | object | oui | Compound number → SMILES, e.g. {"1": "CCO", "2": "CC=O"}. Numbers are short: 1, 2a, 3′. |
| steps | array<object> | oui | The steps in order. |
| retro | boolean | non | Draw it as a retrosynthesis from the target. Default false. |
| wrap | integer | non | Steps per row before it wraps. Default 4. |
| arrow_size | enum: "small" | "medium" | "large" | non | Arrowhead size (default small, the journal size). |
| bold | boolean | non | Bold arrow line. |
| format | enum: "png" | "svg" | "pdf" | "eps" | non | png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`). |
| style | enum: "acs" | "rsc" | "nature" | "slides" | non | Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides. |
| dpi | number | non | PNG resolution, 300 by default; 600 for print. |
| opaque | boolean | non | White background instead of transparent (SVG, PNG). Default false. |
| embed | boolean | non | For a structure that goes into a larger figure (an SVG or HTML figure you build, or a picture an image model made): format svg or png only. The SVG gets its own id, data-smiles, data-formula and data-inchikey, and px sizes; the result's `embed` gives its box, the drawn bond length and each atom's p… |
| color | string | non | black (default); cpk to colour heteroatoms (N blue, O red, S yellow, halogens green); or one colour as #rrggbb for every line and label, such as #ffffff over a dark picture. |
| highlight | array<object> | non | Highlight parts of the structure with a coloured band under them, e.g. the atoms that react: [{ "atoms": [1, 2, 3], "color": "#ffe066" }]. Atoms are numbered from 1 in input order; bonds between listed atoms are highlighted too, and `bonds` adds others. SVG and PNG only. |
| outline_text | boolean | non | SVG: draw atom labels and text as outlines instead of text, so the figure looks the same in any program, with or without the fonts. Default false. |
| embed_id | string | non | With embed: the id for this structure in your figure (letters, digits, - and _). Give one when the same structure appears twice. Default: lp- and the start of its InChIKey. |
render_sar_table
Draw a series from a core and R groups
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| core | string | oui | The core as SMILES, each R group as [*:n] on one single bond, e.g. "c1ccc(cc1)[*:1]". |
| compounds | array<object> | oui | One per compound: its id and a substituent for every R, e.g. [{"id": "1a", "R1": "OC", "R2": "H"}]. A substituent is a SMILES that attaches by its first atom (or at * if it has one), or "H". |
| format | enum: "png" | "svg" | "pdf" | "eps" | non | png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`). |
| style | enum: "acs" | "rsc" | "nature" | "slides" | non | Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides. |
| dpi | number | non | PNG resolution, 300 by default; 600 for print. |
| opaque | boolean | non | White background instead of transparent (SVG, PNG). Default false. |
render_mechanism
Draw a reaction mechanism
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| structures | array<string> | oui | SMILES of each species, left to right, with atom-map numbers ([CH3:1]) on the atoms the arrows name. |
| arrows | array<object> | oui | The curved arrows, in order. |
| show_lone_pairs | enum: "arrow_sources" | "all" | "none" | non | Which lone pairs to draw: on the atoms arrows start from (default), on every heteroatom, or none. |
| format | enum: "png" | "svg" | "pdf" | "eps" | non | png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`). |
| style | enum: "acs" | "rsc" | "nature" | "slides" | non | Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides. |
| dpi | number | non | PNG resolution, 300 by default; 600 for print. |
| opaque | boolean | non | White background instead of transparent (SVG, PNG). Default false. |
| embed | boolean | non | For a structure that goes into a larger figure (an SVG or HTML figure you build, or a picture an image model made): format svg or png only. The SVG gets its own id, data-smiles, data-formula and data-inchikey, and px sizes; the result's `embed` gives its box, the drawn bond length and each atom's p… |
| color | string | non | black (default); cpk to colour heteroatoms (N blue, O red, S yellow, halogens green); or one colour as #rrggbb for every line and label, such as #ffffff over a dark picture. |
| highlight | array<object> | non | Highlight parts of the structure with a coloured band under them, e.g. the atoms that react: [{ "atoms": [1, 2, 3], "color": "#ffe066" }]. Atoms are numbered from 1 in input order; bonds between listed atoms are highlighted too, and `bonds` adds others. SVG and PNG only. |
| outline_text | boolean | non | SVG: draw atom labels and text as outlines instead of text, so the figure looks the same in any program, with or without the fonts. Default false. |
| embed_id | string | non | With embed: the id for this structure in your figure (letters, digits, - and _). Give one when the same structure appears twice. Default: lp- and the start of its InChIKey. |
convert
Convert a structure file
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| input | string | non | 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). |
| name | boolean | non | 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. Short text that is valid SMILES (such as "CO") is read as SMILES, with a note, and not sent. Default false. |
| as_written | boolean | non | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
| to | enum: "cdxml" | "cdx" | "mol" | "molV3" | "sdf" | "rxn" | "rxnV3" | "smiles" … | oui | The format to write. |
analyze
Formula, masses and identifiers
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| input | string | non | 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). |
| name | boolean | non | 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. Short text that is valid SMILES (such as "CO") is read as SMILES, with a note, and not sent. Default false. |
| as_written | boolean | non | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
check_structure
Check a structure before using it
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| input | string | non | 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). |
| name | boolean | non | 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. Short text that is valid SMILES (such as "CO") is read as SMILES, with a note, and not sent. Default false. |
| as_written | boolean | non | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
| compare_to | string | non | A second structure to compare with: SMILES, InChI, a molfile, or a name with compare_is_name. E.g. your SMILES as `input` and the name of the compound you mean here. |
| compare_is_name | boolean | non | True when `compare_to` is a compound name to look up at PubChem. Default false. |
edit_drawing
Change an earlier figure
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| drawing | object | non | The `drawing` object from an earlier result. |
| add | string | non | A structure to add to the right of the drawing (SMILES, InChI, molfile). |
| add_is_name | boolean | non | True when `add` is a compound name to look up at PubChem. Default false. |
| caption | string | non | Text to put under the drawing. |
| ops | array<object> | non | Operations, in order. add_atom {el, bond_to, order}; set_atom {atom, el, charge, lp, iso, map}; delete {atoms, bonds}; add_bond {a, b, order, stereo}; set_bond {bond or a+b, order, stereo, kind}; move {atoms, dx, dy}; add_group {smiles, at} (a substituent, its first atom joining: "[N+](=O)[O-]"); a… |
| format | enum: "png" | "svg" | "pdf" | "eps" | non | png (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`). |
| style | enum: "acs" | "rsc" | "nature" | "slides" | non | Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides. |
| dpi | number | non | PNG resolution, 300 by default; 600 for print. |
| opaque | boolean | non | White background instead of transparent (SVG, PNG). Default false. |
| embed | boolean | non | For a structure that goes into a larger figure (an SVG or HTML figure you build, or a picture an image model made): format svg or png only. The SVG gets its own id, data-smiles, data-formula and data-inchikey, and px sizes; the result's `embed` gives its box, the drawn bond length and each atom's p… |
| color | string | non | black (default); cpk to colour heteroatoms (N blue, O red, S yellow, halogens green); or one colour as #rrggbb for every line and label, such as #ffffff over a dark picture. |
| highlight | array<object> | non | Highlight parts of the structure with a coloured band under them, e.g. the atoms that react: [{ "atoms": [1, 2, 3], "color": "#ffe066" }]. Atoms are numbered from 1 in input order; bonds between listed atoms are highlighted too, and `bonds` adds others. SVG and PNG only. |
| outline_text | boolean | non | SVG: draw atom labels and text as outlines instead of text, so the figure looks the same in any program, with or without the fonts. Default false. |
| embed_id | string | non | With embed: the id for this structure in your figure (letters, digits, - and _). Give one when the same structure appears twice. Default: lp- and the start of its InChIKey. |
estimate_pka
Estimate pKa values
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| input | string | non | 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). |
| name | boolean | non | 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. Short text that is valid SMILES (such as "CO") is read as SMILES, with a note, and not sent. Default false. |
| as_written | boolean | non | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
| atoms | array<integer> | non | Only these atoms (numbered from 1 in input order). Default: every site. |
estimate_bde
Estimate bond dissociation energies
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| input | string | non | 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). |
| name | boolean | non | 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. Short text that is valid SMILES (such as "CO") is read as SMILES, with a note, and not sent. Default false. |
| as_written | boolean | non | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
| atoms | array<integer> | non | The X–H bonds at these atoms (numbered from 1 in input order). |
| bonds | array<array<integer>> | non | Bonds between heavy atoms, each a pair of atom numbers, e.g. [[1, 2]]. |
predict_nmr
Estimate 1H and 13C NMR
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| input | string | non | 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). |
| name | boolean | non | 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. Short text that is valid SMILES (such as "CO") is read as SMILES, with a note, and not sent. Default false. |
| as_written | boolean | non | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
mass_spectrum
Masses, isotope pattern and MS/MS estimate
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| input | string | non | 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). |
| name | boolean | non | 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. Short text that is valid SMILES (such as "CO") is read as SMILES, with a note, and not sent. Default false. |
| as_written | boolean | non | Draw atoms that have too many bonds instead of refusing the structure. Default false. |
| mode | enum: "pos" | "neg" | non | MS/MS of [M+H]+ (pos, default) or [M−H]− (neg). |
verify_figure
Check the molecules in a finished figure
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| figure | string | non | The whole figure as text: an SVG, or HTML with the SVG inside. |
| expect | array<string> | non | The structures the figure should show, each as SMILES or InChI. Default: none, and only the molecules themselves are checked. |
compose_figure
Put molecules over a picture
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| width | integer | non | The picture's width in pixels. |
| height | integer | non | The picture's height in pixels. |
| molecules | array<object> | oui | The molecules to place, each over the empty space left for it. |
| color | string | non | black (default); cpk to colour heteroatoms (N blue, O red, S yellow, halogens green); or one colour as #rrggbb for every line and label, such as #ffffff over a dark picture. |
| outline_text | boolean | non | SVG: draw atom labels and text as outlines instead of text, so the figure looks the same in any program, with or without the fonts. Default false. |
| bond_length | number | non | Bond length in pixels for every molecule. Default: the largest that fits every box. |
| plate | boolean | non | A white rounded plate behind each molecule so it reads over the picture. Default true. |
| background_href | string | non | The picture's file name or URL, written into the SVG so that it shows the picture (it is not fetched). |
| format | enum: "svg" | "png" | non | svg (default) or png. |
| style | enum: "acs" | "rsc" | "nature" | "slides" | non | Journal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://mcp.lonepair.app/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http lonepair https://mcp.lonepair.app/mcpCustomize > Connectors > + Add > Add custom connector ; Name : lonepair ; URL : https://mcp.lonepair.app/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : lonepair ; Server URL : https://mcp.lonepair.app/mcp ; Create as a plugin{
"mcpServers": {
"lonepair": {
"url": "https://mcp.lonepair.app/mcp"
}
}
}{
"mcpServers": {
"lonepair": {
"type": "http",
"url": "https://mcp.lonepair.app/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"lonepair": {
"url": "https://mcp.lonepair.app/mcp"
}
}
}{
"mcpServers": {
"lonepair": {
"httpUrl": "https://mcp.lonepair.app/mcp"
}
}
}[mcp_servers.lonepair]
url = "https://mcp.lonepair.app/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Lone Pair · L’Atlas · Test du
[Lone Pair — L’Atlas](https://latlas.dev/mcp/app.lonepair/lonepair)Source : Registre officiel MCP · relevé le 30 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.