CodexGuild
io.github.angus-e-mcmillan/hexsketch·Messaging

HexSketch

Draw, name and check chemical structures with a chemist, in an editor inside the chat.

Stars
—
Version
0.1.8
License
—
Review
Passed
Registry update
Nov 22, 2026

Connect

remote
Terminal
$claude mcp add --transport http hexsketch https://mcp.hexsketch.com/mcp

Headers

Nothing to configure — it works as is.

Security review

Review passed

Reviewed 2d ago.

tools
9 tools scanned
metadata
scanned

No findings.

Tools

9
  • render_structure

    Draw a chemical structure, or a reaction scheme (reaction), as a publication-quality image (PNG by default), with its name, SMILES, formula and a link that opens it in HexSketch at hexsketch.com, where the user can edit it by drawing. Give structures as SMILES, not names. Check the name and formula returned against what you meant, and always give the user the link; where you can show a web page beside the chat (a preview pane, a browser tool), open the link there too. Draw every reaction as a scheme: reagents above the arrow, solvent, temperature, time and yield below; a whole synthesis or retrosynthesis as one scheme (then); a mechanism as steps, all on one page (with cycle: true for a catalytic cycle, drawn round a circle).

  • name_structure

    The IUPAC name of a structure, generated offline. Returns name null with a reason when the structure is outside what HexSketch names.

  • analyze_structure

    Name, SMILES (with stereochemistry), molecular formula, exact (monoisotopic) mass, molecular weight, elemental analysis and isotope pattern (m/z). Mixtures and salts are also given per structure. For a drawing (a HexSketch link or CDXML), also its arrows and text: the reagents and conditions written on each arrow.

  • validate_structure

    Check a structure, typically a SMILES you wrote, before presenting it: catches unreadable SMILES, names given instead of SMILES, aromatic rings that cannot be kekulized, atoms over or under their valence, unusual charges and radicals. Returns ok, issues (error, warning or note), and the name and formula to compare with what you meant. Never fails on bad input; it reports it.

  • convert_structure

    Convert a structure to SMILES (with stereochemistry), a molfile (V2000), CDXML (ChemDraw) or a HexSketch link.

  • compare_structures

    Are two structures the same compound, and the same stereoisomer? The inputs may be in different formats (a SMILES against a drawing, for instance).

  • structure_link

    A link that opens the structure in HexSketch (in the browser, nothing to install), where the user can edit it by drawing and copy it back. Give it to the user whenever they may want to change a structure.

  • sketch_updates

    Used by the HexSketch editor to fetch what show_in_sketcher asked it to show. Not for the model.

  • sketch_sync

    Used by the HexSketch editor to report the user's drawing, so read_sketcher can see it. Not for the model.

More in Messaging

Listing from the official MCP Registry.