MCP server to extract drug chemical information from PubChem API.
Created 3 months ago
MCP server to extract drug chemical information from PubChem API.
development
documentation
public
What is MCP server to extract drug chemical information from PubChem API.?
The MCP is used to extract the drug basic chemical information from the PubChem API. It requires Python 3.10 and several dependencies including python-dotenv, requests, mcp, and uvicorn. The server can be configured easily with a JSON structure for multiple servers.
Documentation
pubchem mcp server
the mcp is used to extract the drug basic chemical infomation from pubchem API.
Requirements
- Python 3.10
python-dotenvrequestsmcpuvicorn
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"
}
Server Config
{
"mcpServers": {
"mcp-server-to-extract-drug-chemical-information-from-pubchem-api.-server": {
"command": "npx",
"args": [
"mcp-server-to-extract-drug-chemical-information-from-pubchem-api."
]
}
}
}
Links & Status
Project Info
Hosted
Featured
Created At:
Aug 08, 2025
Updated At:
Aug 08, 2025
Author:
Unknown
Category:
chemical information
Tags:
development
documentation
public