Skip to main content
Glama

PubChem MCP Server

search_compounds

Search the PubChem database for chemical compounds using names, CAS numbers, formulas, or identifiers to retrieve relevant results efficiently.

Instructions

Search PubChem database for compounds by name, CAS number, formula, or identifier

Input Schema

NameRequiredDescriptionDefault
max_recordsNoMaximum number of results (1-10000, default: 100)
queryYesSearch query (compound name, CAS, formula, or identifier)
search_typeNoType of search to perform (default: name)

Input Schema (JSON Schema)

{ "properties": { "max_records": { "description": "Maximum number of results (1-10000, default: 100)", "maximum": 10000, "minimum": 1, "type": "number" }, "query": { "description": "Search query (compound name, CAS, formula, or identifier)", "type": "string" }, "search_type": { "description": "Type of search to perform (default: name)", "enum": [ "name", "smiles", "inchi", "sdf", "cid", "formula" ], "type": "string" } }, "required": [ "query" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Augmented-Nature/PubChem-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server