L'Atlas / Serveurs MCP / Lone Pair
Serveur MCP

Lone Pair

app.lonepair/lonepair

Serveur MCP OK 15 outils

Faire examiner Voir les tarifs

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

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/app.lonepair/lonepair.svg)](https://latlas.dev/mcp/app.lonepair/lonepair)
HTML
<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

DateRésultatRéponseOutils
28 nov. 2026, 08:01OK379 ms15

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ètreTypeRequisDescription
inputstringnonThe 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).
namebooleannonSet 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_writtenbooleannonDraw atoms that have too many bonds instead of refusing the structure. Default false.
projectionenum: "skeletal" | "chair" | "haworth" | "fischer"nonskeletal (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…
chairenum: "stable" | "flipped"nonWith projection chair: stable (default) draws the chair with the larger groups equatorial; flipped draws the other chair (the ring flip).
stereoisomersenum: "all"nonall: 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.
formatenum: "png" | "svg" | "pdf" | "eps"nonpng (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`).
styleenum: "acs" | "rsc" | "nature" | "slides"nonJournal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides.
dpinumbernonPNG resolution, 300 by default; 600 for print.
opaquebooleannonWhite background instead of transparent (SVG, PNG). Default false.
embedbooleannonFor 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…
colorstringnonblack (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.
highlightarray<object>nonHighlight 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_textbooleannonSVG: 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_idstringnonWith 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ètreTypeRequisDescription
reactantsarray<string>ouiStructures left of the arrow.
productsarray<string>ouiStructures right of the arrow.
abovestringnonText above the arrow: reagents or catalyst. Digits after letters become subscripts (H2SO4).
belowstringnonText below the arrow: solvent, temperature, time.
arrowenum: "reaction" | "equilibrium" | "unbalanced_forward" | "unbalanced_back" | "dashed" | "nogo"nonArrow type (default reaction). unbalanced_forward: an equilibrium lying to the right (back shaft short).
arrow_sizeenum: "small" | "medium" | "large"nonArrowhead size (default small, the journal size).
boldbooleannonBold arrow line.
as_writtenbooleannonDraw atoms that have too many bonds instead of refusing the structure. Default false.
formatenum: "png" | "svg" | "pdf" | "eps"nonpng (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`).
styleenum: "acs" | "rsc" | "nature" | "slides"nonJournal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides.
dpinumbernonPNG resolution, 300 by default; 600 for print.
opaquebooleannonWhite background instead of transparent (SVG, PNG). Default false.
embedbooleannonFor 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…
colorstringnonblack (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.
highlightarray<object>nonHighlight 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_textbooleannonSVG: 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_idstringnonWith 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ètreTypeRequisDescription
compoundsobjectouiCompound number → SMILES, e.g. {"1": "CCO", "2": "CC=O"}. Numbers are short: 1, 2a, 3′.
stepsarray<object>ouiThe steps in order.
retrobooleannonDraw it as a retrosynthesis from the target. Default false.
wrapintegernonSteps per row before it wraps. Default 4.
arrow_sizeenum: "small" | "medium" | "large"nonArrowhead size (default small, the journal size).
boldbooleannonBold arrow line.
formatenum: "png" | "svg" | "pdf" | "eps"nonpng (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`).
styleenum: "acs" | "rsc" | "nature" | "slides"nonJournal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides.
dpinumbernonPNG resolution, 300 by default; 600 for print.
opaquebooleannonWhite background instead of transparent (SVG, PNG). Default false.
embedbooleannonFor 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…
colorstringnonblack (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.
highlightarray<object>nonHighlight 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_textbooleannonSVG: 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_idstringnonWith 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ètreTypeRequisDescription
corestringouiThe core as SMILES, each R group as [*:n] on one single bond, e.g. "c1ccc(cc1)[*:1]".
compoundsarray<object>ouiOne 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".
formatenum: "png" | "svg" | "pdf" | "eps"nonpng (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`).
styleenum: "acs" | "rsc" | "nature" | "slides"nonJournal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides.
dpinumbernonPNG resolution, 300 by default; 600 for print.
opaquebooleannonWhite 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ètreTypeRequisDescription
structuresarray<string>ouiSMILES of each species, left to right, with atom-map numbers ([CH3:1]) on the atoms the arrows name.
arrowsarray<object>ouiThe curved arrows, in order.
show_lone_pairsenum: "arrow_sources" | "all" | "none"nonWhich lone pairs to draw: on the atoms arrows start from (default), on every heteroatom, or none.
formatenum: "png" | "svg" | "pdf" | "eps"nonpng (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`).
styleenum: "acs" | "rsc" | "nature" | "slides"nonJournal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides.
dpinumbernonPNG resolution, 300 by default; 600 for print.
opaquebooleannonWhite background instead of transparent (SVG, PNG). Default false.
embedbooleannonFor 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…
colorstringnonblack (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.
highlightarray<object>nonHighlight 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_textbooleannonSVG: 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_idstringnonWith 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ètreTypeRequisDescription
inputstringnonThe 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).
namebooleannonSet 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_writtenbooleannonDraw atoms that have too many bonds instead of refusing the structure. Default false.
toenum: "cdxml" | "cdx" | "mol" | "molV3" | "sdf" | "rxn" | "rxnV3" | "smiles" …ouiThe 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ètreTypeRequisDescription
inputstringnonThe 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).
namebooleannonSet 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_writtenbooleannonDraw 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ètreTypeRequisDescription
inputstringnonThe 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).
namebooleannonSet 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_writtenbooleannonDraw atoms that have too many bonds instead of refusing the structure. Default false.
compare_tostringnonA 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_namebooleannonTrue 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ètreTypeRequisDescription
drawingobjectnonThe `drawing` object from an earlier result.
addstringnonA structure to add to the right of the drawing (SMILES, InChI, molfile).
add_is_namebooleannonTrue when `add` is a compound name to look up at PubChem. Default false.
captionstringnonText to put under the drawing.
opsarray<object>nonOperations, 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…
formatenum: "png" | "svg" | "pdf" | "eps"nonpng (default; returned as an image), svg (returned as text), pdf or eps (returned as base64 in `data_base64`).
styleenum: "acs" | "rsc" | "nature" | "slides"nonJournal style. acs = ACS Document 1996 (default), rsc = RSC, nature = Nature Reviews, slides = heavier lines for slides.
dpinumbernonPNG resolution, 300 by default; 600 for print.
opaquebooleannonWhite background instead of transparent (SVG, PNG). Default false.
embedbooleannonFor 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…
colorstringnonblack (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.
highlightarray<object>nonHighlight 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_textbooleannonSVG: 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_idstringnonWith 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ètreTypeRequisDescription
inputstringnonThe 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).
namebooleannonSet 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_writtenbooleannonDraw atoms that have too many bonds instead of refusing the structure. Default false.
atomsarray<integer>nonOnly 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ètreTypeRequisDescription
inputstringnonThe 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).
namebooleannonSet 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_writtenbooleannonDraw atoms that have too many bonds instead of refusing the structure. Default false.
atomsarray<integer>nonThe X–H bonds at these atoms (numbered from 1 in input order).
bondsarray<array<integer>>nonBonds 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ètreTypeRequisDescription
inputstringnonThe 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).
namebooleannonSet 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_writtenbooleannonDraw 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ètreTypeRequisDescription
inputstringnonThe 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).
namebooleannonSet 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_writtenbooleannonDraw atoms that have too many bonds instead of refusing the structure. Default false.
modeenum: "pos" | "neg"nonMS/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ètreTypeRequisDescription
figurestringnonThe whole figure as text: an SVG, or HTML with the SVG inside.
expectarray<string>nonThe 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ètreTypeRequisDescription
widthintegernonThe picture's width in pixels.
heightintegernonThe picture's height in pixels.
moleculesarray<object>ouiThe molecules to place, each over the empty space left for it.
colorstringnonblack (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_textbooleannonSVG: 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_lengthnumbernonBond length in pixels for every molecule. Default: the largest that fits every box.
platebooleannonA white rounded plate behind each molecule so it reads over the picture. Default true.
background_hrefstringnonThe picture's file name or URL, written into the SVG so that it shows the picture (it is not fetched).
formatenum: "svg" | "png"nonsvg (default) or png.
styleenum: "acs" | "rsc" | "nature" | "slides"nonJournal 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.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://mcp.lonepair.app/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http lonepair https://mcp.lonepair.app/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : lonepair ; URL : https://mcp.lonepair.app/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : lonepair ; Server URL : https://mcp.lonepair.app/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "lonepair": {
      "url": "https://mcp.lonepair.app/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "lonepair": {
      "type": "http",
      "url": "https://mcp.lonepair.app/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "lonepair": {
      "url": "https://mcp.lonepair.app/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "lonepair": {
      "httpUrl": "https://mcp.lonepair.app/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[Lone Pair — L’Atlas](https://latlas.dev/mcp/app.lonepair/lonepair)
Méthode et limites des tests

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.