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
リンク
  • ツールをAIワークフローに接続

    BioContextAI Knowledgebase MCPは、対応するAIクライアントやAIエージェントから利用できる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"
      }
    }
  }
}

BioContextAI Knowledgebase MCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度BioContextAI Knowledgebase MCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

BioContextAI Knowledgebase MCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. BioContextAI Knowledgebase MCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "biocontextai-knowledgebase-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "biocontext_kb@latest"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてBioContextAI Knowledgebase MCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. BioContextAI Knowledgebase MCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
BioContextAI Knowledgebase MCPを使ってこのタスクを手伝ってもらえますか?
BioContextAI Knowledgebase MCP
はい、読みました。
BioContextAI Knowledgebase MCPで調べた結果をお伝えします。

よくある質問

BioContextAI Knowledgebase MCP MCPサーバーは何に使いますか?

BioContextAI Knowledgebase MCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでBioContextAI Knowledgebase MCP MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでBioContextAI Knowledgebase MCPを利用できます。

TypingMindでBioContextAI Knowledgebase MCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。BioContextAI Knowledgebase MCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

BioContextAI Knowledgebase MCP MCPをTypingMindに接続するにはどうすればよいですか?

BioContextAI Knowledgebase MCPはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでBioContextAI Knowledgebase MCP MCPのどのようなツールを利用できますか?

BioContextAI Knowledgebase MCPはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

BioContextAI Knowledgebase MCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。BioContextAI Knowledgebase MCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇