Skip to main 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"
}

Metadata

Release files for iflow-mcp_sssjiang_pubchem_mcp_server 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_sssjiang_pubchem_mcp_server 0.1.5
File Size Uploaded
iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_sssjiang_pubchem_mcp_server 0.1.5
File Interpreter ABI Platform
iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5.tar.gz

Download URL iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
70f87e31dbc3b474b161d2e06212f88b85c4423120d5b2a9f8dbe46ee8973991
BLAKE2b-256 checksum
How to use checksums
a571ce4ea1cadbc226c84aec056c9ee764bf98403580c9d4229af33c345dd104
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5-py3-none-any.whl

Download URL iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfb2ed03d6c846df513fc2d1e483da0b59ebfbe114e678cb0d592058ce150f68
BLAKE2b-256 checksum
How to use checksums
32f5dd82ac204622619423db0f0ecc66aae4ded5a77cd35d76bb4762ad8a0615
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page