ChemDraw MCP (unofficial)

io.github.jurimaxam-dotcom由 GitHub 账号 jurimaxam-dotcom 发布v0.9.0更新于 Nov 7, 2026

Molecule names or SMILES to 2D structures, reactions, mechanisms, spectra - offline via RDKit.

发布方自己的服务:draw.io

已验证STDIO仅桌面媒体与设计AI 与机器学习

概览

AI 生成的概览

非官方本地 MCP 服务器,借助 RDKit 把分子名称或 SMILES 转成二维结构、反应式、机理、谱图和实验图形。

可以做什么
  • 绘制分子、批量结构、分子对比、反应式、分步机理和可旋转三维模型
  • 生成实验图形:红外谱图、TLC 板、滴定曲线和物种分布图
  • 查询名称、CAS 号与 PubChem 数据表,并预测红外吸收带
  • 计算缓冲液 pH,并把结构卡片导出为 Anki 牌组
  • 将图形保存为 PNG、SVG 或 ChemDraw CDXML 文件到本地输出目录
适用场景
适合化学学生、教师和实验场景,希望在对话中直接得到结构图与实验图形,离线使用且无需 ChemDraw 授权,也适合制作考试记忆卡和反应式。
运行要求
以 stdio 本地进程运行,可作为 Claude Desktop 扩展安装,或用 uv 从 PyPI 安装(uvx chemdraw-mcp)。无需 API 密钥或注册。仅 PubChem 数据表需要联网;可选依赖包括用于离线 IUPAC 命名的 Java 和用于 Anki 导出的 AnkiConnect。
安装前请注意
会向本地输出目录写入 PNG、SVG、CDXML 和 SDF 文件,并可向 Anki 牌组添加卡片。PubChem 查询会把化合物发送给外部服务。化学结果由程序自动生成,可能有误;未指定的立体化学会被标注而非猜测。同时启用两个连接器会让每个工具重复出现。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ChemDraw MCP (unofficial),将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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), double-click it and confirm in Claude Desktop.
  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
PromptWhat 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.

AreaToolExample promptPanel
Drawgenerate_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 graphicsgenerate_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 uplookup"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
Calculatecalculate_ph"What is the pH of 0.1 M acetic acid, pKa 4.76?"text
Ankiexport_anki_deck"I have an exam on NSAIDs on Friday and need to know the structures"file

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.

Gallery

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

Show the gallery

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):

    bash
    uv tool install chemdraw-mcpchemdraw-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:

ConnectorProfileToolsAdds
chemdrawmvp (default)16, 12 with a panelthe five areas in the tool table
chemdraw-pharmafull23, 16 with a panelsubstrate-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.

来源:README.md,提交 b091cab

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

11
  1. v0.9.0最新Nov 7, 2026
  2. v0.8.0Nov 5, 2026
  3. v0.7.0Nov 5, 2026
  4. v0.6.0Oct 26, 2026
  5. v0.5.2Oct 25, 2026
  6. v0.5.1Oct 25, 2026
  7. v0.5.0Oct 20, 2026
  8. v0.4.8Oct 3, 2026
  9. v0.4.5Oct 2, 2026
  10. v0.4.2Oct 1, 2026
  11. v0.4.1Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Draw 集成