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.6.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.6-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pubchem_mcp_server-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 219b5728f0066a97a4ae20f77215af6cb79060557aa52111fbf5ebcf5335e6fe
MD5 cadb5b1a919325b827ded1623adae4be
BLAKE2b-256 ac02f15131790dcc347ba96521df4506bdba71b97be5a0991ad1e87ad24310a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pubchem_mcp_server-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 589a9abb433ccdef5c1a71dc829da749c6cfbaedb35ea3a840e20a6bdb0f6762
MD5 8efae9cba470720331041158e1d89e4b
BLAKE2b-256 1f0273a1441379e160f5be2cf747f7b303520a8a559673c87a8e4022e3073318

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