chem
Pack: mychem · Endpoint: https://gateway.pipeworx.io/mychem/mcp
Fetch 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 works. Returns merged annotations from ChEMBL, DrugBank, PubChem, ChEBI, DrugCentral, etc., including mechanism, indication, and pharmacology cross-references.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | An InChIKey like “BSYNRYMUTXBXSQ-UHFFFAOYSA-N”, or a DrugBank / ChEMBL id. |
fields | string | no | Comma-separated return fields (default: all). |
Example call
Arguments
{
"id": "BSYNRYMUTXBXSQ-UHFFFAOYSA-N"
}
curl
curl -X POST https://gateway.pipeworx.io/mychem/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"chem","arguments":{"id":"BSYNRYMUTXBXSQ-UHFFFAOYSA-N"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('chem', {
"id": "BSYNRYMUTXBXSQ-UHFFFAOYSA-N"
});
More examples
{
"id": "DB00945"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"mychem": {
"url": "https://gateway.pipeworx.io/mychem/mcp"
}
}
}
See Getting Started for client-specific install steps.