
ChEMBL-MCP-Server
A FastMCP wrapper server based on the chembl_webresource_client package, providing API access to the ChEMBL database.
Features
- Complete API access to the ChEMBL database
- Asynchronous API calls implemented using FastMCP framework
- Built-in error handling and timeout mechanisms
- Support for both HTTP and stdio transport methods
- Complete type annotations and docstrings
Installation
# Clone repository
git clone https://github.com/yourusername/ChEMBL-MCP-Server.git
cd ChEMBL-MCP-Server
# Install dependencies
pip install -r requirements.txt
Usage
Starting the Server
# 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
Available Parameters
-
--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 INFO
API Functions
The server provides the following API functions:
Data Entity APIs
-
example_activity
: Get activity data -
example_assay
: Get assay data -
example_target
: Get target data -
example_molecule
: Get molecule data -
example_drug
: Get drug data - More data entity APIs...
Chemical Tool APIs
-
example_canonicalizeSmiles
: Canonicalize SMILES strings -
example_smiles2inchi
: Convert SMILES to InChI -
example_smiles2svg
: Convert SMILES to SVG image -
example_structuralAlerts
: Get structural alerts - More chemical tool APIs...
Examples
Check the chembl_search.py
file for examples of using various APIs.
Dependencies
- chembl_webresource_client: ChEMBL Web Service Client
- mcp: MCP Framework
- fastapi: FastAPI Framework
- uvicorn: ASGI Server
- asyncio: Asynchronous I/O Library
License
相关推荐
I find academic articles and books for research and literature reviews.
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Confidential guide on numerology and astrology, based of GG33 Public information
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
Reviews

user_Di759V07
As an avid user of the ChEMBL-MCP-Server by BioMCP-Hub, I can confidently say it's a game-changer for anyone involved in computational chemistry. The integration with ChEMBL's vast bioactivity data allows for extensive research and analysis. The user-friendly interface and powerful algorithms have significantly streamlined our workflows and enhanced productivity. Highly recommended for professionals and researchers alike!