search_by_name
ActiveTool of Pubchem
declared in 0.1.0
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.
Parameters schema
{
"type": "object",
"examples": [
{
"name": "ibuprofen"
},
{
"name": "caffeine",
"max_results": 3
}
],
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Common, IUPAC, or brand name (e.g., \"ibuprofen\", \"caffeine\")"
},
"max_results": {
"type": "number",
"description": "Cap results (default 5)"
}
}
}Parent server
Pubchem
https://github.com/pipeworx-io/mcp-pubchem
1/7 registries