pubchem-chemical-compounds-mcp
# 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.
```text
https://pubchem-chemical-compounds-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `get_compound_by_name` | Look up a PubChem compound by common name, drug name, or IUPAC name with core molecular descriptors |
| `get_compound_properties` | Fetch molecular weight, formula, SMILES, InChIKey, XLogP, TPSA, and H-bond counts for one or more CIDs |
| `get_compound_synonyms` | Retrieve chemical synonyms, CAS registry numbers, and trade names by PubChem CID or compound name |
| `search_by_formula` | Search PubChem compounds matching a molecular formula such as `C9H8O4` and enrich results with IUPAC names |
| `get_compound_description` | 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.
```json
{
"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.
```bash
npm install
npm run build
npm start
```
## Compliance 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](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.pubchem-chemical-compounds-mcp) with hosted commercial servers and priority endpoints.
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.