Skip to main content

chemdraw-mcp

CI Release License: Apache-2.0 PyPI

Claude draws the chemistry it talks about: structures, reactions, mechanisms and lab graphics, right in the chat.

Interactive molecule panels in the chat and PNG/SVG files on disk, rendered locally with RDKit. Free and open source (Apache-2.0). No API key, no sign-up, no ChemDraw licence.

Quick start

  1. Download the Claude Desktop extension (chemdraw-mcp-<version>.mcpb, macOS and Linux), double-click it, confirm in Claude Desktop and restart Claude Desktop once.
  2. Open a new chat and say "Use the ChemDraw MCP: draw thalidomide".
  3. Try one of the prompts below or the tool table.

Other clients (need uv):

  • Claude Code: claude plugin marketplace add jurimaxam-dotcom/chemdraw-mcp, then claude plugin install chemdraw-mcp@chemdraw-mcp.
  • VS Code: Install in VS Code
  • Cursor: add {"command":"uvx","args":["chemdraw-mcp"]} as server chemdraw-mcp in mcp.json, or open cursor://anysphere.cursor-deeplink/mcp/install?name=chemdraw-mcp&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJjaGVtZHJhdy1tY3AiXX0= in the browser.
  • Codex: codex mcp add chemdraw -- uvx chemdraw-mcp

Other ways in (PyPI, cloning the repository, editing the config by hand) are under Installation.

The thalidomide panel: skeletal formula, All H, Show variants, the (S) isomer drawn with wedges, then the PubChem data sheet with the CAS number The thalidomide panel: the 3D chip swaps the drawing for a ball-and-stick model in a bowl, rotated by dragging

What you get

A structure you can work with

Ask for thalidomide and the panel shows the skeletal formula, molecular formula, molar mass and CAS number, plus the PubChem record those numbers belong to.

  • All H redraws the molecule with every hydrogen atom. Sugars also get Fischer and Haworth chips where the projection applies.
  • Open stereochemistry is flagged, not guessed. Thalidomide's stereocentre shows up as "1 unspecified stereocenter".
  • Show variants draws every stereoisomer (up to three open stereo elements). Pick (S) and it is redrawn with wedges.
  • A name found under another spelling says so under the title ("Found as").

3D in one click

Every structure has a 3D chip. For thalidomide, the two ring systems that lie flat on paper turn out to sit twisted against each other.

  • The server computes a conformer (RDKit ETKDG plus a force field) and swaps the drawing for a ball-and-stick model with explicit hydrogens.
  • Drag to rotate. A second click returns to the drawing.
  • The conformer is cached, and the SDF file lands in ~/ChemDraw-Output/3d/.

Data, flashcards and files

  • Hover a functional group of capsaicin (amide, phenol, ether) and its atoms light up in the structure, with name and short formula below.
  • Data turns the panel into the PubChem data sheet with properties and GHS hazards. It loads on the first click and then stays cached. This part needs the internet.
  • Export PNG saves the drawing to ~/ChemDraw-Output/png/; where the host allows it, the image also goes to the clipboard.
  • Add to Anki adds a structure card to the deck "ChemDraw", or saves the deck file if Anki cannot take it.
  • Every drawing tool also writes PNG and SVG files to ~/ChemDraw-Output/. ChemDraw CDXML on request.

The capsaicin panel: ether, amide, amine, phenol and aromatic ring light up in the structure on hover, then the PubChem data sheet

Prompts to try

  • "Draw thalidomide", then click Show variants and pick (S).
  • "Show morphine as a rotatable 3D model", or draw it and click 3D.
  • "Draw capsaicin", then hover a functional group or click Data.
More prompts: reactions, mechanisms and lab graphics
Prompt What you get
"Draw adrenaline with all hydrogen atoms" the structure opened in the All H view
"Give me a data sheet for lysergic acid diethylamide" PubChem properties and GHS hazards (lookup_molecule_data)
"What is the difference between testosterone and estradiol?" both structures side by side, differences highlighted (compare_molecules)
"Draw the nitration of benzene with nitric and sulfuric acid as a reaction scheme" reactants, products and conditions on the arrow (generate_reaction)
"Show the SN1 mechanism of tert-butyl bromide with water step by step" each step with curved electron-flow arrows (generate_mechanism)
"Draw a schematic IR spectrum of capsaicin" a spectrum from typical literature bands (generate_spectrum)
"TLC: educt Rf 0.3, product Rf 0.65, co-spot shows both" a TLC plate sketch (generate_tlc)
"Titrate 0.1 M acetic acid with 0.1 M NaOH and show the curve with phenolphthalein" equivalence point, buffer point and indicator band (generate_titration_curve)
"What is the pH of a buffer of 0.1 M acetic acid and 0.05 M sodium acetate?" the exact pH with the textbook approximation beside it (calculate_ph)

Curved-arrow mechanisms cover SN1, SN2 and Fischer esterification. For any other reaction, Claude draws the net scheme and says that the arrow mechanism is not drawn.

Tools

The default profile registers 16 tools, 12 of them with an interactive panel. Files go to ~/ChemDraw-Output/. How the model picks the right tool is explained under Development.

Area Tool Example prompt Panel
Draw generate_molecule "Draw caffeine" yes
batch_generate "Draw adrenaline, noradrenaline and dopamine, each as its own file" yes
compare_molecules "What is the difference between morphine and codeine?" yes
generate_reaction "Draw the esterification of acetic acid with ethanol" yes
generate_mechanism "Show me the SN2 mechanism step by step" yes
generate_3d "Show methane as a rotatable 3D model" yes
Lab graphics generate_spectrum "Draw the IR spectrum of aspirin" yes
generate_tlc "TLC: educt Rf 0.3, product Rf 0.65, co-spot shows both" yes
generate_titration_curve "Titrate phosphoric acid with NaOH and show the curve" yes
generate_species_distribution "Species distribution of phosphoric acid over pH" yes
Look up lookup "What is the CAS number of paracetamol?" text
lookup_molecule_data "Give me a data sheet for capsaicin" yes
predict_spectrum "Which IR bands should capsaicin show?" text
Calculate calculate_ph "What is the pH of 0.1 M acetic acid, pKa 4.76?" text
Anki export_anki_deck "I have an exam on NSAIDs on Friday and need to know the structures" yes

The 16th tool, save_png, is the server half of the panel's export button. It runs when you click that button and is never called by the model on its own.

What each tool does in detail, the options on the drawing tools (formats, render_style, abbreviate_groups, annotate_stereo) and the known limits: docs/tools.md.

Every picture below is the tool's own output, generated by scripts/readme_bilder.py.

Show the gallery
Schematic aspirin IR spectrum with separate ester and acid carbonyl bands
generate_spectrum
Titration curve of 0.1 M acetic acid with 0.1 M NaOH with equivalence point, buffer point and indicator band
generate_titration_curve
Caffeine data sheet: structure, PubChem properties and GHS signal word
lookup_molecule_data
Two calculate_ph answers with the exact pH beside the textbook approximation
calculate_ph
An Anki card with the aspirin structure on the front and its name on the back
export_anki_deck
Second step of SN1, SN2 and Fischer esterification with curved electron-flow arrows
generate_mechanism
TLC plate with starting material, product and co-spot lanes and Rf values
generate_tlc
Ball-and-stick projection of a caffeine conformer
generate_3d

Installation

Pick one route. The extension and chemdraw-install register the same connectors, and installing both makes the model see every tool twice. Afterwards restart Claude Desktop and ask "draw caffeine".

  • Claude Desktop extension (macOS, Linux): download chemdraw-mcp-<version>.mcpb from the latest release, double-click it, confirm, restart Claude Desktop once. The first start fetches about 40 MB from PyPI, checked against pinned hashes; later starts are offline. chemdraw-mcp-pharma-<version>.mcpb from the same release adds the second connector (see Profiles); it shares the installation.

  • From PyPI (needs uv):

    uv tool install chemdraw-mcp
    chemdraw-install
    

Cloning the repository, editing the config by hand and optional extras (Java for offline IUPAC names, AnkiConnect): docs/installation.md.

Something not working? uvx --from chemdraw-mcp chemdraw-doctor checks the installation and prints the fix for each problem.

Profiles

Either route registers two connectors from one installation. They differ only in the profile the server starts with:

Connector Profile Tools Adds
chemdraw mvp (default) 16, 12 with a panel the five areas in the tool table
chemdraw-pharma full 23, 16 with a panel substrate-scope figure, calibration curve, pharmacology curves, and calculators for solutions, content determination and pharmacokinetics

The extension route ships them as two bundles (chemdraw-mcp-<version>.mcpb, chemdraw-mcp-pharma-<version>.mcpb); chemdraw-install writes both entries into claude_desktop_config.json (and replaces the single chemdraw-tool entry of earlier versions). In a chat, enable one connector at a time in the connector menu: with both on, the model sees the default tools twice. Switching between them needs no restart. What the full profile adds in detail: docs/tools.md#profiles.

Development

Architecture, setup and the test gate: docs/development.md.

Feedback, bugs and wishes

  • Something broke? Open a bug report. The form asks for the output of chemdraw-doctor.
  • Missing something in your course? Tell us what you would draw or calculate. The subject and the exam question help more than a feature name.
  • Wrong chemistry? Use the bug form and name the compound and the figure.
  • A question, or something you made with it? Discussions.
  • It worked for you? A star on the repository helps other students find it.

License

Apache-2.0, see LICENSE. Copyright 2026 jurimaxam-dotcom.

Disclaimer: This is an unofficial, independent project, not affiliated with or endorsed by Revvity. ChemDraw is a trademark of Revvity Signals Software, Inc. This tool does not include or require ChemDraw; it can optionally export files in the open CDXML format.

Metadata

Release files for chemdraw-mcp 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chemdraw-mcp 0.9.1
File Size Uploaded Provenance Actions
chemdraw_mcp-0.9.1.tar.gz 617.9 kB With provenance Details for chemdraw_mcp-0.9.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chemdraw-mcp 0.9.1
File Interpreter ABI Platform Actions
chemdraw_mcp-0.9.1-py3-none-any.whl Python 3 none any Details for chemdraw_mcp-0.9.1-py3-none-any.whl

Total release size: 1.0 MB

Release files / chemdraw_mcp-0.9.1.tar.gz

Download URL chemdraw_mcp-0.9.1.tar.gz
Size 617.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e45851f0951375f64cb49dc39fb3e083424c9169c250bb028ed754bea1f4b31e
BLAKE2b-256 checksum
How to use checksums
67922040fbc72a47c66a20fca9fc59bcd55bf4a6ac5aa16c8f5fd6b45992c5c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / chemdraw_mcp-0.9.1-py3-none-any.whl

Download URL chemdraw_mcp-0.9.1-py3-none-any.whl
Size 404.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4640c8d5833dbbc836422c9715d3d718cf92ac68134f09b9b550886afbde865
BLAKE2b-256 checksum
How to use checksums
2db41b148d5c6589fc2b6b1300fd564557cc4d26b7931b5fdb7bd9fef2992a07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for chemdraw-mcp 0.9.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for chemdraw_mcp-0.9.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page