Cover image
Try Now
2025-04-05

🔍使AI助手能够通过简单的MCP接口搜索,访问和分析Chembl。

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

ChEMBL-MCP-Server

smithery badge

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

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

    Reviews

    3 (1)
    Avatar
    user_TH8KT9VV
    2025-04-16

    As a dedicated user of ChEMBL-MCP-Server by JackKuo666, I've found it incredibly valuable for my research. The server's seamless integration with ChEMBL database and intuitive interface make it easy to navigate and extract vital information. Highly recommended for anyone in cheminformatics! Here's the link to explore more: https://github.com/JackKuo666/ChEMBL-MCP-Server