Skip to main content
Glama
pubchem-chemical-compounds-mcp

pubchem-chemical-compounds-mcp

pubchem-chemical-compounds-mcp

Look up chemical compounds in NCBI PubChem by name or molecular formula, fetch physicochemical descriptors, list synonyms and CAS identifiers, and read curated descriptions over Model Context Protocol (MCP). Medicinal chemists, pharma analysts, and cheminformatics pipelines can query more than 115 million PubChem compounds with zero API keys and zero sign-up. It works right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://pubchem-chemical-compounds-mcp.lipmichal.workers.dev/mcp

Related MCP server: ChemDraw Server

Available tools

Tool

Purpose

get_compound_by_name

Look up a PubChem compound by common name, drug name, or IUPAC name with core molecular descriptors

get_compound_properties

Fetch molecular weight, formula, SMILES, InChIKey, XLogP, TPSA, and H-bond counts for one or more CIDs

get_compound_synonyms

Retrieve chemical synonyms, CAS registry numbers, and trade names by PubChem CID or compound name

search_by_formula

Search PubChem compounds matching a molecular formula such as C9H8O4 and enrich results with IUPAC names

get_compound_description

Fetch curated scientific descriptions, pharmacology notes, and safety summaries by CID or name

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "pubchem-chemical-compounds": {
      "url": "https://pubchem-chemical-compounds-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream call hits pubchem.ncbi.nlm.nih.gov/rest/pug with a clear User-Agent header and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't stick in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version 2026-07-28 cleanly down to the SDK version.

More MCP Servers and Readiness Check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

Available Tools

5 tools
get_compound_by_nameGet PubChem compound by nameA
Read-onlyIdempotent
Inspect

Look up a chemical compound in NCBI PubChem by common name, drug name, or IUPAC name and return CID, formula, weight, SMILES, InChIKey, XLogP, and TPSA.

Inputs: name (required).

get_compound_descriptionGet PubChem compound descriptionB
Read-onlyIdempotent
Inspect

Retrieve curated scientific descriptions, pharmacology notes, and safety summaries for a PubChem compound by CID or name.

Inputs: cid, name.

get_compound_propertiesGet PubChem compound propertiesA
Read-onlyIdempotent
Inspect

Fetch molecular descriptors and physicochemical properties for one or more PubChem Compound IDs (CIDs).

Inputs: cid (required), properties.

get_compound_synonymsGet PubChem compound synonymsA
Read-onlyIdempotent
Inspect

Retrieve chemical synonyms, CAS registry numbers, UNII codes, and trade names for a PubChem compound by CID or name.

Inputs: cid, name, limit.

search_by_formulaSearch PubChem compounds by formulaA
Read-onlyIdempotent
Inspect

Search PubChem compounds matching a molecular formula (e.g. "C9H8O4", "C8H10N4O2") and return CIDs with IUPAC names and SMILES.

Inputs: formula (required), limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool targets a distinct retrieval facet: name lookup, bulk properties, synonyms, formula search, and descriptions. The only real overlap is that get_compound_by_name already returns formula, weight, SMILES, XLogP and TPSA, which blurs it slightly against get_compound_properties, but the batch/multi-CID framing keeps them separable.

    Naming Consistency4/5

    Four of five tools follow a clean get_compound_<aspect> pattern, with matching casing and verb style. search_by_formula is the sole deviation, though it is still a readable verb_noun form and accurately signals a different operation class (search vs. fetch).

    Tool Count4/5

    Five tools is lean but well-matched to a compound-lookup server, with each tool earning its place and no filler. It sits at the low edge of the ideal 3-15 band, so adding one or two more retrieval modes would strengthen rather than bloat it.

    Completeness4/5

    The surface covers identity, descriptors, synonyms/identifiers, formula search, and descriptive/pharmacology text — good lifecycle coverage for read-only compound lookup. Gaps exist for identifier-based search (InChIKey/SMILES) and structure/similarity search, which agents may reasonably expect from a PubChem server.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      Extracts basic chemical information and drug data from the PubChem API. It enables users to retrieve molecular details such as SMILES, IUPAC names, molecular formulas, and synonyms for specific compounds.
      3
      11
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides chemical informatics endpoints for converting between chemical names and SMILES, processing molecule structures, and comparing molecules, with MCP compatibility.
      5
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      An MCP server for chemistry: it computes molecular weights and isotope distributions from chemical formulae and resolves compound name/formula lookups, backed by NIST atomic-weight data and a cached finder over multiple online and offline sources.
      5
      1
      GPL 3.0