Pubchem MCP Server

the mcp is used to extract the drug basic chemical infomation from pubchem API.

Local serverstdioPython

What is the Pubchem MCP server?

If you want an AI assistant working directly with Pubchem, the pubchem mcp server is the bridge. the mcp is used to extract the drug basic chemical infomation from pubchem API.

What Pubchem does

the mcp is used to extract the drug basic chemical infomation from pubchem API.

Tools it exposes

Once connected, the assistant can call these 2 tools directly:

  • python-dotenv — requests
  • mcp — uvicorn

Installing the pubchem mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Configuration

The server reads one environment variable: SMILES. Keep credentials in your client's env block or a secrets manager rather than committing them.

Requirements

  • Python 3.10 - python-dotenv - requests - mcp - uvicorn

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Pubchem sits in that group, and the shape of its toolset — python-dotenv, mcp — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by sssjiang, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the pubchem mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
python-dotenvrequests
mcpuvicorn

Configuration

  • Python 3.10 - python-dotenv - requests - mcp - uvicorn
VariableDescriptionRequired
SMILESConfiguration value read at startup.Optional

Example prompts to try

  • Use Pubchem to python-dotenv.
  • Use Pubchem to mcp.

Frequently asked questions

It connects Pubchem to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (python-dotenv, mcp) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Pubchem directly.