PubChem MCP Server

A Model Context Protocol (MCP) server for retrieving chemical compound data from PubChem database.

Local serverstdio

What is the PubChem MCP Server?

PubChem MCP Server source profile. From the maintainer documentation: “A Model Context Protocol (MCP) server for retrieving chemical compound data from PubChem database.”

Local setup

The project provides a local client configuration using python3. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares PYTHONUNBUFFERED. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_pubchem_data
download_structure

How to install the PubChem MCP Server

{
  "mcpServers": {
    "pubchem": {
      "command": "python3",
      "args": [
        "/path/to/pubchem-mcp-server/python_version/mcp_server.py"
      ],
      "env": {
        "PYTHONUNBUFFERED": "1"
      },
      "disabled": false,
      "autoApprove": [
        "get_pubchem_data",
        "download_structure"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
PYTHONUNBUFFEREDDeclared in the maintainer’s client configuration.Check documentation