Best for
- Researchers and developers integrating chemical database queries into LLM-driven tools.
- Those preferring a public hosted endpoint or self-hosting their own MCP server.
This is a feature-rich and well-documented server for users wanting to integrate PubChem data into AI workflows. It offers a comprehensive set of tools and resources with easy setup. Note that it is not an official PubChem project, and the public endpoint is community-hosted.
Strongest · Documentation 14/20 Weakest · Reliability 10/20
Static review · not runListed 2026-09-08
Read the FMRS scoring method →Runtime:Bun 1.3.0+ · Node.js 24+ · Docker · Hosted (no local runtime)
MCP_TRANSPORT_TYPE
Chooses stdio or http transport; defaults to stdio; no setup needed.
MCP_HTTP_HOST
Hostname for the HTTP server; defaults to 127.0.0.1; optional.
MCP_HTTP_PORT
Port for the HTTP server; defaults to 3010; optional.
MCP_HTTP_ENDPOINT_PATH
Endpoint path for MCP; defaults to /mcp; optional.
MCP_AUTH_MODE
Auth mode: none, jwt, or oauth; defaults to none; optional.
MCP_LOG_LEVEL
Minimum log level (RFC 5424); defaults to info; optional.
STORAGE_PROVIDER_TYPE
Storage backend; defaults to in-memory; optional.
OTEL_ENABLED
Enable OpenTelemetry tracing; defaults to false; optional.
Install Bun v1.3.0 or higher (or Node.js v24+). Then add a configuration to your MCP client (e.g., claude_desktop_config.json) with type 'stdio', command 'bunx', and args ['@cyanheads/pubchem-mcp-server@latest']. No API keys are required.
{
"mcpServers": {
"pubchem-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": [
"@cyanheads/pubchem-mcp-server@latest"
],
"env": {
"MCP_TRANSPORT_TYPE": "stdio"
}
}
}
}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"pubchem-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": [
"@cyanheads/pubchem-mcp-server@latest"
],
"env": {
"MCP_TRANSPORT_TYPE": "stdio"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add pubchem-mcp-server -e MCP_TRANSPORT_TYPE=stdio -- bunx @cyanheads/pubchem-mcp-server@latest
Run it in a terminal; replace any <…> placeholders with your own values first.
After connecting, the client should list the 10 tools such as pubchem_search_compounds; asking 'What is the molecular weight of aspirin?' and getting PubChem data back confirms the install works.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
PubChem MCP Server is a community-maintained server that enables AI assistants to query the PubChem chemical database. It provides tools for searching compounds by name, structure, etc., fetching detailed information, images, 3D structures, external cross-references, safety data, bioactivity, interactions, and entity summaries. It also exposes resources for direct access to compound and assay data. It supports Streamable HTTP and can be used via a public hosted instance or self-hosted locally over stdio or HTTP. No API keys are required, and all tools are read-only.
Connect ClickHouse to your AI assistants
Unofficial MCP server providing advanced access to the ChEMBL chemical database
Google's official database MCP toolbox — define AI-accessible database tools via config
Bytebase's official, minimalist two-tool database MCP server
Source revision 4d00a1eebf14 Data synced 2026-10-19 Read the FMRS scoring method