Logo 非官方ChEMBL MCP服务器

非官方ChEMBL MCP服务器

Tổ chức
Augmented-Nature

A comprehensive Model Context Protocol (MCP) server providing advanced access to the ChEMBL chemical database.

Nhà phát hànhAugmented-Nature
Kho mãChEMBL-MCP-Server
Ngôn ngữJavaScript
Bản fork
13
Sao
89
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    非官方ChEMBL MCP服务器 cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    89 sao và 13 bản fork từ kho mã được liên kết.

ChEMBL MCP Server Logo

Unofficial ChEMBL MCP Server

A comprehensive Model Context Protocol (MCP) server providing advanced access to the ChEMBL chemical database. This server offers 22 specialized tools enabling AI assistants and MCP clients to perform sophisticated drug discovery research, chemical informatics analysis, and bioactivity investigations directly through ChEMBL's REST API.

Developed by Augmented Nature

Features

Core Chemical Search & Retrieval (5 tools)

  • Compound Search: Search the ChEMBL database by compound name, synonym, or identifier
  • Detailed Compound Info: Retrieve comprehensive compound information including structure, properties, and annotations
  • InChI-based Search: Find compounds by InChI key or InChI string
  • Structure Retrieval: Get chemical structure information in various formats (SMILES, InChI, MOL, SDF)
  • Similarity Search: Find chemically similar compounds using Tanimoto similarity

Target Analysis & Drug Discovery (5 tools)

  • Target Search: Search for biological targets by name or type
  • Detailed Target Info: Retrieve comprehensive target information and annotations
  • Target Compounds: Get compounds tested against specific targets
  • UniProt Integration: Find ChEMBL targets by UniProt accession numbers
  • Target Pathways: Associated biological pathways and mechanisms

Bioactivity & Assay Data (5 tools)

  • Activity Search: Search bioactivity measurements and assay results
  • Detailed Assay Info: Get comprehensive assay protocols and conditions
  • Activity Type Search: Find bioactivity data by specific activity type and value range
  • Dose-Response Analysis: Get dose-response data and activity profiles
  • Activity Comparison: Compare bioactivity data across multiple compounds or targets

Drug Development & Clinical Data (4 tools)

  • Drug Search: Search for approved drugs and clinical candidates
  • Drug Development Status: Get drug development status and clinical trial information
  • Therapeutic Indications: Search for therapeutic indications and disease areas
  • Mechanism of Action: Get mechanism of action and target interaction data

Chemical Property Analysis (4 tools)

  • ADMET Analysis: Analyze ADMET properties (Absorption, Distribution, Metabolism, Excretion, Toxicity)
  • Molecular Descriptors: Calculate molecular descriptors and physicochemical properties
  • Solubility Prediction: Predict aqueous solubility and permeability properties
  • Drug-Likeness Assessment: Assess drug-likeness using Lipinski Rule of Five and other metrics

Advanced Search & Cross-References (4 tools)

  • Substructure Search: Find compounds containing specific substructures
  • Batch Processing: Process multiple ChEMBL IDs efficiently
  • External References: Get links to external databases (PubChem, DrugBank, PDB, etc.)
  • Advanced Search: Complex queries with multiple chemical and biological filters

Resource Templates

  • Direct access to ChEMBL data via URI templates for seamless integration

Installation

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn

Setup

  1. Clone the repository:
bash
git clone <repository-url>
cd chembl-server
  1. Install dependencies:
bash
npm install
  1. Build the project:
bash
npm run build

Docker

Building the Docker Image

Build the Docker image:

bash
docker build -t chembl-mcp-server .

Running with Docker

Run the container:

bash
docker run -i chembl-mcp-server

For MCP client integration, you can use the container directly:

json
{
  "mcpServers": {
    "chembl": {
      "command": "docker",
      "args": ["run", "-i", "chembl-mcp-server"],
      "env": {}
    }
  }
}

Usage

As an MCP Server

The server is designed to run as an MCP server that communicates via stdio:

bash
npm start

Adding to MCP Client Configuration

Add the server to your MCP client configuration (e.g., Claude Desktop):

json
{
  "mcpServers": {
    "chembl": {
      "command": "node",
      "args": ["/path/to/chembl-server/build/index.js"],
      "env": {}
    }
  }
}

Available Tools

1. search_compounds

Search the ChEMBL database for compounds by name, synonym, or identifier.

Parameters:

  • query (required): Search query (compound name, synonym, or identifier)
  • limit (optional): Number of results to return (1-1000, default: 25)
  • offset (optional): Number of results to skip (default: 0)

Example:

javascript
{
  "query": "aspirin",
  "limit": 10
}

2. get_compound_info

Get detailed information for a specific compound by ChEMBL ID.

Parameters:

  • chembl_id (required): ChEMBL compound ID (e.g., CHEMBL25)

Example:

javascript
{
  "chembl_id": "CHEMBL25"
}

3. search_targets

Search for biological targets by name or type.

Parameters:

  • query (required): Target name or search query
  • target_type (optional): Target type filter (e.g., SINGLE PROTEIN, PROTEIN COMPLEX)
  • organism (optional): Organism filter
  • limit (optional): Number of results to return (1-1000, default: 25)

Example:

javascript
{
  "query": "dopamine receptor",
  "organism": "Homo sapiens",
  "limit": 5
}

4. search_activities

Search bioactivity measurements and assay results.

Parameters:

  • target_chembl_id (optional): ChEMBL target ID filter
  • assay_chembl_id (optional): ChEMBL assay ID filter
  • molecule_chembl_id (optional): ChEMBL compound ID filter
  • activity_type (optional): Activity type (e.g., IC50, Ki, EC50)
  • limit (optional): Number of results to return (1-1000, default: 25)

Example:

javascript
{
  "target_chembl_id": "CHEMBL2095173",
  "activity_type": "IC50",
  "limit": 50
}

5. batch_compound_lookup

Process multiple ChEMBL IDs efficiently.

Parameters:

  • chembl_ids (required): Array of ChEMBL compound IDs (1-50)

Example:

javascript
{
  "chembl_ids": ["CHEMBL25", "CHEMBL59", "CHEMBL1642"]
}

Resource Templates

The server provides direct access to ChEMBL data through URI templates:

1. Compound Information

  • URI: chembl://compound/{chembl_id}
  • Description: Complete compound information for a ChEMBL ID
  • Example: chembl://compound/CHEMBL25

2. Target Information

  • URI: chembl://target/{chembl_id}
  • Description: Complete target information for a ChEMBL target ID
  • Example: chembl://target/CHEMBL2095173

3. Assay Information

  • URI: chembl://assay/{chembl_id}
  • Description: Complete assay information for a ChEMBL assay ID
  • Example: chembl://assay/CHEMBL1217643

4. Activity Information

  • URI: chembl://activity/{activity_id}
  • Description: Bioactivity measurement data for an activity ID
  • Example: chembl://activity/12345678

5. Search Results

  • URI: chembl://search/{query}
  • Description: Search results for compounds matching the query
  • Example: chembl://search/aspirin

Examples

Basic Compound Search

Search for aspirin-related compounds:

javascript
// Tool call
{
  "tool": "search_compounds",
  "arguments": {
    "query": "aspirin",
    "limit": 5
  }
}

Get Detailed Compound Information

Retrieve comprehensive information about aspirin:

javascript
// Tool call
{
  "tool": "get_compound_info",
  "arguments": {
    "chembl_id": "CHEMBL25"
  }
}

Target-based Search

Find compounds tested against dopamine receptors:

javascript
// Tool call
{
  "tool": "search_targets",
  "arguments": {
    "query": "dopamine receptor D2",
    "organism": "Homo sapiens"
  }
}

Bioactivity Analysis

Search for IC50 data against a specific target:

javascript
// Tool call
{
  "tool": "search_activities",
  "arguments": {
    "target_chembl_id": "CHEMBL2095173",
    "activity_type": "IC50",
    "limit": 100
  }
}

Batch Processing

Process multiple compounds efficiently:

javascript
// Tool call
{
  "tool": "batch_compound_lookup",
  "arguments": {
    "chembl_ids": ["CHEMBL25", "CHEMBL59", "CHEMBL1642", "CHEMBL1201585"]
  }
}

API Integration

This server integrates with the ChEMBL REST API for programmatic access to chemical data. For more information about ChEMBL:

All API requests include:

  • User-Agent: ChEMBL-MCP-Server/1.0.0
  • Timeout: 30 seconds
  • Base URL: https://www.ebi.ac.uk/chembl/api/data

Error Handling

The server includes comprehensive error handling:

  • Input Validation: All parameters are validated using type guards
  • API Errors: Network and API errors are caught and returned with descriptive messages
  • Timeout Handling: Requests timeout after 30 seconds
  • Graceful Degradation: Partial failures are handled appropriately

Development

Build the Project

bash
npm run build

Development Mode

Run TypeScript compiler in watch mode:

bash
npm run dev

Project Structure

chembl-server/
├── src/
│   └── index.ts          # Main server implementation
├── build/                # Compiled JavaScript output
├── package.json          # Node.js dependencies and scripts
├── tsconfig.json         # TypeScript configuration
└── README.md            # This file

Dependencies

  • @modelcontextprotocol/sdk: Core MCP SDK for server implementation
  • axios: HTTP client for ChEMBL API requests
  • typescript: TypeScript compiler for development

License

MIT License

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

Support

For issues and questions:

  1. Check the ChEMBL API documentation
  2. Review the Model Context Protocol specification
  3. Open an issue on the repository

About Augmented Nature

This comprehensive ChEMBL MCP Server is developed by Augmented Nature, a leading innovator in AI-powered bioinformatics and computational chemistry solutions. Augmented Nature specializes in creating advanced tools that bridge the gap between artificial intelligence and chemical research, enabling researchers to unlock deeper insights from chemical and biological data.

Complete Tool Reference

Core Chemical Search & Retrieval Tools

  1. search_compounds - Search ChEMBL database by name, synonym, or identifier
  2. get_compound_info - Get detailed compound information by ChEMBL ID
  3. search_by_inchi - Find compounds by InChI key or InChI string
  4. get_compound_structure - Retrieve chemical structures in various formats
  5. search_similar_compounds - Find chemically similar compounds using Tanimoto similarity

Target Analysis & Drug Discovery Tools

  1. search_targets - Search for biological targets by name or type
  2. get_target_info - Get detailed target information by ChEMBL target ID
  3. get_target_compounds - Get compounds tested against specific targets
  4. search_by_uniprot - Find ChEMBL targets by UniProt accession
  5. get_target_pathways - Get biological pathways associated with targets

Bioactivity & Assay Data Tools

  1. search_activities - Search bioactivity measurements and assay results
  2. get_assay_info - Get detailed assay information by ChEMBL assay ID
  3. search_by_activity_type - Find bioactivity data by activity type and value range
  4. get_dose_response - Get dose-response data and activity profiles
  5. compare_activities - Compare bioactivity data across multiple compounds

Drug Development & Clinical Data Tools

  1. search_drugs - Search for approved drugs and clinical candidates
  2. get_drug_info - Get drug development status and clinical trial information
  3. search_drug_indications - Search for therapeutic indications and disease areas
  4. get_mechanism_of_action - Get mechanism of action and target interaction data

Chemical Property Analysis Tools

  1. analyze_admet_properties - Analyze ADMET properties
  2. calculate_descriptors - Calculate molecular descriptors and physicochemical properties
  3. predict_solubility - Predict aqueous solubility and permeability properties
  4. assess_drug_likeness - Assess drug-likeness using Lipinski Rule of Five

Advanced Search & Cross-Reference Tools

  1. substructure_search - Find compounds containing specific substructures
  2. batch_compound_lookup - Process multiple ChEMBL IDs efficiently
  3. get_external_references - Get links to external databases
  4. advanced_search - Complex queries with multiple chemical and biological filters

Changelog

v1.0.0 - Initial Release

  • Comprehensive Chemical Intelligence: 27 specialized tools for drug discovery
  • Core Functionality: Compound search, target analysis, bioactivity data
  • Advanced Features: Similarity search, batch processing, cross-references
  • Resource Templates: Direct URI-based access to ChEMBL data
  • Docker Support: Containerized deployment with security best practices
  • Professional Documentation: Complete tool reference and examples
  • Developed by Augmented Nature: Professional chemical informatics platform

Citation

If you use this project in your research or publications, please cite it as follows:

bibtex
author = {Moudather Chelbi},
title = {ChEMBL MCP Server},
year = {2025},
howpublished = {https://github.com/Augmented-Nature/ChEMBL-MCP-Server},
note = {Accessed: 2025-06-29}

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "augmented-nature-chembl-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Dùng MCP 非官方ChEMBL MCP服务器 với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối 非官方ChEMBL MCP服务器, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm 非官方ChEMBL MCP服务器 làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của 非官方ChEMBL MCP服务器.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "augmented-nature-chembl-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "chembl-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của 非官方ChEMBL MCP服务器, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của 非官方ChEMBL MCP服务器.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng 非官方ChEMBL MCP服务器 giúp tôi làm việc này không?
非官方ChEMBL MCP服务器
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng 非官方ChEMBL MCP服务器.

Câu hỏi thường gặp

Máy chủ MCP 非官方ChEMBL MCP服务器 dùng để làm gì?

非官方ChEMBL MCP服务器 là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP 非官方ChEMBL MCP服务器 với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng 非官方ChEMBL MCP服务器 với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP 非官方ChEMBL MCP服务器 với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối 非官方ChEMBL MCP服务器, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP 非官方ChEMBL MCP服务器 với TypingMind?

非官方ChEMBL MCP服务器 hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP 非官方ChEMBL MCP服务器 cung cấp những công cụ nào trong TypingMind?

非官方ChEMBL MCP服务器 cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP 非官方ChEMBL MCP服务器 không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu 非官方ChEMBL MCP服务器 yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇