MyChem.info
liveChemistryHealthBiologyMyChem.info — search and retrieve aggregated drug/chemical annotations (ChEMBL, DrugBank, PubChem) by name, InChIKey, or fielded query.
Tools
querySearch MyChem.info for drugs / chemical compounds. Accepts a plain drug name ("aspirin"), an InChIKey, or a fielded query (e.g. "chembl.pref_name:aspirin", "drugbank.name:Acetylsalicylic acid"). Retur
No parameters required.
Try it
chemFetch the full aggregated annotation for a single chemical / drug by id. The id is typically an InChIKey (e.g. "BSYNRYMUTXBXSQ-UHFFFAOYSA-N"), but a DrugBank id, ChEMBL id, or other source id also wor
No parameters required.
Try it
metadataReturns MyChem.info build metadata: total indexed compound count, available annotation sources (ChEMBL, DrugBank, PubChem, ChEBI, DrugCentral, FDA NDC), and their current release versions.
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/mychem/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/mychem/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"query","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("query", {});// Or ask in plain English:
const answer = await px.ask("mychem");