Логотип BioContextAI Knowledgebase MCP

BioContextAI Knowledgebase MCP

Организация
biocontext-ai

BioContextAI Knowledgebase MCP server for biomedical agentic AI

Издательbiocontext-ai
Репозиторийknowledgebase-mcp
ЯзыкPython
Форки
8
Звёзды
30
Доступные инструменты
0
Тип транспортаstdio
Категории
ЛицензияApache-2.0
Ссылки
  • Подключайте инструменты к рабочим процессам с ИИ

    BioContextAI Knowledgebase MCP предоставляет возможности MCP, доступные совместимым ИИ-клиентам и агентам.

  • Доступные инструменты: 0

    Ниже представлены доступные для вызова действия с названиями и описаниями, если сервер их предоставляет.

  • Готовая конфигурация для копирования

    Используйте примеры конфигурации, чтобы настроить этот сервер в предпочитаемом MCP-клиенте.

  • Показатели интереса к открытому проекту

    Звёзды: 30, форки: 8 — в связанном репозитории.

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.

Установка

TypingMind
Требования:

Node.js 18+

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

Используйте MCP BioContextAI Knowledgebase MCP с разными ИИ-моделями

TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому после подключения BioContextAI Knowledgebase MCP вы можете использовать их с разными моделями ИИ в TypingMind, не настраивая подключение отдельно для каждой модели. Эта интеграция MCP работает локально на вашем устройстве через коннектор MCP TypingMind.

Руководство по настройке локального коннектора

Выберите этот способ, если серверу MCP нужен доступ к локальным файлам, приложениям или закрытым ресурсам на вашем компьютере.

1

Откройте настройки MCP

В TypingMind откройте «Настройки», затем «Расширенные настройки», перейдите в раздел «Протокол контекста модели» и выберите «Настроить коннектор».

  1. Откройте TypingMind в браузере.
  2. Нажмите значок настроек.
  3. Перейдите в «Расширенные настройки».
  4. Откройте раздел «Протокол контекста модели».
  5. Нажмите «Настроить коннектор» и выберите «Это устройство».
Экран настройки коннектора MCP в TypingMind с выбранным вариантом «Это устройство»
2

Выполните команду коннектора

Выберите «Это устройство», скопируйте команду из TypingMind и выполните её в терминале. Не останавливайте процесс, пока используете MCP.

  1. Скопируйте команду настройки, показанную в TypingMind.
  2. Откройте «Терминал» в macOS или Windows Terminal в Windows.
  3. Вставьте и выполните команду.
  4. Подтвердите установку пакета, если терминал запросит разрешение продолжить.
  5. Не закрывайте окно терминала и не останавливайте процесс, пока используете инструменты MCP.
3

Добавьте BioContextAI Knowledgebase MCP как сервер

Когда статус коннектора сменится на «Готов», нажмите «Изменить серверы» и вставьте конфигурацию сервера MCP.

  1. Дождитесь, пока статус коннектора сменится на «Готов».
  2. Нажмите «Изменить серверы».
  3. Вставьте конфигурацию сервера MCP для BioContextAI Knowledgebase MCP.
  4. Сохраните список серверов.
  5. Обновите статус, если хотите убедиться, что коннектор по-прежнему готов к работе.
Настройки MCP в TypingMind с активным сервером и кнопкой «Изменить серверы»
{
  "mcpServers": {
    "biocontextai-knowledgebase-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "biocontext_kb@latest"
      ]
    }
  }
}
4

Используйте подключение с разными моделями

Сохраните список серверов, откройте раздел «Плагины», включите инструменты MCP для BioContextAI Knowledgebase MCP, затем выберите любую поддерживаемую модель ИИ в TypingMind и используйте инструменты в чате или назначьте их ИИ-агенту.

  1. Откройте страницу «Плагины» в TypingMind.
  2. Включите инструменты MCP для BioContextAI Knowledgebase MCP.
  3. Начните чат и выберите модель ИИ, которую хотите использовать.
  4. Используйте инструменты MCP в чате или назначьте их ИИ-агенту.
  5. При необходимости переключайтесь на другую модель ИИ без повторного подключения MCP.
Чат TypingMind с включёнными инструментами MCP и выбранной ИИ-моделью
Можете помочь мне с этой задачей с помощью BioContextAI Knowledgebase MCP?
BioContextAI Knowledgebase MCP
Конечно. Я всё прочитал.
Вот что я нашёл с помощью BioContextAI Knowledgebase MCP.

Часто задаваемые вопросы

Для чего используется сервер MCP BioContextAI Knowledgebase MCP?

BioContextAI Knowledgebase MCP — это сервер MCP, который позволяет совместимым ИИ-клиентам подключаться к внешним инструментам и получать контекст. В TypingMind достаточно один раз добавить этот сервер MCP, чтобы его инструменты стали доступны в вашем рабочем пространстве с ИИ.

Можно ли использовать сервер MCP BioContextAI Knowledgebase MCP с несколькими ИИ-моделями в TypingMind?

Да. TypingMind подключает инструменты MCP на уровне рабочего пространства, поэтому вы можете использовать BioContextAI Knowledgebase MCP с разными ИИ-моделями, например Claude, ChatGPT, Gemini или другими моделями, настроенными в TypingMind, без отдельной настройки сервера MCP для каждой модели.

Зачем использовать MCP BioContextAI Knowledgebase MCP с TypingMind?

TypingMind — один из лучших интерфейсов для чата с LLM: он объединяет разные ИИ-модели, промпты, плагины, ИИ-агентов, ключи API и инструменты MCP в одном рабочем пространстве. Подключив BioContextAI Knowledgebase MCP, вы сможете использовать его инструменты MCP с предпочитаемыми моделями, сохраняя удобную организацию работы с чатами в TypingMind.

Как подключить сервер MCP BioContextAI Knowledgebase MCP к TypingMind?

BioContextAI Knowledgebase MCP работает через локальный коннектор MCP TypingMind. Этот вариант лучше всего подходит, когда серверу MCP нужен доступ к локальным файлам, настольным приложениям, инструментам командной строки или закрытым ресурсам на вашем компьютере.

Какие инструменты предоставляет сервер MCP BioContextAI Knowledgebase MCP в TypingMind?

BioContextAI Knowledgebase MCP предоставляет возможности MCP, которые можно включить на странице «Плагины» в TypingMind и использовать в чате или назначить ИИ-агентам.

Нужно ли передавать TypingMind свои ключи API для использования сервера MCP BioContextAI Knowledgebase MCP?

Нет. TypingMind ориентирован прежде всего на локальную работу и позволяет вам контролировать выбор провайдеров моделей, ключи API, промпты и конфигурацию MCP. Если BioContextAI Knowledgebase MCP требует аутентификации, при создании подключения добавьте необходимые заголовки, настройки OAuth или локальную конфигурацию для этого сервера MCP.

Похожие серверы MCP

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇