mychem-drug-compounds-mcp
# mychem-drug-compounds-mcp
Zero-key MyChem.info v1 drug and chemical compound server over Model Context Protocol (MCP). Medicinal chemists, pharmacologists, and pharma discovery teams can query `mychem.info/v1` for chemical identifiers, InChIKey resolution, DrugBank, ChEMBL, PubChem properties, FDA pharmacology classes, and therapeutic indications without an API key or account. It connects over Streamable HTTP right away.
## Hosted endpoint
Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.
```text
https://mychem-drug-compounds-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `search_drugs_and_compounds` | Search MyChem.info by drug name, brand name, CAS number, ChEMBL ID, or DrugBank ID |
| `get_compound_annotation` | Fetch chemical identifiers, DrugBank, ChEMBL, PubChem CID, UNII, RxCUI, and ATC codes by InChIKey or ID |
| `get_drug_pharmacology` | Retrieve FDA pharmacology classes, DrugCentral and ChEMBL indications, approvals, and black box status |
| `get_compound_properties` | Retrieve molecular formula, molecular weight, XLogP, TPSA, H-bond counts, Lipinski RO5 violations, and SMILES |
| `search_drugs_by_indication` | Search ChEMBL and DrugCentral annotated drugs and clinical candidates by therapeutic indication |
## Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
```json
{
"mcpServers": {
"mychem-drug-compounds": {
"url": "https://mychem-drug-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 request queries `https://mychem.info/v1/` with `Accept: application/json`, a clear `User-Agent` header (`mcpstamp-mychem/1.0`), and automatic retry on transient network or 5xx faults. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream errors don't stay cached. All five tools declare read-only, non-destructive, idempotent, open-world annotations.
## 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 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.mychem-drug-compounds-mcp) with hosted commercial servers and priority endpoints.
TDQS
Scored across 5 tools
The tools have mostly distinct purposes: two search tools (by name/ID vs. by indication) and three retrieval tools (identifiers, pharmacology, properties). However, there is some overlap in returned data (e.g., get_compound_annotation and get_compound_properties both return formula, molecular weight, and SMILES; search returns clinical phase also provided by get_drug_pharmacology), which could cause occasional misselection.
All names follow a consistent snake_case verb_noun pattern: search_drugs_and_compounds, get_compound_annotation, get_drug_pharmacology, get_compound_properties, search_drugs_by_indication. The use of 'search' vs. 'get' appropriately distinguishes search operations from direct retrieval.
Five tools is well-scoped for a focused drug/compound lookup server. Each tool covers a distinct aspect (search by name, search by indication, identifiers, pharmacology, properties) without excessive granularity.
The surface covers core retrieval workflows: search by name/ID/CAS, search by indication, and retrieval of identifiers, pharmacology, and physicochemical properties. Minor gaps exist, such as no structure-based (SMILES/InChI) search, target/interaction data, or bulk lookup, but these are not essential for the stated purpose.