MCP server exposing 4 tools for pubchem.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/pubchem/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
search_by_name — Resolve a common chemical or drug name to PubChem CIDs. Use for "what's the CID of ibuprofen?" or to disambiguate. Returns CIDs (Compound IDs) matched to the name. Then use get_compound with the CID for properties.get_compound — Get standard properties for a PubChem CID: molecular formula, molecular weight, IUPAC name, canonical SMILES, isomeric SMILES, InChI, InChIKey, exact mass, charge, complexity, H-bond donors/acceptors, rotatable bonds, TPSA, XLogP, heavy atom count.get_synonyms — List all names (synonyms) for a CID — common names, IUPAC, trade names, CAS numbers, etc.get_classification — Pharmacological classification tree for a CID — drug class, mechanism of action, biological role tags. Useful for "what kind of drug is X" questions.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/pubchem/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io