Cover image
Try Now
2025-03-24

蛋白质数据库,Chembl和其他生命科学数据(WIP)的MCP服务器与Ollama客户进行本地测试。

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

Bio-Agents MCP

A collection of microservices and clients for natural language interaction with biological databases.

Components

  • LLM Client: Natural language interface with web UI and terminal modes
  • PDB MCP Server: Protein Data Bank API service
  • ChEMBL MCP Server: Chemical database API service

Architecture

┌─────────────┐     ┌──────────────┐
│   LLM UI    │     │  Ollama LLM  │
│  (Chainlit) │     │              │
└─────┬───────┘     └───────┬──────┘
      │                     │
┌─────┴─────────────────────┴──────┐
│           LLM Client             │
└─────┬─────────────────────┬──────┘
      │                     │
┌─────┴───────┐     ┌──────┴───────┐
│  PDB MCP    │     │  ChEMBL MCP  │
│   Server    │     │    Server    │
└─────────────┘     └──────────────┘

Quick Start

  1. Configure environment:
cp .env.example .env
  1. Start services:
make build
make up
  1. Launch web interface:
make run-chainlit

Visit http://localhost:8000 to start querying biological data.

Development

  • Use make help to see available commands
  • Each service has its own README with detailed documentation
  • Configuration files are in conf/ directory

Description

This project contains multiple modules that interact with various services and APIs using the FastMCP framework. Each module is designed to perform specific tasks and can be run independently or together using Docker Compose. The primary focus of this project is on bio agents, providing tools and services to interact with biological data sources such as the Protein Data Bank (PDB).

Modules

LLM Client

The llm-client module provides a client that interacts with a Language Model (LLM) server to process queries and utilize available tools. It is built using the FastMCP framework and supports asynchronous operations with aiohttp.

For more details, refer to the LLM Client README.

Protein Data Bank

The protein_data_bank_mcp module provides a server that interacts with the Protein Data Bank (PDB) API to fetch structural assembly descriptions, chemical components, drugbank annotations, branched entities, non-polymer entities, polymer entities, uniprot annotations, structures, pubmed annotations, pdb cluster data aggregation, aggregation group provenance, pdb cluster data aggregation method, and pairwise polymeric interface descriptions. It is built using the FastMCP framework and supports asynchronous operations with aiohttp.

For more details, refer to the Protein Data Bank README.

Docker

Dockerfiles are provided for each module to build Docker images.

  • Build the Docker image:

    docker build -t <module-name> .
    
  • Run the Docker container:

    docker run --env-file .env <module-name>
    

Docker Compose

A docker-compose.yml file is provided to run all services together.

  • Start all services:

    docker-compose up -d
    
  • Stop all services:

    docker-compose down
    

Makefile

A Makefile is provided to simplify common tasks.

  • Available targets:
    • setup-env: Set up the initial environment.
    • build: Build all Docker images.
    • up: Start all services using docker-compose.
    • down: Stop all services using docker-compose.
    • restart: Restart all services using docker-compose.

相关推荐

  • 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.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

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

  • Khalid kalib
  • Write professional emails

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

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • Lists Tailwind CSS classes in monospaced font

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

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

  • OffchainLabs
  • 进行以太坊的实施

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

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

    Reviews

    4 (1)
    Avatar
    user_NMlVkbJq
    2025-04-16

    The bio-agents-mcp by dogeplusplus is a fantastic tool for managing biological agents effectively. With its user-friendly interface and robust functionality, it's become indispensable in my work. Highly recommended for anyone in the field! Check it out here: https://github.com/dogeplusplus/bio-agents-mcp