JackKuo666ChEMBL-MCP-Server
Built by Metorial, the integration platform for agentic AI.
JackKuo666ChEMBL-MCP-Server
Server Summary
Retrieve chemical data
Perform chemical computations
Handle asynchronous API calls
Implement error handling and timeouts
Support HTTP and stdio transport methods
A FastMCP wrapper server based on the chembl_webresource_client package, providing API access to the ChEMBL database.
# Clone repository
git clone https://github.com/yourusername/ChEMBL-MCP-Server.git
cd ChEMBL-MCP-Server
# Install dependencies
pip install -r requirements.txt
# Start HTTP server with default configuration
python chembl_searver.py
# Specify host and port
python chembl_searver.py --host 0.0.0.0 --port 8080
# Use stdio transport
python chembl_searver.py --transport stdio
# Set log level
python chembl_searver.py --log-level DEBUG
--host
: Server host address, defaults to 127.0.0.1--port
: Server port, defaults to 8000--transport
: Transport method, choose between http or stdio, defaults to http--log-level
: Log level, choose from DEBUG, INFO, WARNING, ERROR, CRITICAL, defaults to INFOThe server provides the following API functions:
example_activity
: Get activity dataexample_assay
: Get assay dataexample_target
: Get target dataexample_molecule
: Get molecule dataexample_drug
: Get drug dataexample_canonicalizeSmiles
: Canonicalize SMILES stringsexample_smiles2inchi
: Convert SMILES to InChIexample_smiles2svg
: Convert SMILES to SVG imageexample_structuralAlerts
: Get structural alertsCheck the chembl_search.py
file for examples of using various APIs.