
ChEMBL-MCP-Server

2025.04.05
0
Python化学数据查询化学信息学药物发现数据库开发效率
ChEMBL-MCP-Server是一个基于FastMCP框架的ChEMBL数据库API访问服务,提供了对ChEMBL数据库的完整API访问能力。该服务支持异步API调用,内置错误处理和超时机制,并支持HTTP和stdio两种传输方式。适用于需要访问ChEMBL数据库进行化学数据查询和分析的场景。
View on GitHub
Overview
基本能力
产品定位
ChEMBL-MCP-Server是一个基于FastMCP框架的ChEMBL数据库API访问服务,提供了对ChEMBL数据库的完整API访问能力。
核心功能
- 完整的ChEMBL数据库API访问
- 使用FastMCP框架实现的异步API调用
- 内置错误处理和超时机制
- 支持HTTP和stdio两种传输方式
- 完整的类型注释和文档字符串
适用场景
- 化学数据查询和分析
- 化学信息学研究
- 药物发现和开发
工具列表
example_activity
: 获取活性数据example_assay
: 获取测定数据example_target
: 获取靶标数据example_molecule
: 获取分子数据example_drug
: 获取药物数据example_canonicalizeSmiles
: 规范化SMILES字符串example_smiles2inchi
: 将SMILES转换为InChIexample_smiles2svg
: 将SMILES转换为SVG图像example_structuralAlerts
: 获取结构警报
常见问题解答
- 无
使用教程
使用依赖
# 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
调试方式
- 使用
--log-level DEBUG
参数启动服务以获取详细的调试信息 - 检查日志文件以识别和解决问题