MCP ExplorerExplorer

Pubchem Mcp Server

@sssjiangon a year ago
4 MIT
FreeCommunity
AI Systems
pubchem_mcp_server extracts drug chemical information from PubChem API.

Overview

What is Pubchem Mcp Server

pubchem_mcp_server is a server designed to extract basic chemical information about drugs from the PubChem API.

Use cases

Use cases for pubchem_mcp_server include extracting chemical data for drug development, conducting research on drug properties, and integrating drug information into applications for healthcare professionals.

How to use

To use pubchem_mcp_server, clone the project repository, navigate to the project directory, and install the dependencies using pip. Configure the server in the ‘servers_config.json’ file to integrate it into your application.

Key features

Key features of pubchem_mcp_server include the ability to retrieve detailed drug information such as drug name, CAS number, molecular weight, molecular formula, SMILES, synonyms, InChI key, IUPAC name, and ATC code.

Where to use

pubchem_mcp_server can be used in pharmaceutical research, drug discovery, and educational purposes where chemical information about drugs is required.

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"
}

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers