get_compound
Pack: pubchem · Endpoint: https://gateway.pipeworx.io/pubchem/mcp
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cid | number | yes | PubChem Compound ID |
Example call
curl -X POST https://gateway.pipeworx.io/pubchem/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_compound","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"pubchem": {
"url": "https://gateway.pipeworx.io/pubchem/mcp"
}
}
}
See Getting Started for client-specific install steps.