Skip to main content

No project description provided

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5.tar.gz.

File metadata

  • Download URL: iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5.tar.gz
Algorithm Hash digest
SHA256 70f87e31dbc3b474b161d2e06212f88b85c4423120d5b2a9f8dbe46ee8973991
MD5 513e957d5507e1a8219e31bee660a9f2
BLAKE2b-256 a571ce4ea1cadbc226c84aec056c9ee764bf98403580c9d4229af33c345dd104

See more details on using hashes here.

File details

Details for the file iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for iflow_mcp_sssjiang_pubchem_mcp_server-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bfb2ed03d6c846df513fc2d1e483da0b59ebfbe114e678cb0d592058ce150f68
MD5 f502b8c472f56845b1fb0a1bd9ddd4d1
BLAKE2b-256 32f5dd82ac204622619423db0f0ecc66aae4ded5a77cd35d76bb4762ad8a0615

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page