pubchem-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pubchem-mcpget properties for aspirin"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PubChem MCP
A small stdio MCP server for querying PubChem compound properties and structure images.
Tools
query_pubchem: returns formula, molecular weight, charge, SMILES, IUPAC name, atoms, bonds, and hydrogen-bond counts.img: returns PubChem structure-image URLs and MCP image objects.
Related MCP server: PubChem-MCP
Setup
Requires Python 3.10+.
python -m venv .venv
# Windows PowerShell
.\.venv\Scripts\Activate.ps1
# macOS/Linux
source .venv/bin/activate
pip install -r requirements.txtAdd the server to an MCP client (replace both paths with absolute paths):
{
"mcpServers": {
"pubchem": {
"command": "C:\\path\\to\\pubchem-mcp\\.venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\pubchem-mcp\\pcp_mcp.py"]
}
}
}You can also start it directly with python pcp_mcp.py.
Usage
Properties: call
query_pubchemwith{"compound_name": "aspirin"}.Structure image: call
imgwith{"compound_name": "aspirin"}.
Notes
Pass compound names in English; translate them before calling the tools if needed.
Internet access to PubChem is required. A name may match multiple compounds.
Image display depends on the MCP client;
imgalso returns browser-ready URLs.PubChem data should be independently verified before safety-critical, medical, or regulatory use.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables AI assistants to search and retrieve chemical compound information, structures, and physical properties from the PubChem database. It supports querying via compound names, SMILES notation, or CIDs to provide detailed molecular data for chemical analysis.5
- Flicense-qualityDmaintenanceAn MCP server that provides tools for querying the PubChem database for detailed information on chemical compounds, substances, bioassays, and molecular properties. It enables users to search by name, structure, or identifier to retrieve chemical classifications and cross-references through natural language.
- FlicenseBqualityFmaintenanceExtracts 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.311
- Alicense-qualityDmaintenanceProvides chemical informatics endpoints for converting between chemical names and SMILES, processing molecule structures, and comparing molecules, with MCP compatibility.4MIT
Related MCP Connectors
PubChem MCP — NIH chemistry compound database (no auth)
Search PubChem compounds, properties, safety data, bioactivity, and cross-references.
Science MCP — free science data APIs
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fishquito7/pubchem-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server