pubchem_mcp_server logo

pubchem_mcp_server

by sssjiang

The mcp is used to extract drug basic chemical information from the PubChem API. It provides a way to retrieve chemical properties and related data for drugs.

View on GitHub

Last updated: N/A

What is pubchem_mcp_server?

This server is a module that extracts basic chemical information about drugs from the PubChem API. It leverages the MCP (Modular Computation Platform) framework for integration and execution.

How to use pubchem_mcp_server?

  1. Install the dependencies using pip install . after cloning the repository. 2. Configure the server in servers_config.json with the command uvx and arguments pubchem_mcp_server. 3. Send requests to the server to retrieve drug information based on identifiers like drug name or CAS number.

Key features of pubchem_mcp_server

  • Retrieves drug name

  • Retrieves CAS number

  • Retrieves molecular weight

  • Retrieves molecular formula

  • Retrieves SMILES string

  • Retrieves synonyms

  • Retrieves InChI Key

  • Retrieves IUPAC Name

  • Retrieves ATC Code

  • Provides a link to detailed information on PubChem

Use cases of pubchem_mcp_server

  • Drug discovery research

  • Chemical database integration

  • Pharmacological studies

  • Data mining for drug properties

FAQ from pubchem_mcp_server

What is the MCP?

The MCP likely refers to a Modular Computation Platform, a framework for executing computational tasks in a modular and reusable way.

What kind of information can I retrieve?

You can retrieve basic chemical information such as drug name, CAS number, molecular weight, molecular formula, SMILES, synonyms, InChI Key, IUPAC Name, ATC Code, and a link to the PubChem entry.

How do I install the server?

Clone the repository, navigate to the project directory, and run pip install . to install the dependencies.

How do I configure the server?

Add an entry to servers_config.json with the command uvx and arguments pubchem_mcp_server.

What are the dependencies?

The dependencies are Python 3.10, python-dotenv, requests, mcp, and uvicorn.