pubchem-chemical-compounds-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pubchem-chemical-compounds-mcp look up aspirin's molecular formula and CAS number"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pubchem-chemical-compounds-mcp
Look up chemical compounds in NCBI PubChem by name or molecular formula, fetch physicochemical descriptors, list synonyms and CAS identifiers, and read curated descriptions over Model Context Protocol (MCP). Medicinal chemists, pharma analysts, and cheminformatics pipelines can query more than 115 million PubChem compounds with zero API keys and zero sign-up. It works right away.
Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
https://pubchem-chemical-compounds-mcp.lipmichal.workers.dev/mcpRelated MCP server: ChemDraw Server
Available tools
Tool | Purpose |
| Look up a PubChem compound by common name, drug name, or IUPAC name with core molecular descriptors |
| Fetch molecular weight, formula, SMILES, InChIKey, XLogP, TPSA, and H-bond counts for one or more CIDs |
| Retrieve chemical synonyms, CAS registry numbers, and trade names by PubChem CID or compound name |
| Search PubChem compounds matching a molecular formula such as |
| Fetch curated scientific descriptions, pharmacology notes, and safety summaries by CID or name |
Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
{
"mcpServers": {
"pubchem-chemical-compounds": {
"url": "https://pubchem-chemical-compounds-mcp.lipmichal.workers.dev/mcp"
}
}
}Run locally over stdio
You can also run the server locally on Node 20 or newer over stdio.
npm install
npm run build
npm startCompliance and reliability
Every upstream call hits pubchem.ncbi.nlm.nih.gov/rest/pug with a clear User-Agent header and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't stick in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version 2026-07-28 cleanly down to the SDK version.
More MCP Servers and Readiness Check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
Free live-data MCP directory with hosted keyless endpoints and client setup guides.
Free MCP readiness checker to score any MCP server for Claude, ChatGPT, and registry submission.
MCP Readiness Audit ($490) for teams shipping a production server who want a hands-on security, schema, and store review.
Zovo Pro MCP Bundle ($39 one-time) with hosted commercial servers and priority endpoints.
Available Tools
5 toolsget_compound_by_nameGet PubChem compound by nameARead-onlyIdempotentInspect
Look up a chemical compound in NCBI PubChem by common name, drug name, or IUPAC name and return CID, formula, weight, SMILES, InChIKey, XLogP, and TPSA.
Inputs: name (required).
get_compound_descriptionGet PubChem compound descriptionBRead-onlyIdempotentInspect
Retrieve curated scientific descriptions, pharmacology notes, and safety summaries for a PubChem compound by CID or name.
Inputs: cid, name.
get_compound_propertiesGet PubChem compound propertiesARead-onlyIdempotentInspect
Fetch molecular descriptors and physicochemical properties for one or more PubChem Compound IDs (CIDs).
Inputs: cid (required), properties.
get_compound_synonymsGet PubChem compound synonymsARead-onlyIdempotentInspect
Retrieve chemical synonyms, CAS registry numbers, UNII codes, and trade names for a PubChem compound by CID or name.
Inputs: cid, name, limit.
search_by_formulaSearch PubChem compounds by formulaARead-onlyIdempotentInspect
Search PubChem compounds matching a molecular formula (e.g. "C9H8O4", "C8H10N4O2") and return CIDs with IUPAC names and SMILES.
Inputs: formula (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct retrieval facet: name lookup, bulk properties, synonyms, formula search, and descriptions. The only real overlap is that get_compound_by_name already returns formula, weight, SMILES, XLogP and TPSA, which blurs it slightly against get_compound_properties, but the batch/multi-CID framing keeps them separable.
Four of five tools follow a clean get_compound_<aspect> pattern, with matching casing and verb style. search_by_formula is the sole deviation, though it is still a readable verb_noun form and accurately signals a different operation class (search vs. fetch).
Five tools is lean but well-matched to a compound-lookup server, with each tool earning its place and no filler. It sits at the low edge of the ideal 3-15 band, so adding one or two more retrieval modes would strengthen rather than bloat it.
The surface covers identity, descriptors, synonyms/identifiers, formula search, and descriptive/pharmacology text — good lifecycle coverage for read-only compound lookup. Gaps exist for identifier-based search (InChIKey/SMILES) and structure/similarity search, which agents may reasonably expect from a PubChem server.
Maintenance
Related MCP Connectors
PubChem MCP — NIH chemistry compound database (no auth)
MyChem.info MCP. Aggregated drug / chemical-compound annotation from the BioThings API: ChEMBL…
Link compounds to protein targets, rank bioactivity, and look up drug mechanisms and indications.
RxNorm MCP — wraps the NLM RxNav REST API (free, no auth)
Related MCP Servers
- FlicenseBqualityDmaintenanceExtracts basic chemical information and drug data from the PubChem API. It enables users to retrieve molecular details such as SMILES, IUPAC names, molecular formulas, and synonyms for specific compounds.311-
- AlicenseNot gradedqualityDmaintenanceProvides chemical informatics endpoints for converting between chemical names and SMILES, processing molecule structures, and comparing molecules, with MCP compatibility.5MIT
- AlicenseAqualityBmaintenanceAn MCP server for chemistry: it computes molecular weights and isotope distributions from chemical formulae and resolves compound name/formula lookups, backed by NIST atomic-weight data and a cached finder over multiple online and offline sources.51GPL 3.0
- AlicenseNot gradedqualityCmaintenanceProvides access to the NIH PubChem chemistry compound database, enabling queries for compound synonyms and other data through natural language.76 npmMIT