ChemWand
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
ChemWand
Tell Claude what to draw. Get an editable ChemDraw file.
ChemWand is an MCP server that lets Claude (or any MCP client) produce publication-style chemistry figures as CDXML files — the native, fully editable format of ChemDraw. You describe the figure in plain language; Claude turns it into SMILES and a layout description; ChemWand lays it out to ACS 1996 drawing settings, checks that every structure reads back to the molecule that was asked for (InChI round-trip), and writes the file.
It runs entirely on your own computer. No account, no API key, no server. (The only network call is the optional PubChem lookup by compound name.)
You: Draw a Suzuki coupling: 4-bromoanisole + phenylboronic acid,
Pd(PPh3)4, K2CO3, toluene/H2O, 90 °C → 4-methoxybiphenyl, 92%.
Claude: → draw_linear_scheme(...) → the .cdxml file opens in ChemDrawWhat it can draw
tool | what it makes |
| a single structure from SMILES |
| reaction schemes, one row or several, with conditions above/below arrows |
| long multi-step routes folded into equal-width rows |
| substrate-scope tables (the product grid with yields, ee, dr …) |
| catalytic cycles and mechanism rings |
| one starting material → many products |
| combine figures already drawn into one file |
| read, audit and propagate stereochemistry across a scheme |
| formula, MW, exact mass, and other numbers a paper reports |
| the structure of a named compound, from PubChem |
| how much of each reagent to weigh out at a given scale |
| atom bookkeeping for one retrosynthetic disconnection |
| an ACS-SI-style experimental paragraph for one step |
Every drawing is checked before it is written: a structure whose drawn form does not read back to the requested molecule is reported, not silently drawn wrong.
Related MCP server: Chempane
Requirements
macOS or Windows (developed and tested on macOS 15; Windows support is newer and less tested)
Python 3.10+ (tested on 3.13)
An MCP client — e.g. Claude Code or Claude Desktop
ChemDraw to view and edit the output. Without it the
.cdxmlfiles are still written; any program that reads CDXML can open them.
Install
The easy way: let Claude do it
Download this repository (green Code button → Download ZIP, or git clone), open the folder
in Claude Code, and say:
Install ChemWand from this folder as a local MCP server, following the README.
By hand
git clone https://github.com/ClickChemAI/chemwand.git
cd chemwand
python3 -m venv venv
venv/bin/pip install -r requirements.txt # Windows: venv\Scripts\pip install -r requirements.txtrequirements.txt pins the exact versions ChemWand was tested with. If a pin has no wheel for
your Python, install the direct dependencies instead: pip install mcp rdkit numpy pillow uharfbuzz.
uharfbuzz matters — without it, text widths are approximated and layouts shift slightly.
Check it loads (expect 16 tools):
venv/bin/python -c "import asyncio, chemwand_mcp as m; print(len(asyncio.run(m.mcp.list_tools())), 'tools')"Register it with your client
Claude Code (use absolute paths):
# macOS
claude mcp add --scope user chemwand -- /path/to/chemwand/venv/bin/python /path/to/chemwand/chemwand_mcp.py# Windows (PYTHONUTF8=1 is required)
claude mcp add --scope user -e PYTHONUTF8=1 chemwand -- C:\path\to\chemwand\venv\Scripts\python.exe C:\path\to\chemwand\chemwand_mcp.pyClaude Desktop — add to claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then fully quit and
reopen Claude Desktop. On Windows use venv\\Scripts\\python.exe and doubled backslashes.
{
"mcpServers": {
"chemwand": {
"command": "/path/to/chemwand/venv/bin/python",
"args": ["/path/to/chemwand/chemwand_mcp.py"],
"env": {"PYTHONUTF8": "1"}
}
}
}Quit Claude Desktop before editing this file: it rewrites the file while running and can discard your change.
Optional settings (environment variables)
variable | default | |
|
| where figures are saved |
|
| macOS only: your ChemDraw's application name, including |
| auto-detected Arial | path to an Arial |
Use
Restart your client after registering, then just ask:
Draw ibuprofen.
Draw this three-step route as one scheme: …
Make a substrate-scope table for this reaction; R = Me, Et, iPr, Ph, 4-MeOC6H4, with these yields: …
Draw the catalytic cycle of a Buchwald–Hartwig amination.
How much of each reagent do I need for this step at 0.5 mmol?
Figures are saved to ~/chemwand_figures/ and opened automatically. Use a new file name for each
version — reopening a file under the same name can leave ChemDraw showing the old window.
Notes and limitations
Abbreviations. A hand-written table of 41 common groups (Boc, Cbz, Fmoc, Troc, Alloc, Bn, Ph, OAc, OMe, OTBS, OTIPS, OTBDPS, OTMS, OPMB, OMOM, OSEM, OTHP, NHBoc, CF3, NO2, …). Groups outside it are drawn out in full.
The layout engine is tuned to ACS 1996 settings (14.4 pt bonds, 10 pt Arial).
Windows: file opening, file locking and font lookup have Windows code paths, but most testing was on macOS. Bug reports welcome.
License
MIT — see LICENSE. Third-party notices are in THIRD_PARTY_NOTICES.txt.
ChemDraw is a trademark of Revvity, Inc. ChemWand is an independent project and is not affiliated with, endorsed by, or sponsored by Revvity. It writes CDXML files; it does not include or modify any ChemDraw software.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Draws chemical structures and reactions as journal-style figures; converts and analyses molecules.
Draw, name and check chemical structures with a chemist, in an editor inside the chat.
Chemistry, pharma and biotech tools for AI assistants: NMR, MS, IR and UV analysis, ADMET and ICH M7, stability (ICH Q1), HPLC methods, DoE, docking, retrosynthesis, biologics. Deterministic results you can check. Built in Leipzig, Germany.
Convert handwriting into text, LaTeX math, chemistry, or molecular structures.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables intelligent identification and validation of compound data from documents and images, then automatically draws compound structures using local ChemDraw software with academic formatting.1-
- AlicenseAqualityAmaintenanceEnables generation of chemical structures, reactions, spectra, titration curves, 3D models, and more from natural language or SMILES, using RDKit for offline rendering and supporting formats like PNG, SVG, CDXML, and Anki decks.1832Apache 2.0
- AlicenseNot gradedqualityBmaintenanceProvides an MCP interface for publication-quality chemical structure and reaction rendering from SMILES/InChI/molblock, with validation and name parsing. Enables AI agents to draw molecules and reactions as images.29 PyPIMIT
- AlicenseCqualityFmaintenanceEnables LLM agents to draw and edit ChemDraw reaction schemes, parse ELN exports and LCMS/NMR data, and generate publication-ready CDXML files through grounded chemistry tools.353MIT