PubChem-MCP
Access PubChem's database for chemical compounds, substances, and bioassays.
PubChem-MCP
An MCP (Model Context Protocol) server for accessing PubChem data. This server provides tools for querying the PubChem database for compounds, substances, bioassays, and related information.
Features
- Search for compounds by name, structure, or identifier
- Retrieve detailed information about compounds and substances
- Access bioassay data and molecular properties
- Query chemical classifications and cross-references
- Compatible with any MCP client, including Claude for Desktop
Installation
Option 1: From GitHub
# Clone the repository
git clone https://github.com/BioContext/PubChem-MCP.git
cd PubChem-MCP
# Create a virtual environment
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
Option 2: Using pip (Once published)
pip install pubchem-mcp
Usage
Running as a standalone server
# From source
python -m mcp_server
# If installed via pip
pubchem-mcp
Using with Claude for Desktop
- Install Claude for Desktop
- Configure Claude for Desktop to use this server by editing
~/Library/Application Support/Claude/claude_desktop_config.json(macOS/Linux) or%AppData%\Claude\claude_desktop_config.json(Windows):
{
"mcpServers": {
"pubchem": {
"command": "python",
"args": [
"-m",
"mcp_server"
]
}
}
}
- Restart Claude for Desktop
- You can now use the PubChem tools in Claude
Example queries for Claude
- "Find information about aspirin in PubChem"
- "What are the properties of compound CID 2244?"
- "Show me the structure of paracetamol"
Available Tools
search_compound: Search for compounds by name or identifierget_compound_details: Get detailed information about a compoundget_compound_properties: Get physical and chemical properties of a compoundsearch_bioassay: Search for bioassaysget_substance_details: Get detailed information about a substance- And more...
Development
# Clone the repository
git clone https://github.com/BioContext/PubChem-MCP.git
cd PubChem-MCP
# Create a virtual environment
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install development dependencies
pip install -e ".[dev]"
# Run tests
pytest
License
MIT License
相關伺服器
aml
AML Watcher MCP Server gives AI agents direct, real-time access to AML Watcher's proprietary sanctions, watchlist, and PEP databases. Connect your agentic workflows to 215+ sanctions regimes, 2.6M+ PEP profiles, and coverage across 235+ countries, no complex integrations required.
Noves MCP Server
Access blockchain transaction data in natural language, providing human-readable descriptions for AI assistants.
Zurich Open Data MCP Server
Enables Claude, ChatGPT, and other MCP-compatible AI assistants to directly query 900+ datasets, geodata, parliamentary proceedings, tourism data, linked data, and real-time environmental and mobility information from the City of Zurich. 20 Tools, 6 Resources, 6 APIs.
Nile Postgres
Manage and query databases, tenants, users, auth using LLMs
Kuzu
Inspect schemas and execute queries on Kuzu databases.
DANDI Query
Perform complex queries on the DANDI Archive, a platform for neurophysiology data.
CData MySQL MCP Server
A read-only MCP server for MySQL, enabling LLMs to query live data using the CData JDBC Driver.
CentralMind Gateway
Expose structured databases to AI agents via MCP or OpenAPI 3.1 protocols, with APIs optimized for AI workloads.
GreptimeDB
Provides AI assistants with a secure and structured way to explore and analyze data in GreptimeDB.
Supabase Coolify MCP Server
Comprehensive MCP server for managing self-hosted Supabase on Coolify with full deployment, migrations, edge functions, and rollback support.