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

pubchem_mcp_server-0.1.7.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

pubchem_mcp_server-0.1.7-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file pubchem_mcp_server-0.1.7.tar.gz.

File metadata

  • Download URL: pubchem_mcp_server-0.1.7.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.3 Darwin/24.1.0

File hashes

Hashes for pubchem_mcp_server-0.1.7.tar.gz
Algorithm Hash digest
SHA256 a4ecdf57d4480ef333755bcfdea4cbc157a499e11e3d7bb12f32b675389fb78f
MD5 76d154188a789da821075f2fd6230f6d
BLAKE2b-256 129e1a15e1f705fa7a264f3b1e59d8f472d3605909ddaf56f832996343f07847

See more details on using hashes here.

File details

Details for the file pubchem_mcp_server-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: pubchem_mcp_server-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.3 Darwin/24.1.0

File hashes

Hashes for pubchem_mcp_server-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 21b4023fbc63bf2d215e02b2f079ab39790bc6b46913f14c485939edc7682dd2
MD5 7b47a889edfe73bef2a64a306dca388b
BLAKE2b-256 d004bc3b7c1787b3b105398bafa632dc512bcb834a4912366577af194c90bb5d

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