原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

ChemGlyph

作者:chemglyph版本 0.2.0i★ –i在你的电脑上运行
注册名称io.github.random-orbit/chemglyph

安装

概览

作者提供的说明(英文原文)

Publication-quality chemical structure and reaction rendering for AI agents.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 0 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "chemglyph": {
      "command": "uvx",
      "args": [
        "chemglyph"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add chemglyph -- uvx chemglyph

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "chemglyph": {
      "command": "uvx",
      "args": [
        "chemglyph"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "chemglyph": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "chemglyph"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ! 注意

    作者与仓库一致

    发布者(random-orbit)不是仓库所有者(chemglyph);可能是其他人代为上架的

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32683 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32683 个服务器的 77% 更新
  • 基础检查结果等于或优于此分类中其他 32683 个服务器的 29%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

ChemGlyph 安全吗?

它在 1 项适用的基础检查中通过了 0 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.2.0)于10天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, MCP Server Autocad Lisp Helper

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

MCP Server Autocad Lisp Helper

作者:radwanalmsora

High-precision static analysis and debug server for AutoCAD AutoLISP (.lsp) files.

在你的电脑上运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

ChemGlyph

Publication-quality chemical structure and reaction rendering for AI agents. ChemGlyph is the KaTeX of chemistry: a rendering layer, a validation layer, and an MCP interface on top of RDKit.

Install

pip install chemglyph

Render a molecule

import chemglyph

result = chemglyph.render_molecule("c1ccccc1") # benzene open("benzene.svg", "w").write(result.data)

render_molecule takes SMILES, InChI, or molblock and returns SVG (or PNG) plus canonical_smiles, mol_formula, mol_weight, and warnings.

Styles

Three styles, same molecules (benzoic acid, caffeine, (S)-ibuprofen):

chemglyph.render_molecule(smiles)  # screen: coloured O, N, S, Cl for screens and chat

chemglyph.render_molecule(smiles, style="acs1996") # black, ACS journal sizes chemglyph.render_molecule(smiles, style="textbook") # heavier lines for teaching

Every style draws at one physical scale. acs1996 follows the ACS Document 1996 settings: 14.4 pt bonds, 0.6 pt lines, 10 pt labels, and bond ends that stop 1.6 pt from each label. Two structures drawn with the same style have the same bond length and label size, so they line up in a paper. screen keeps that geometry and colours O, N, S, and Cl (classic CPK); textbook uses 0.8 pt lines and 12 pt labels.

The SVG size is given in points and the background is transparent unless transparent=False. fmt="png" takes a dpi, fmt="pdf" gives a vector PDF for LaTeX, and fmt="mol" a molfile with the drawn coordinates for a structure editor.

result = chemglyph.render_molecule("CC(=O)Oc1ccccc1C(=O)O", style="acs1996")

result.report # {'bond_length_pt': [14.4, 14.4], 'label_clearance_pt': 1.6, ...} png = chemglyph.render_molecule(smiles, style="acs1996", fmt="png", dpi=600)

The style names from 0.1 (acs, modern, textbook-cn) still work, map to acs1996, screen, and textbook, and give a deprecation warning; they go in 1.0.

These numbers are measured in the rendered output by the test suite (tests/test_profiles.py).

Compound numbers
chemglyph.render_molecule(smiles, style="acs1996", number="12a")

The number is set in bold at the label size, centred half a bond length under the structure, as in ACS journals. It is also stored with the embedded structure (the molfile title line), so a figure still says which compound it shows when it is read back.

Abbreviations
chemglyph.render_molecule(smiles, abbreviate=True)  # Boc, Ts, TBS, OAc, NHBoc, ...

chemglyph.render_molecule(smiles, abbreviate=["Ph", "t-Bu", "CO2Me"])

abbreviate=True draws protecting and activating groups as labels, with the spellings of the J. Org. Chem. list of standard abbreviations. Acyl, carbamate, and benzyl groups are abbreviated only on heteroatoms, so a benzyl side chain stays a CH2 and a ring; silyl and sulfonyl groups also on carbon. A group on a terminal O or NH joins its label (OTs, BocHN). A label that would run into another label or a bond is drawn in full instead.

Only the drawing changes. The embedded structure, the identity, and the name check use every atom, and fmt="mol" keeps the abbreviations as SUP groups, which structure editors show as labels and can expand.

Checked figures

Figures from these profiles check themselves and carry their structure:

result = chemglyph.render_molecule(smiles, style="acs1996", name="cholesterol")

result.report["verified"] # bonds and labels drawn, wedges right, structure reads back result.report"name_check" # match, stereo_differs, mismatch, or unchecked chemglyph.read_structure(result.data) # the RDKit molecule embedded in the SVG or PNG

A name that belongs to another structure produces a warning, which catches a wrong SMILES from an AI model before the figure reaches a manuscript. Names resolve offline through the built-in Chinese dictionary or OPSIN.

Reactions

spec = {

"steps": [ { "reactants": ["OC(=O)c1ccccc1O", "CC(=O)OC(C)=O"], "products": ["CC(=O)Oc1ccccc1C(=O)O", "CC(=O)O"], "conditions": {"above": "H₂SO₄ (cat.)", "below": "rt, 15 min"}, "yield": "89%", "arrow": "forward", } ], "style": "screen", } svg = chemglyph.render_reaction(spec)

Reaction schemes are not yet drawn at a fixed scale; that comes with the reaction phase of the roadmap.

Conditions are pre-formatted Unicode text, so pass H₂SO₄, not H2SO4. ChemGlyph does not parse formulas out of text. The full schema (multi-step chains, equilibrium and retro arrows, line wrapping) is in docs/reaction_schema.md.

The aspirin demo writes a two-step route:

python examples/aspirin_synthesis.py  # writes examples/aspirin_synthesis.svg

Validation

validate_structure reports parse errors and applies four quick fixes: unmatched brackets and ring closures (reported, not guessed), kekulization failures of lowercase aromatic atoms, and nitrogen valence errors via a formal [N+]. Anything else passes RDKit's message through unchanged.

report = chemglyph.validate_structure("c1cccc1")

report.fixes[0].description # 'lowercase aromatic atoms could not be kekulized...' report.fixes[0].fixed_smiles # 'C1CCCC1'

Naming

chemglyph.parse_name("aspirin")  # 'CC(=O)Oc1ccccc1C(=O)O'

English IUPAC and common names resolve offline through OPSIN (pip install 'chemglyph[opsin]', plus a Java runtime). Chinese names use the built-in dictionary, and the library API accepts a translator callable for names that are not in it:

chemglyph.parse_name("阿司匹林")  # 'CC(=O)Oc1ccccc1C(=O)O'

chemglyph.parse_name("六甲基苯", translator=to_english)

ChemGlyph itself never calls an online service, including for translation.

MCP server

Run the bundled console script (stdio transport):

chemglyph-mcp

Claude Desktop registration (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

{

"mcpServers": { "chemglyph": { "command": "chemglyph-mcp" } } }

ToolUse it whenReturns
render_moleculethe user asks to draw one structure from SMILES/InChI/molblockPNG image plus formula, MW, warnings (SVG source on request)
render_reactionthe user asks for a reaction or synthesis routePNG image of the reaction scheme
validate_structurea SMILES may be malformed and you need a repairvalidation report JSON
parse_namethe user gives a name like "aspirin" instead of SMILEScanonical SMILES or an error

One thing to know about clients. Some MCP clients, LM Studio included, only pass the text part of a tool result to the model and never display the attached image. The render tools write their PNG to ~/Downloads/chemglyph/ and return that path in the text, so you can always open the file yourself. If a model claims it rendered a figure but nothing shows up, ask it for the saved path rather than having it redraw the structure by hand.

Benchmarks

benchmarks/ holds the fixed 20-molecule blind test and a generator that writes shuffled, numbered PNG/SVG figures plus answer_key.json:

python benchmarks/generate_blind_test.py --seed 1234

The protocol, the A/B deck generator, the runbook, and the scorer are all in benchmarks/; the pass threshold and procedure are in benchmarks/RUNBOOK.md. Anyone can run it and contribute results.

No blind test against ChemDraw has been run yet, so no comparison is claimed. Every render is instead checked as it is made (see "Checked figures"), and tests/test_corpus.py renders a 416-structure corpus on every commit.

Known limitations

  • 14 of the 416 corpus structures have a layout problem that is reported with a warning: helicene and fullerene (no planar drawing); BINAP, morphine, codeine, paclitaxel, vinblastine, tetrodotoxin (crowded polycycles); and cyclodextrins, amphotericin B, forskolin, rifampicin, sitagliptin (labels in crowded places). Passing a molfile with your own coordinates avoids them. The list is in tests/test_corpus.py.
  • Reaction schemes still use the 0.1 renderer, not the fixed scale.
  • Full automatic Chinese name-to-structure parsing is not implemented; Chinese names resolve through a small built-in dictionary plus an optional translator hook. English names resolve through OPSIN.

Roadmap

Work proceeds in phases, and each phase ships as a minor version once its exit criteria pass. The plan, the standards ChemGlyph follows, and the quality gates are in docs/SPEC.md; release notes are in CHANGELOG.md.

  • 0.1.3: fixes and release hygiene.
  • 0.2 (released): molecules done right. One fixed physical scale for every drawing, style profiles measured against published standards (ACS Document 1996 settings first), a verification report with every render, automated layout checks, abbreviations, compound numbers, PDF and MOL output.
  • 0.3: formulas and equations in mhchem syntax, with atom and charge balance checks.
  • 0.4: reaction schemes on the shared scale, with an object API for compounds and figures.
  • 0.5: mechanism (curved) arrows anchored to atoms and bonds.

Non-goals

No structure editor GUI (Ketcher/ChemDraw competition), no 3D visualization, no retrosynthesis or property prediction, no online database queries, and no automatic mechanism generation. The full list is in the project specification.

Development

python -m venv .venv

.venv/bin/pip install -e ".[dev]" .venv/bin/ruff check . && .venv/bin/ruff format . && .venv/bin/pytest

Python 3.11+, RDKit 2024.9+, MIT license. All errors derive from chemglyph.errors.ChemGlyphError.

问 PopNx