Unofficial PubChem MCP Server

v1.0.0Data Science & MLstable

A comprehensive Model Context Protocol (MCP) server for accessing the PubChem chemical database. This server provides access to over 110 million chemical compounds with extensive molecular properties, bioassay data, and chemical informatics tools.

cheminformaticsmcp-serverpubchem
Share:
37
Stars
0
Downloads
0
Weekly
0/5

What is Unofficial PubChem MCP Server?

Unofficial PubChem MCP Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to comprehensive model context protocol (mcp) server for accessing the pubchem chemical database. this server provides access to over 110 million chemical compounds with extensive molecular properties, b...

A comprehensive Model Context Protocol (MCP) server for accessing the PubChem chemical database. This server provides access to over 110 million chemical compounds with extensive molecular properties, bioassay data, and chemical informatics tools.

This server falls under the Data Science & ML category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A comprehensive Model Context Protocol (MCP) server for acce

Use Cases

Access the PubChem chemical database with 110+ million compounds. Retrieve molecular properties, bioassay data, and chemical informatics.
LicenseNOASSERTION
Languagejavascript
Versionv1.0.0
UpdatedMay 18, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx unofficial-pubchem-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Unofficial PubChem MCP Server

The Unofficial PubChem MCP Server provides comprehensive access to PubChem's database of over 110 million chemical compounds through 24 specialized tools. It enables researchers and chemists to search by name, SMILES, InChI, or CAS number; retrieve molecular properties and 3D conformers; analyze drug-likeness using Lipinski's rules; query bioassay data; assess safety and toxicity; and perform similarity and substructure searches — all through natural language in Claude without needing to write API calls.

Prerequisites

  • Node.js 16+ and npm installed
  • Internet access to the PubChem REST API (no API key required)
  • An MCP-compatible client such as Claude Desktop or Claude Code
1

Clone the PubChem MCP Server repository

Download the server source code to your local machine.

git clone https://github.com/Augmented-Nature/PubChem-MCP-Server.git
cd PubChem-MCP-Server
2

Install Node.js dependencies

Install the required npm packages.

cd pubchem-server
npm install
3

Build the server

Compile the server code.

npm run build
4

Test the server starts correctly

Run the server briefly to confirm it starts without errors before adding it to your MCP client.

npm start
5

Configure your MCP client

Add the server to claude_desktop_config.json. No API keys or environment variables are needed — PubChem's API is freely accessible. Note the rate limits: 5 requests/second, 400 requests/minute.

{
  "mcpServers": {
    "pubchem": {
      "command": "node",
      "args": ["/absolute/path/to/PubChem-MCP-Server/pubchem-server/dist/index.js"]
    }
  }
}
6

Restart Claude Desktop and verify

Restart Claude Desktop and ask it to search for a common compound like aspirin to verify the 24 PubChem tools are available and working.

Unofficial PubChem MCP Server Examples

Client configuration

Example claude_desktop_config.json for the PubChem MCP Server — no API key needed.

{
  "mcpServers": {
    "pubchem": {
      "command": "node",
      "args": ["/Users/yourname/PubChem-MCP-Server/pubchem-server/dist/index.js"]
    }
  }
}

Prompts to try

Example research prompts for the PubChem MCP Server.

- "Search PubChem for aspirin and give me its molecular formula, weight, and SMILES string"
- "Find compounds similar to ibuprofen with at least 85% structural similarity"
- "Check if the compound with CID 2244 (aspirin) satisfies Lipinski's Rule of Five for drug-likeness"
- "Get the 3D conformer data for caffeine"
- "Search for bioassays that tested compounds against the EGFR protein target"
- "Look up safety and toxicity information for acetaminophen"
- "Find all CAS registry numbers and synonyms for glucose"

Troubleshooting Unofficial PubChem MCP Server

Rate limit errors from PubChem API

PubChem enforces a limit of 5 requests per second and 400 per minute. If you receive rate limit errors, space out your queries. The server respects these limits, but rapid sequential prompts may still trigger them. Wait a few seconds between complex multi-tool queries.

Compound not found for a search query

Try alternative search methods: if a name search fails, try searching by CAS number or SMILES string. PubChem's name matching is exact — try the IUPAC name or a common synonym. Use get_compound_synonyms to discover alternative names for a known compound.

Server exits immediately after 'npm start'

Ensure you ran 'npm run build' in the pubchem-server directory before starting. If the dist/ directory is missing, the build step has not completed. Check for build errors and ensure you are running Node.js 16+.

Frequently Asked Questions about Unofficial PubChem MCP Server

What is Unofficial PubChem MCP Server?

Unofficial PubChem MCP Server is a Model Context Protocol (MCP) server that comprehensive model context protocol (mcp) server for accessing the pubchem chemical database. this server provides access to over 110 million chemical compounds with extensive molecular properties, bioassay data, and chemical informatics tools. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Unofficial PubChem MCP Server?

Follow the installation instructions on the Unofficial PubChem MCP Server GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Unofficial PubChem MCP Server?

Unofficial PubChem MCP Server works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Unofficial PubChem MCP Server free to use?

Yes, Unofficial PubChem MCP Server is open source and available under the NOASSERTION license. You can use it freely in both personal and commercial projects.

Browse More Data Science & ML MCP Servers

Explore all data science & ml servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "unofficial-pubchem-mcp-server": { "command": "npx", "args": ["-y", "unofficial-pubchem-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Unofficial PubChem MCP Server?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides