sssjiang/pubchem_mcp_server
Built by Metorial, the integration platform for agentic AI.
sssjiang/pubchem_mcp_server
Server Summary
Extract chemical data
Retrieve drug information
Access PubChem API
Parse JSON responses
Integrate with MCP clients
the mcp is used to extract the drug basic chemical infomation from pubchem API.
python-dotenv
requests
mcp
uvicorn
Install the dependencies(local):
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"]
}
}
}
{
"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"
}