Logo BioContextAI Knowledgebase MCP

BioContextAI Knowledgebase MCP

Tổ chức
biocontext-ai

BioContextAI Knowledgebase MCP server for biomedical agentic AI

Nhà phát hànhbiocontext-ai
Kho mãknowledgebase-mcp
Ngôn ngữPython
Bản fork
8
Sao
30
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépApache-2.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    BioContextAI Knowledgebase MCP cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

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

  • Cấu hình sẵn để sao chép

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

  • Chỉ số quan tâm đến mã nguồn mở

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

BioContextAI - Knowledgebase MCP

BioContextAI - Registry Version License uv Ruff pre-commit GitHub CI codecov

A Model Context Protocol (MCP) server for biomedical research that provides a standardized connection layer between artificial intelligence systems and biomedical resources. Documentation and usage guides are available at: https://biocontext.ai

Overview

BioContextAI Knowledgebase MCP is an MCP server implementation for common biomedical resources, enabling agentic large language models (LLMs) to retrieve verified information and perform domain-specific tasks. Unlike previous approaches that required custom integration for each resource, BioContextAI KB MCP provides a unified access layer through the Model Context Protocol that enables interoperability between AI systems and domain-specific data sources.

The Knowledgebase MCP is available both as:

  • An open-source software package for local hosting (see Installation) - Choose this option for Claude Desktop, IDEs or your own agentic systems
  • A remote server for setup-free integration at https://biocontext-kb.fastmcp.app/mcp (for testing purposes only, subject to fair use)

[!WARNING] If possible, we encourage you to run BioContextAI Knowledgebase MCP locally to avoid rate limits and ensure the service's availability for applications that rely on remote hosting.

The Knowledgebase MCP is part of the wider BioContextAI project. The BioContextAI Registry catalogues community servers that expose biomedical databases and analysis tools, providing the community with a resource for tool discovery and distribution. The registry index can be found at: https://biocontext.ai/registry.

Implemented Tools

BioContextAI Knowledgebase MCP exposes a number of external biomedical APIs. You can think of BioContextAI as a browser for your LLM that allows it to find relevant information across these knowledge bases. Please make sure to adhere to the usage limits (e.g., rate limits) of the respective services when using BioContextAI Knowledgebase MCP. If you use data from these services in your research, please make sure to cite both BioContextAI as well as the respective data source/tool.

[!WARNING] The data accessed through these APIs is not covered by the BioContextAI Knowledgebase MCP license. You are responsible for ensuring that your use of the data aligns with permitted practices.

Tools

  • Antibody Registry - Gene id conversion
  • bioRxiv/medRxiv - Recent preprint search and metadata access
  • Ensembl - Gene id conversion
  • EuropePMC - Literature search and full-text access
  • Google Scholar - Academic publication and author search (only available for local use due to rate limiting)
  • InterPro - Protein families, domains, and functional sites classification
  • KEGG - Pathways, gene and drug-drug interaction database (only available for local use due to licensing restrictions)
  • OpenTargets - Target-disease associations
  • PanglaoDB - Single-cell RNA-sequencing cell type markers
  • PRIDE - Proteomics data repository for mass spectrometry data
  • Protein Atlas - Protein expression data
  • Reactome - Pathways database
  • STRING - Protein-protein interaction networks
  • AlphaFold DB - Tertiary protein structure predictions

OpenAPI MCP Servers

FastMCP allows for easy conversion of REST endpoints following the OpenAPI specification into MCP servers. We have added code to automatically create such servers based on schemas provided through a configuration file, so that users deploying their own version of BioContextAI can easily extend the list of available tools. The configuration file is located at src/biocontext_kb/openapi/config.yaml. By default, no OpenAPI servers are included, but you can edit the configuration file to add services.

Installation

  1. Local setup with Claude Desktop:

Edit your claude_desktop_config.json file. To find it, click on your name and then “Settings”. Next, click on “Developer” to see “Local MCP servers” and then click on “Edit Config”.

jsonc
{
  "mcpServers": {
    "biocontext_kb": {
      "command": "uvx", // On Mac, use "brew install uv"
      "args": [
        "biocontext_kb@latest"
      ],
      "env": {
        "UV_PYTHON": "3.12"
      }
    }
  }
}

[!WARNING] Don't forget to restart Claude to apply the changes.

  1. Local setup with uv

Run the server with streamable HTTP and uvicorn:

bash
export MCP_ENVIRONMENT=PRODUCTION && export PORT=8000 && uvx biocontext_kb

Run the server with stdio transport:

bash
export MCP_ENVIRONMENT=DEVELOPMENT && uvx biocontext_kb
  1. Local setup with IDEs

Change the configuration file of your coding agents, e.g., VS Code (.vscode/mcp.json), Cursor (.cursor/mcp.json), or WindSurf (.codeium/windsurf/mcp_config.json):

jsonc
{
  // VS Code: Use "servers" instead of "mcpServers"
  "mcpServers": {
    "biocontext_kb": {
      // if it doesn't work, replace with the `which uvx` path (installation via Homebrew recommended on macOS)
      "command": "uvx",
      "args": [
        "biocontext_kb@latest"
      ],
    }
  }
}

When using Windows and WSL2 the above config needs to be adapted as follows:

jsonc
{
  // VS Code: "servers"
  "mcpServers": {
    "biocontext_kb": {
      "command": "wsl",
      "args": [
        "~/.local/bin/uvx", // set to the path to your `uvx`
        "biocontext_kb"
      ]
    }
  }
}
  1. Docker

Clone the latest version of this repository:

bash
git clone https://github.com/biocontext-ai/knowlegebase-mcp.git
cd knowlegebase-mcp

Then build the container, running gunicorn with multiple uvicorn workers:

bash
# Build the docker container
docker build -t biocontext_kb:latest .
docker run -p 127.0.0.1:8000:8000 biocontext_kb:latest

This exposes your MCP server at: http://127.0.0.1:8000/mcp/

[!WARNING] For public deployments, you should disable unnecessary ports and access your MCP server through a reverse proxy, e.g., Nginx or Caddy. You may also want to configure the running user and the directory to have limited rights, use Docker or podman in a rootless setup and take additional security measures like DDOS protection with Cloudflare or fail2ban.

MCP Clients

To develop your own agentic systems that make use of the MCP server, you may want to consider some of the following options:

Publication & Documentation

You can find our Nature Biotechnology correspondence here: https://www.nature.com/articles/s41587-025-02900-9.

If our work is useful to your research, please cite it as below.

bibtex
@article{BioContext_AI_Kuehl_Schaub_2025,
  title={BioContextAI is a community hub for agentic biomedical systems},
  url={http://dx.doi.org/10.1038/s41587-025-02900-9},
  urldate = {2025-11-06},
  doi={10.1038/s41587-025-02900-9},
  year = {2025},
  month = nov,
  journal={Nature Biotechnology},
  publisher={Springer Science and Business Media LLC},
  author={Kuehl, Malte and Schaub, Darius P. and Carli, Francesco and Heumos, Lukas and Hellmig, Malte and Fernández-Zapata, Camila and Kaiser, Nico and Schaul, Jonathan and Kulaga, Anton and Usanov, Nikolay and Koutrouli, Mikaela and Ergen, Can and Palla, Giovanni and Krebs, Christian F. and Panzer, Ulf and Bonn, Stefan and Lobentanzer, Sebastian and Saez-Rodriguez, Julio and Puelles, Victor G.},
  year={2025},
  month=nov,
  language={en},
}

Further Resources

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

[!WARNING] The Apache 2.0 License only applies to the code provided in this repository. For usage limitations and licenses of the individually integrated APIs, users should directly refer to the respective API providers. We provide an overview below.

Data Sources and Licensing

Data SourceLicenseURLNotes
AlphaFold (EMBL-EBI)CC BY 4.0https://alphafold.ebi.ac.uk/
Antibody Registry (RRIDs)CC0 (metadata: CC-NC)https://www.antibodyregistry.org/faqCommercial reuse restrictions on some metadata
bioRxiv/medRxivCC BY 4.0https://www.biorxiv.org/about/FAQPreprint content licenses vary
ClinicalTrials.gov APITerms of Servicehttps://clinicaltrials.gov/about-site/terms-conditionsAttribution required
EnsemblNo restrictions*https://www.ensembl.org/info/about/legal/disclaimer.html*Some third-party data may have restrictions
EuropePMCVarious/Copyright protectedhttps://europepmc.org/CopyrightIndividual article licenses vary
Google ScholarTerms of Servicehttps://scholar.google.com/intl/en/scholar/terms.htmlRate limiting; use responsibly
Grants.gov APITerms of Servicehttps://www.grants.gov/api/terms-conditionsAttribution required
Human Protein AtlasCC BY-SA 4.0https://www.proteinatlas.org/about/licence
InterProCC0 1.0 Universalhttps://www.ebi.ac.uk/interpro/Includes InterPro, Pfam, PRINTS, and SFLD data
KEGGProprietary (Free academic use)https://www.kegg.jp/kegg/legal.htmlCommercial services/remote hosting not permitted
Ontology Lookup Service (EMBL-EBI)Generally CC0/CC BYhttps://www.ebi.ac.uk/licencing/Refer to EMBL-EBI general licensing
Open TargetsCC0 1.0https://platform-docs.opentargets.org/licence
OpenFDACC0 1.0 Universal*https://open.fda.gov/license/*Some data may have restrictions
PanglaoDBPublic datahttps://panglaodb.se/about.htmlAll data are public
PRIDECC0/CC BY 4.0*https://www.ebi.ac.uk/pride/markdownpage/license*CC0 for datasets from June 2018+, CC BY 4.0 for derived resources
ReactomeCC0https://reactome.org/license
STRINGCC BY 4.0https://string-db.org/cgi/access?footer_active_subpage=licensing
UniProtCC BY 4.0https://www.uniprot.org/help/license

Disclaimer

Users are solely responsible for ensuring compliance with all applicable license terms and conditions when accessing data through this MCP server. The licenses and terms listed above are subject to change, and additional citation requirements may apply for specific datasets or publications. Before using any data for commercial purposes, redistribution, or publication, please review the current license terms directly from each data source. Some data sources may have additional restrictions not fully captured in this summary.

For KEGG data specifically, please note that while academic use is permitted, providing commercial services or remote hosting using KEGG data is not allowed under their proprietary license terms.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "biocontext_kb": {
      "command": "uvx",
      "args": [
        "biocontext_kb@latest"
      ],
      "env": {
        "UV_PYTHON": "3.12"
      }
    }
  }
}

Dùng MCP BioContextAI Knowledgebase 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 BioContextAI Knowledgebase 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 Cài 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 Cài 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 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. Giữ tiến trình 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. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm BioContextAI Knowledgebase 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 BioContextAI Knowledgebase 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": {
    "biocontextai-knowledgebase-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "biocontext_kb@latest"
      ]
    }
  }
}
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 BioContextAI Knowledgebase 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 BioContextAI Knowledgebase 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 TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng BioContextAI Knowledgebase MCP giúp tôi làm việc này không?
BioContextAI Knowledgebase MCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng BioContextAI Knowledgebase MCP.

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

Máy chủ MCP BioContextAI Knowledgebase MCP dùng để làm gì?

BioContextAI Knowledgebase 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 BioContextAI Knowledgebase 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 BioContextAI Knowledgebase 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 BioContextAI Knowledgebase 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 BioContextAI Knowledgebase 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 BioContextAI Knowledgebase MCP với TypingMind?

BioContextAI Knowledgebase 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 BioContextAI Knowledgebase MCP cung cấp những công cụ nào trong TypingMind?

BioContextAI Knowledgebase 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 BioContextAI Knowledgebase 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 BioContextAI Knowledgebase 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 👇