Retrieve chemical identifiers and safety-relevant properties via the PubChem PUG REST API
domain: pubchem.ncbi.nlm.nih.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Identify the input you have: chemical name, CAS number, SMILES, or PubChem CID
Construct a PUG REST request following the input/operation/output pattern documented at pubchem.ncbi.nlm.nih.gov/docs/pug-rest
Request the output format you need, such as JSON or CSV
Use the returned CID to pull additional properties (molecular weight, structure, related safety data) in follow-up calls
Respect NCBI's informal rate-limit guidance to avoid throttling on high-volume lookups
Known gotchas
REGULATED/government source: PubChem is a public NIH (federal) database, not an industry SDS repository, so it won't return a supplier's actual SDS document, only chemical identity/property data
No API key is required, but looping single requests at high volume will get throttled; use PUG's batch/list-upload features instead
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?