Logo de BioContextAI Knowledgebase MCP

BioContextAI Knowledgebase MCP

Organisation
biocontext-ai

BioContextAI Knowledgebase MCP server for biomedical agentic AI

Éditeurbiocontext-ai
Dépôtknowledgebase-mcp
LanguePython
Forks
8
Étoiles
30
Outils disponibles
0
Type de transportstdio
Catégories
LicenceApache-2.0
Liens
  • Connectez des outils à vos workflows IA

    BioContextAI Knowledgebase MCP propose des fonctionnalités MCP utilisables par les clients et agents IA compatibles.

  • 0 outils disponibles

    Parcourez les actions invocables ci-dessous, avec leurs noms et descriptions lorsque le serveur les fournit.

  • Configuration prête à copier

    Utilisez les exemples de configuration pour configurer ce serveur dans votre client MCP préféré.

  • Indicateurs de popularité open source

    30 étoiles et 8 forks sur le dépôt associé.

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.

Installation

TypingMind
Prérequis :

Node.js 18+

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

Utilisez le serveur MCP BioContextAI Knowledgebase MCP avec plusieurs modèles IA

TypingMind connecte les outils MCP au niveau de l’espace de travail. Une fois BioContextAI Knowledgebase MCP connecté, vous pouvez donc l’utiliser avec différents modèles IA dans TypingMind sans avoir à le configurer séparément pour chaque modèle. Cette intégration MCP s’exécute localement sur votre appareil via le connecteur MCP de TypingMind.

Guide de configuration du connecteur local

Choisissez cette méthode si le serveur MCP doit accéder à des fichiers locaux, à des applications ou à des ressources privées sur votre ordinateur.

1

Ouvrir les paramètres MCP

Dans TypingMind, accédez à « Paramètres », puis à « Paramètres avancés » et à « Model Context Protocol », et choisissez « Configurer connecteur ».

  1. Ouvrez TypingMind dans votre navigateur.
  2. Cliquez sur l’icône Paramètres.
  3. Accédez aux paramètres avancés.
  4. Ouvrez la section Model Context Protocol.
  5. Cliquez sur « Configurer connecteur » et choisissez « Cet appareil ».
Écran de configuration du connecteur MCP de TypingMind avec l’option « Cet appareil » sélectionnée
2

Exécuter la commande du connecteur

Choisissez « Cet appareil », copiez la commande depuis TypingMind et exécutez-la dans Terminal. Laissez le processus en cours d’exécution pendant que vous utilisez MCP.

  1. Copiez la commande de configuration affichée par TypingMind.
  2. Ouvrez Terminal sur macOS ou Windows Terminal sur Windows.
  3. Collez et exécutez la commande.
  4. Autorisez l’installation du paquet si Terminal vous demande de confirmer.
  5. Gardez la fenêtre de Terminal ouverte et le processus en cours d’exécution pendant que vous utilisez les outils MCP.
3

Ajoutez BioContextAI Knowledgebase MCP en tant que serveur

Lorsque l’état du connecteur affiche « Prêt », cliquez sur « Éditer serveurs » et collez la configuration du serveur MCP.

  1. Attendez que l’état du connecteur affiche « Prêt ».
  2. Cliquez sur « Éditer serveurs ».
  3. Collez la configuration du serveur MCP BioContextAI Knowledgebase MCP.
  4. Enregistrez la liste des serveurs.
  5. Actualisez pour vérifier que le connecteur est toujours prêt.
Paramètres MCP de TypingMind affichant un serveur actif et le bouton « Éditer serveurs »
{
  "mcpServers": {
    "biocontextai-knowledgebase-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "biocontext_kb@latest"
      ]
    }
  }
}
4

Utiliser la connexion avec différents modèles

Enregistrez la liste des serveurs, ouvrez « Plugins », activez les outils MCP de BioContextAI Knowledgebase MCP, puis sélectionnez un modèle IA compatible dans TypingMind et utilisez les outils dans une discussion ou attribuez-les à un agent IA.

  1. Ouvrez la page Plugins dans TypingMind.
  2. Activez les outils MCP de BioContextAI Knowledgebase MCP.
  3. Démarrez une discussion et choisissez le modèle IA que vous souhaitez utiliser.
  4. Utilisez les outils MCP dans le chat ou attribuez-les à un agent IA.
  5. Passez à un autre modèle IA selon vos besoins sans rétablir la connexion MCP.
Discussion TypingMind utilisant des outils MCP activés avec un modèle d’IA sélectionné
Pouvez-vous utiliser BioContextAI Knowledgebase MCP pour m’aider dans cette tâche ?
BioContextAI Knowledgebase MCP
Bien sûr. J’ai tout lu.
Voici ce que j’ai trouvé avec BioContextAI Knowledgebase MCP.

Foire aux questions

À quoi sert le serveur MCP BioContextAI Knowledgebase MCP ?

BioContextAI Knowledgebase MCP est un serveur MCP qui permet aux applications IA compatibles d’accéder à des outils et à des informations contextuelles externes. Dans TypingMind, il vous suffit d’ajouter ce serveur MCP une seule fois pour rendre ses outils disponibles dans votre espace de travail IA.

Puis-je utiliser le serveur MCP BioContextAI Knowledgebase MCP avec plusieurs modèles IA dans TypingMind ?

Oui. TypingMind connecte les outils MCP au niveau de l’espace de travail. Vous pouvez donc utiliser BioContextAI Knowledgebase MCP avec différents modèles IA comme Claude, ChatGPT, Gemini ou d’autres modèles configurés dans TypingMind, sans avoir à configurer le serveur MCP séparément pour chaque modèle.

Pourquoi utiliser le connecteur MCP BioContextAI Knowledgebase MCP avec TypingMind ?

TypingMind est l’une des meilleures interfaces de chat avec les LLM, car elle réunit plusieurs modèles IA, prompts, plugins, agents IA, clés API et outils MCP dans un seul espace de travail. Une fois BioContextAI Knowledgebase MCP connecté, vous pouvez utiliser ses outils MCP avec vos modèles préférés tout en gardant vos discussions bien organisées dans TypingMind.

Comment connecter le serveur MCP BioContextAI Knowledgebase MCP à TypingMind ?

BioContextAI Knowledgebase MCP fonctionne via le connecteur MCP local de TypingMind. C’est l’option idéale lorsque le serveur MCP doit accéder à des fichiers locaux, des applications de bureau, des outils en ligne de commande ou des ressources privées sur votre ordinateur.

Quels outils le serveur MCP BioContextAI Knowledgebase MCP propose-t-il dans TypingMind ?

BioContextAI Knowledgebase MCP propose des fonctionnalités MCP que vous pouvez activer depuis la page Plugins de TypingMind et utiliser dans les discussions ou attribuer à des agents IA.

Dois-je partager mes clés API avec TypingMind pour utiliser le serveur MCP BioContextAI Knowledgebase MCP ?

Non. TypingMind privilégie le fonctionnement local et vous permet de garder le contrôle de vos fournisseurs de modèles, clés API, prompts et paramètres MCP. Si BioContextAI Knowledgebase MCP nécessite une authentification, ajoutez les en-têtes, les paramètres OAuth ou la configuration locale requis pour ce serveur MCP lors de la création de la connexion.

Serveurs MCP similaires

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇