About
A Python MCP server that lets AI models query compound properties, 2D/3D structures, and download files from PubChem via a standard interface. It supports JSON, CSV, XYZ outputs with caching and retry logic.
Capabilities

PubChem MCP Server bridges the gap between AI assistants and the vast chemical knowledge housed in PubChem. By exposing a Model Context Protocol (MCP) interface, it lets models such as Claude query compound data without writing custom API wrappers or handling authentication. The server turns a simple text prompt into structured chemical information—molecular formulas, SMILES strings, InChI keys, and even 3D coordinates—ready for downstream tasks like visualization, property prediction, or drug‑design workflows.
For developers building AI‑powered chemistry tools, this server offers a turnkey solution. Instead of integrating with the RESTful PubChem API directly, an AI model can invoke two high‑level MCP tools: and . The former fetches comprehensive metadata in JSON, CSV, or XYZ format, while the latter retrieves downloadable structure files (SDF, MOL, SMILES). Because these tools are auto‑approved in the MCP configuration, developers can embed them into conversational agents with minimal friction, enabling instant chemical queries within chat or automated pipelines.
Key capabilities include:
- Flexible querying by compound name or PubChem CID, allowing natural language inputs to resolve automatically.
- Rich data output: IUPAC names, molecular formulas, weights, SMILES, InChI, and InChIKey.
- Multiple formats: JSON for programmatic use, CSV for spreadsheets, XYZ for 3D visualization.
- Built‑in caching and retry logic that reduce latency and increase reliability, especially important for large batch requests.
- 3D fallback generation using RDKit when PubChem’s 3D data is missing, ensuring that visual and structural analyses can proceed without interruption.
Real‑world scenarios benefit from this integration: a medicinal chemist could ask an AI assistant for the 3D coordinates of a lead compound and receive an XYZ file instantly; a data scientist might batch‑download SDF files for machine‑learning training; or an educational platform could provide interactive visualizations of user‑searched molecules. In each case, the MCP server eliminates boilerplate code and centralizes data access, allowing developers to focus on higher‑level logic.
By embedding PubChem’s extensive database into the MCP ecosystem, this server offers a scalable, reliable, and developer‑friendly pathway for AI assistants to unlock chemical intelligence—making it an indispensable component of modern computational chemistry and drug‑discovery pipelines.
Related Servers
MCP Toolbox for Databases
AI‑powered database assistant via MCP
Baserow
No-code database platform for the web
DBHub
Universal database gateway for MCP clients
Anyquery
Universal SQL engine for files, databases, and apps
MySQL MCP Server
Secure AI-driven access to MySQL databases via MCP
MCP Memory Service
Universal memory server for AI assistants
Weekly Views
Server Health
Information
Explore More Servers
WhatsApp MCP Local Ollam
Local WhatsApp automation via MCP server and web bridge
Rust MCP Filesystem
Fast, async Rust server for efficient filesystem operations
Unichat MCP Server
Unified AI chat through any vendor via MCP
Snowflake MCP Server
Seamless SQL queries and insights from Snowflake
Alibaba Cloud DMS MCP Server
Unified multi‑cloud data management platform
Dynamic Tool Mcp Server
MCP Server: Dynamic Tool Mcp Server