ChemMCP Lite MCP Server

1. 创建conda环境: ```bash conda create -n chemmcp python=3.11 conda activate chemmcp ```

Local serverstdioPython

What is the ChemMCP Lite MCP server?

If you already use ChemMCP Lite, the chemmcp lite mcp server is the piece that lets your assistant work with it directly. 1. 创建conda环境: bash conda create -n chemmcp python=3.11 conda activate chemmcp .

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • RDKit — 分子处理和计算的核心库
  • PubChemPy — PubChem数据库接口
  • SELFIES — 分子的自引用嵌入式字符串表示
  • rdchiral — 手性分子处理
  • synspace — 分子空间探索和修饰
  • tavily-python — 网络搜索API
  • litellm — 统一的LLM API接口
  • requests — HTTP请求库

Installation

transformers on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Credentials and setup notes

Configuration is passed through the environment: TAVILY_API_KEY, LLM_MODEL_NAME, OPENAI_API_KEY, CHEMSPACE_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Where it fits

Plenty of AI and media services servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. ChemMCP Lite's toolset — RDKit, PubChemPy, SELFIES and 5 more — is a fair guide to whether it matches your workflow. It is maintained by cassiusoat; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
RDKit分子处理和计算的核心库
PubChemPyPubChem数据库接口
SELFIES分子的自引用嵌入式字符串表示
rdchiral手性分子处理
synspace分子空间探索和修饰
tavily-python网络搜索API
litellm统一的LLM API接口
requestsHTTP请求库

How to install the ChemMCP Lite MCP server

{
  "mcpServers": {
    "ChemMCP": {
      "command": "/opt/miniconda3/envs/chemmcp/bin/python",  // 如何找到路径: conda activate chemmcp && which python
      "args": [
        "-m", "chemmcp", 
        "--tools", 
        "WebSearch", 
        "MoleculeWeight",
        "MoleculeAtomCount",
        "MoleculeSimilarity", 
        "FunctionalGroups",
        "SmilesCanonicalization",
        "Iupac2Smiles",
        "Smiles2Iupac",
        "Smiles2Formula",
        "Name2Smiles",
        "Selfies2Smiles",
        "Smiles2Selfies",
        "Smiles2Cas",
        "MoleculeSmilesCheck",
        "ReactionSmilesCheck",
        "MoleculeVisualizer",
        "MoleculeCaptioner",
        "MoleculeGenerator", 
        "MoleculeModifier"
      ],
      "toolCallTimeoutMillis": 300000,
      "env": {
        "TAVILY_API_KEY": "your_tavily_api_key_here",
        "LLM_MODEL_NAME": "openai/gpt-4o",
        "OPENAI_API_KEY": "your_openai_api_key_here",
        "CHEMSPACE_API_KEY": "your_chemspace_api_key_here",  // 可选:仅在需要额外数据库查找时使用
        "PATH": "/opt/miniconda3/envs/chemmcp/bin:/usr/local/bin:/usr/bin:/bin"  // 如何找到路径: conda activate chemmcp && echo $PATH
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
TAVILY_API_KEYCredential the server authenticates with.Yes
LLM_MODEL_NAMEConfiguration value read at startup.Optional
OPENAI_API_KEYCredential the server authenticates with.Yes
CHEMSPACE_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use ChemMCP Lite to RDKit.
  • Use ChemMCP Lite to PubChemPy.
  • Use ChemMCP Lite to SELFIES.

Frequently asked questions

It connects ChemMCP Lite to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (RDKit, PubChemPy, SELFIES, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with ChemMCP Lite directly.