pubchem mcp server

pubchem mcp server

By sssjiang GitHub

-

pubchem mcp
Overview

what is PubChem MCP Server?

The PubChem MCP Server is a tool designed to extract basic chemical information about drugs from the PubChem API.

how to use PubChem MCP Server?

To use the PubChem MCP Server, clone the repository, install the dependencies, and configure the server settings in the servers_config.json file. You can then run the server to retrieve drug information.

key features of PubChem MCP Server?

  • Extracts detailed chemical information from the PubChem database.
  • Supports multiple server configurations for flexibility.
  • Provides results in a structured JSON format.

use cases of PubChem MCP Server?

  1. Retrieving chemical properties of various drugs for research purposes.
  2. Integrating drug information into applications for healthcare professionals.
  3. Assisting in drug discovery and development processes.

FAQ from PubChem MCP Server?

  • What programming language is used for the PubChem MCP Server?

The server is built using Python 3.10.

  • How can I install the PubChem MCP Server?

You can install it by cloning the repository and running the installation commands provided in the documentation.

  • Can I configure multiple servers?

Yes! The servers_config.json allows for easy integration of multiple servers.

Content

pubchem mcp server

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

Requirements

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

Installation

Install the dependencies(local):

  • Install directly from the project directory
git clone [project repository URL]
cd [project directory]
pip install .

Configure servers(pypi):

The servers_config.json follows the same structure as Claude Desktop, allowing for easy integration of multiple servers. Here's an example:

{
  "mcpServers": {
    "pubchem": {
      "command": "uvx",
      "args": ["pubchem_mcp_server"]
    }
  }
}

the result of this MCP

{
  "Drug Name": "Aspirin",
  "CAS Number": "50-78-2",
  "Molecular Weight": 180.16,
  "Molecular Formula": "C9H8O4",
  "SMILES": "CC(=O)OC1=CC=CC=C1C(=O)O",
  "Synonyms": [
    "2-(Acetyloxy)benzoic Acid",
    "Acetylsalicylic Acid",
    "Acetysal",
    "Acylpyrin",
    "Aloxiprimum",
    "Aspirin",
    "Colfarit",
    "Dispril",
    "Easprin"
  ],
  "InchI Key": "BSYNRYMUTXBXSQ-UHFFFAOYSA-N",
  "IUPAC Name": "2-acetyloxybenzoic acid",
  "ATC Code": "N02BA01",
  "Details Link": "https://pubchem.ncbi.nlm.nih.gov/compound/2244"
}
No tools information available.
School MCP
School MCP by 54yyyu

A Model Context Protocol (MCP) server for academic tools, integrating with Canvas and Gradescope platforms.

canvas mcp
View Details
repo-template
repo-template by loonghao

A Model Context Protocol (MCP) server for Python package intelligence, providing structured queries for PyPI packages and GitHub repositories. Features include dependency analysis, version tracking, and package metadata retrieval for LLM interactions.

-

google-calendar mcp
View Details
strava-mcp
strava-mcp by jeremysilva1098

MCP server for strava

strava mcp
View Details

Model Context Protocol (MCP) server implementation for Rhinoceros/Grasshopper integration, enabling AI models to interact with parametric design tools

grasshopper mcp
View Details

MCP configuration to connect AI agent to a Linux machine.

security mcp
View Details

AI assistant built with Streamlit, NVIDIA NIM (LLaMa 3.3:70B) / Ollama, and Model Control Protocol (MCP).

python mcp
View Details