L'Atlas / MCP servers / pubchem-mcp-server
MCP server

pubchem-mcp-server

io.github.cyanheads/pubchem-mcp-server

MCP server OK 10 tools

Get a review See pricing

Search PubChem compounds, properties, safety data, bioactivity, and cross-references.

Technical sheet

Author
cyanheads (registry namespace)
Repository
github.com/cyanheads/pubchem-mcp-server
Site
—
Version
0.9.0
Transport
Streamable HTTP stdio
Authentication
None (observed by our test)
Server address
https://pubchem.caseyjhand.com/mcp Streamable HTTP
Packages
@cyanheads/pubchem-mcp-server 0.9.0 npm stdio
@cyanheads/pubchem-mcp-server 0.9.0 npm Streamable HTTP
Tools
10
Categories
—
Last updated
24 Nov 2026
Published
24 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.cyanheads/pubchem-mcp-server.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cyanheads/pubchem-mcp-server)
HTML
<a href="https://latlas.dev/en/mcp/io.github.cyanheads/pubchem-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/pubchem-mcp-server.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.cyanheads/pubchem-mcp-server.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cyanheads/pubchem-mcp-server)
HTML
<a href="https://latlas.dev/en/mcp/io.github.cyanheads/pubchem-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/pubchem-mcp-server.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://pubchem.caseyjhand.com/mcp
Last result
OK 28 Nov 2026, 10:46
Response time
1,569 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
pubchem-mcp-server 0.9.0
Tools
10

History

DateResultResponseTools
28 Nov 2026, 10:46OK1,569 ms10

Exposed tools (10, from tools/list, 28 Nov 2026)

pubchem_search_compounds

Search Compounds

Search PubChem for chemical compounds by identifier (name, SMILES, InChI, or InChIKey, up to 25 per call), molecular formula in Hill notation, substructure or superstructure containment, 2D Tanimoto similarity, the compounds a bioassay (AID) found active or tested, or an accurate mass or molecular weight range. Returns a page of CIDs, each similarity hit with its Tanimoto score — reach matches past maxResults with offset. Optionally hydrate results with properties to avoid a follow-up pubchem_get_compound_details call.

ParameterTypeRequiredDescription
searchTypeenum: "identifier" | "formula" | "substructure" | "superstructure" | "similarity" | "assay" | "mass"yesSearch strategy; each mode needs its own fields. "identifier": name/SMILES/InChI/InChIKey lookup — requires identifierType and identifiers. "formula": molecular formula — requires formula. "substructure": find compounds containing the query as a substructure. "superstructure": find compounds that a…
identifierTypeenum: "name" | "smiles" | "inchi" | "inchikey"noRequired for identifier search. Type of chemical identifier: "name", "smiles", "inchi" (a full InChI string, case-sensitive), or "inchikey".
identifiersarray<string>noRequired for identifier search. Array of identifiers to resolve. The per-call cap is 25: the first 25 are looked up, and any past that (up to 1000 in all) are returned in unprocessed, in input order, and reported in cappedInputs. Examples: ["aspirin", "ibuprofen"] for name, ["CC(=O)OC1=CC=CC=C1C(=O…
formulastringnoRequired for formula search. Molecular formula in Hill notation (e.g. "C6H12O6", "CaH2O2").
allowOtherElementsbooleannoFormula search only. When true, includes compounds with additional elements beyond the formula.
querystringnoRequired for substructure/superstructure/similarity searches. A SMILES string (e.g. "CC(=O)O") or PubChem CID as a string from 1 to 2147483647 (e.g. "2244").
queryTypeenum: "smiles" | "cid"noRequired for structure/similarity searches. Format of the query: "smiles" or "cid".
thresholdnumbernoSimilarity search only. Minimum Tanimoto similarity (70-100). 90+ for close analogs, 70-80 for scaffold hops. Hits come in PubChem's order, not ranked by score, so raising threshold is how to narrow a page to closer analogs. 100 means a fingerprint identical to the query's, not an identical compoun…
aidintegernoRequired for assay search. PubChem Assay ID (AID) whose compounds to list, from 1 to 2147483647, e.g. 1000. Find AIDs for a biological target with pubchem_search_assays.
activeOnlybooleannoAssay search only. When true (default), lists only the compounds the assay marked active; false lists every compound it tested.
massTypeenum: "monoisotopic_mass" | "exact_mass" | "molecular_weight"noRequired for mass search. The mass that massMin and massMax bound: "monoisotopic_mass" (from each element's most abundant isotope; the usual high-resolution MS target), "exact_mass" (the most likely isotopic composition, which gives the most intense peak; differs from monoisotopic_mass for compound…
massMinnumbernoRequired for mass search. Lower bound of the mass window, inclusive, in daltons (g/mol for molecular_weight): 0 or more, and no greater than massMax. E.g. 180.063.
massMaxnumbernoRequired for mass search. Upper bound of the mass window, inclusive, in daltons (g/mol for molecular_weight); equal to massMin for one exact value. E.g. 180.064. PubChem counts at most 1000000 matches in a window and can time out on one hundreds of Da wide; narrow the window if either happens.
offsetintegernoZero-based index of the first CID to return. Pass the nextOffset from a previous call to read the following page. Identifier lookups resolve every match up front, so paging them is free, and assay and mass searches fetch only the requested page, so all three page to the end of their matches; a mass…
maxResultsintegernoMaximum CIDs to return per page. The per-call cap is 200: a larger value (up to 1000) returns a page of 200 and is reported in cappedInputs. Use offset to reach matches past this page. Default: 20.
propertiesarray<enum: "MolecularFormula" | "MolecularWeight" | "CanonicalSMILES" | "IsomericSMILES" | "InChI" | "InChIKey" | "IUPACName" | "Title" …>noOptional: fetch these properties for each result, avoiding a follow-up details call. E.g. ["MolecularFormula", "MolecularWeight", "CanonicalSMILES"].

pubchem_get_compound_details

Get Compound Details

Get detailed compound information by CID. Returns physicochemical properties (molecular weight, SMILES, InChIKey, XLogP, TPSA, etc.), optionally with a textual description (pharmacology, mechanism, therapeutic use), known synonyms, drug-likeness assessment (Lipinski/Veber rules), and/or pharmacological classification (FDA classes, MeSH classes, ATC codes). Fetches up to 100 CIDs per call; CIDs past that are returned in unprocessed for a follow-up call.

ParameterTypeRequiredDescription
cidsarray<integer>yesPubChem Compound IDs to fetch. The per-call cap is 100: the first 100 are fetched, and any past that (up to 1000 in all) are returned in unprocessed, in input order, and reported in cappedInputs. Resolve from names/SMILES with pubchem_search_compounds.
propertiesarray<enum: "MolecularFormula" | "MolecularWeight" | "CanonicalSMILES" | "IsomericSMILES" | "InChI" | "InChIKey" | "IUPACName" | "Title" …>noProperties to retrieve. Defaults to a core set: Title (PubChem's display name: the common name when the record has one, otherwise often the IUPAC name or a depositor ID; absent on some records), MolecularFormula, MolecularWeight, IUPACName, CanonicalSMILES, IsomericSMILES, InChIKey, XLogP, TPSA, HB…
includeDescriptionbooleannoInclude textual descriptions (pharmacology, mechanism, therapeutic use) attributed by source. Well-studied compounds have many overlapping summaries — paged via descriptionOffset/maxDescriptions. Fetched only for the first 10 CIDs in the batch; remaining CIDs return without descriptions and are lis…
descriptionOffsetintegernoZero-based index of the first description to return within each compound's description list. The same offset is applied to every compound in the batch. Pass the nextDescriptionOffset from a previous call to read the following page. Default: 0.
maxDescriptionsintegernoMax number of distinct description entries per compound per page. The per-call cap is 20: a larger value (up to 1000) returns 20 per compound and is reported in cappedInputs. PubChem returns near-duplicate summaries from many depositors; duplicates are collapsed before this cap applies. Default: 3.
includeSynonymsbooleannoFetch known names and synonyms (trade names, systematic names, registry numbers), paged via synonymOffset/maxSynonyms. Fetched for every found CID in the batch. Slower for large CID lists.
synonymOffsetintegernoZero-based index of the first synonym to return within each compound's synonym list. The same offset is applied to every compound in the batch. Pass the nextSynonymOffset from a previous call to read the following page. Default: 0.
maxSynonymsintegernoMax synonyms returned per compound per page. The per-call cap is 100: a larger value (up to 1000) returns 100 per compound and is reported in cappedInputs. PubChem lists hundreds for common drugs; use synonymOffset to reach the ones past this page. Default: 20.
includeDrugLikenessbooleannoCompute drug-likeness assessment: Lipinski Rule of Five (MW, XLogP, HBD, HBA) and Veber rules (TPSA, rotatable bonds). Computed from the returned properties, so it adds no latency.
includeClassificationbooleannoInclude pharmacological classification: FDA Established Pharmacologic Classes, mechanisms of action, MeSH classes, and ATC codes. Fetched only for the first 10 CIDs in the batch; remaining CIDs return without classification and are listed in the response's skippedCids.

pubchem_get_compound_image

Get Compound Image

Fetch a 2D structure diagram (PNG image) for a compound by CID.

ParameterTypeRequiredDescription
cidintegeryesPubChem Compound ID. Resolve from name/SMILES with pubchem_search_compounds.
sizeenum: "small" | "large"noImage size: "small" (100x100) or "large" (300x300). Default: "large".

pubchem_get_compound_3d_structure

Get Compound 3D Structure

Get one 3D conformer of a compound — atomic coordinates and bonds — for one CID: its default conformer, or the one conformerId names. format="json" (default) returns atoms and bonds parsed into structured fields; format="sdf" returns the raw V2000 SDF text for passthrough to docking, rendering, or conformer tools. Optionally lists the compound's other conformer IDs, each one a value for conformerId. Not every compound has computed 3D coordinates (large molecules, mixtures, and some salts do not).

ParameterTypeRequiredDescription
cidintegeryesPubChem Compound ID. Resolve from name/SMILES with pubchem_search_compounds.
conformerIdstringnoFetch this conformer of the compound instead of its default: a conformer ID from alternateConformerIds (includeAlternateConformerIds: true), 16 hexadecimal digits whose first 8 are the CID in hexadecimal (e.g. "000008C40000000B" for CID 2244). Either case is accepted. Omit, or leave blank, for the…
formatenum: "sdf" | "json"noOutput format. "json" (default) returns parsed atoms and bonds. "sdf" returns the raw V2000 SDF text for passthrough to other tools.
includeAlternateConformerIdsbooleannoList the IDs of the compound's other computed conformers, each one a value for conformerId. Slower than the default response. Default: false.
maxAtomsintegernoCap the atoms returned in the format="json" preview. atomCount always reports the full total; omitted rows are disclosed via the truncated/shownAtoms enrichment. Defaults to the first 200 atoms.
maxBondsintegernoCap the bonds returned in the format="json" preview. bondCount always reports the full total; omitted rows are disclosed via the truncated/shownBonds enrichment. Defaults to the first 200 bonds.
includeRawSdfbooleannoFor format="sdf", return the complete raw V2000 SDF even when it exceeds the safe line cap. Default false: an SDF longer than 500 lines is line-capped with disclosure. No effect when format="json".

pubchem_get_compound_xrefs

Get Compound Cross-References

Get external database cross-references for a compound: PubMed citations, patent IDs, gene associations, CAS and EC numbers with the number of source records that deposited each, other registry numbers, and taxonomy IDs. Results are paged per type — capped at maxPerType with the total count reported; reach the IDs past a page with offset. PubMed IDs come highest (most recently assigned) first and the other numeric types in ascending order; CAS and EC come most-attested first; the other string IDs keep PubChem's order. A type that fails to load is named in failedTypes while the others still return; the call fails only when a type fails and no type other than ProteinGI (which PubChem no longer serves) loads.

ParameterTypeRequiredDescription
cidintegeryesPubChem Compound ID. Resolve from name/SMILES with pubchem_search_compounds.
xrefTypesarray<enum: "RegistryID" | "RN" | "PubMedID" | "PatentID" | "GeneID" | "ProteinGI" | "TaxonomyID" | "CAS" …>yesCross-reference types to retrieve. String IDs: CAS (the CAS Registry Numbers deposited for this compound, most-attested first, each with the number of source records that deposited it — the first is the value most source records agree on), EC (European Community numbers, ordered and counted the sam…
offsetintegernoZero-based index of the first ID to return within each xref type. The same offset is applied to every requested type. Pass the nextOffset from a previous call to read the following page. Default: 0.
maxPerTypeintegernoMax IDs to return per xref type per page. The per-call cap is 500: a larger value (up to 1000) returns 500 per type and is reported in cappedInputs. A compound may have thousands of PubMed references; use offset to reach the ones past this page. Total count always reported. Default: 50.

pubchem_get_compound_safety

Get Compound Safety

Get GHS (Globally Harmonized System) hazard classification and safety data for one or more compounds by CID. Returns signal word, pictograms, hazard statements (H-codes), and precautionary statements (P-codes) per compound, merged across sources, plus each source's own classification — its signal word, pictograms, H-codes with ECHA notifier agreement percentages, and notification counts — since sources often disagree. Reports ECHA "Not Classified" verdicts as their own status.

ParameterTypeRequiredDescription
cidsarray<integer>yesPubChem Compound IDs to fetch safety data for. The per-call cap is 25: the first 25 are looked up, and any past that (up to 1000 in all) are returned in unprocessed, in input order, and reported in cappedInputs. Resolve from names/SMILES with pubchem_search_compounds.

pubchem_get_bioactivity

Get Bioactivity

Get a compound's bioactivity profile: which assays tested it, activity outcomes (Active/Inactive/Inconclusive), target identifiers (NCBI Gene ID, UniProt/GenBank accession), quantitative values (IC50, EC50, Ki, etc.), each assay's type (confirmatory, screening, summary, other), and the PubMed IDs it cites. Filter by outcome, a specific molecular target (NCBI Gene ID or protein accession), assay type, and/or activity name (e.g. IC50) to focus the profile, and rank by potency within the named measurements — e.g. "is this compound active against target T in confirmatory assays?" or "what is its lowest IC50 against T?".

ParameterTypeRequiredDescription
cidintegeryesPubChem Compound ID. Resolve from name/SMILES with pubchem_search_compounds.
outcomeFilterenum: "active" | "inactive" | "all"noFilter by activity outcome against each assay's reported target: the target a target filter matched, else the first target the assay lists. For a multi-target assay, outcomes against its other targets (in otherTargets) do not count. "active" keeps assays where that outcome is Active — most useful f…
targetGeneIdintegernoFilter to assays against this NCBI Gene ID (1 to 2147483647), including assays recorded only under a protein accession this compound's assay table pairs with the Gene ID (e.g. 5742 also reaches rows carrying only P23219 when another row pairs the two). Obtain Gene IDs from the GeneID:N in a pubchem…
targetAccessionstringnoFilter to assays against this target protein accession (UniProt/RefSeq/GenBank/PDB chain), e.g. "P35354", including assays recorded only under a Gene ID or another accession this compound's assay table pairs with it. Uppercased before matching; a PDB chain ID (the "A" in "1ZHH_A") is kept as given.…
assayTypearray<enum: "confirmatory" | "screening" | "summary" | "other">noKeep only assays of these types: "confirmatory" (dose-response and other follow-up assays), "screening" (primary high-throughput screens), "summary" (records summarizing a project's assays), "other". Matched against PubChem's Assay Type regardless of case; an assay with no recorded type matches non…
activityNamearray<string>noKeep only assays whose reported target has an activity value with one of these measurement names (e.g. ["IC50"], ["Ki", "Kd"]), and narrow that target's activityValues to the matching values; otherTargets are left as they are. Names match whole and regardless of case ("ic50" matches "IC50", not "IC…
sortenum: "table" | "potency"no"table" (default) keeps PubChem's assay order (by AID). "potency" orders assays by their lowest matching activity value, ascending (most potent first), ties to the lower AID; every value in a compound's table shares one unit (uM). "potency" requires activityName: the value column also holds non-pot…
offsetintegernoZero-based index of the first assay to return, applied after every filter and the sort order. Pass the nextOffset from a previous call to read the following page. Default: 0.
maxResultsintegernoMax assay results to return per page. The per-call cap is 100: a larger value (up to 1000) returns a page of 100 and is reported in cappedInputs. Well-studied compounds have thousands of records; use offset to reach the ones past this page. Default: 20.

pubchem_get_compound_interactions

Get Compound Interactions

Get a compound's interaction data: drug-food interactions, and the molecular targets its bioassays name — one entry per target as kinds defines it, with its assay counts by outcome and most potent active value, Active targets first, most potent first. Each entry carries its originating source. Results are paged per kind, with the record total and the next offset reported for each. Drug-food coverage is richest for approved drugs; target covers any compound PubChem has assay data for, and pubchem_get_bioactivity lists one target's assays when given the entry's GeneID or accession. Drug-drug interactions (DrugBank) are unavailable while PubChem's SDQ service refuses automated requests: an explicit drug-drug request is reported in failedKinds while the other kinds still return.

ParameterTypeRequiredDescription
cidintegeryesPubChem Compound ID. Resolve from name/SMILES with pubchem_search_compounds.
kindsarray<enum: "drug-drug" | "drug-food" | "target">noInteraction kinds to fetch. "drug-food" (dietary interactions, from PUG View), "target" (molecular targets from the compound's assay summary: one entry per Gene ID with the accessions the table pairs with it, and one per identifier it never pairs, so a Gene ID and an accession that no row pairs are…
offsetintegernoZero-based start position within each requested kind, counted in records (molecular targets, for target) rather than returned entries. The same offset applies to every kind in the call, and the kinds advance at different rates — when paging past the first page, request one kind per call and pass th…
maxEntriesintegernoMax entries per kind per page. The per-call cap is 50: a larger value (up to 1000) reads a page of 50 per kind and is reported in cappedInputs. Well-studied drugs have a long tail of interactions; use offset to reach the ones past this page. Default: 10.

pubchem_search_assays

Search Assays

Find PubChem bioassays associated with a biological target. Search by gene symbol (e.g. "EGFR"), protein name, NCBI Gene ID, or UniProt accession. Returns a page of assay IDs (AIDs) — page past maxResults with offset — which can be explored further with pubchem_get_summary.

ParameterTypeRequiredDescription
targetTypeenum: "genesymbol" | "proteinname" | "geneid" | "proteinaccession"yesTarget identifier type. "genesymbol" and "proteinname" accept text names; a genesymbol matches the symbol case-insensitively across species, so a human symbol also returns assays on other species' orthologs. "geneid" accepts NCBI Gene IDs. "proteinaccession" accepts UniProt accessions. "geneid" and…
targetQuerystringyesTarget identifier. Examples: "EGFR" (genesymbol), "Epidermal growth factor receptor" (proteinname), "1956" (geneid), "P00533" (proteinaccession; uppercased before lookup, except a PDB chain ID such as the "A" in "1ZHH_A", which is kept as given).
offsetintegernoZero-based index of the first AID to return. Pass the nextOffset from a previous call to read the following page. Default: 0.
maxResultsintegernoMax AIDs to return per page. The per-call cap is 200: a larger value (up to 1000) returns a page of 200 and is reported in cappedInputs. Popular targets may have thousands of assays; use offset to reach the ones past this page. Default: 50.

pubchem_get_summary

Get Entity Summary

Get descriptive summaries for PubChem entities by ID. Supports assays (AID), genes (Gene ID), proteins (UniProt accession), and taxonomy (Tax ID). Up to 10 per call; identifiers past that are returned in unprocessed for a follow-up call.

ParameterTypeRequiredDescription
entityTypeenum: "assay" | "gene" | "protein" | "taxonomy"yesEntity type. Determines ID format and returned fields.
identifiersarray<string>yesEntity identifiers. A comma-joined string is split into one identifier per piece, with whitespace trimmed. The per-call cap is 10 pieces: the first 10 are looked up, and any past that are returned in unprocessed, in input order, and reported in cappedInputs. More than 1000 pieces in all fails the c…

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://pubchem.caseyjhand.com/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http pubchem-mcp-server https://pubchem.caseyjhand.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : pubchem-mcp-server ; URL : https://pubchem.caseyjhand.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : pubchem-mcp-server ; Server URL : https://pubchem.caseyjhand.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "pubchem-mcp-server": {
      "url": "https://pubchem.caseyjhand.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "pubchem-mcp-server": {
      "type": "http",
      "url": "https://pubchem.caseyjhand.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "pubchem-mcp-server": {
      "url": "https://pubchem.caseyjhand.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "pubchem-mcp-server": {
      "httpUrl": "https://pubchem.caseyjhand.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.pubchem-mcp-server]
url = "https://pubchem.caseyjhand.com/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

pubchem-mcp-server · L’Atlas · Tested on

Markdown
[pubchem-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/pubchem-mcp-server)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.