mcpField
B
BioGRID MCP server

BioGRID MCP server

Local
github.com/kleonaiScience & Education0Updated 73w ago

About BioGRID MCP server

BioGRID MCP server gives LLMs and agents access to BioGRID genetic and physical interaction data. Researchers can look up genes, retrieve evidence-backed interactions, export network edge lists, and inspect network statistics through schema-validated calls.

Key features

  1. 01Retrieve genetic and physical interactions
  2. 02Find first-degree gene partners
  3. 03Export TSV or CSV edge lists
  4. 04Search gene symbols and aliases
  5. 05Summarize interaction network statistics
  6. 06Access interaction and publication resources

Use cases

  1. 01Find TP53 interaction partners for a CRISPR screen
  2. 02Build Cytoscape-ready networks from gene lists
  3. 03Resolve ambiguous gene symbols
  4. 04Check network density before exporting

MCP support

The server exposes BioGRID interaction tools and resource templates to MCP clients. It supports stdio and HTTP transports.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README
README image

BioGRID MCP server

This is a Model-Context-Protocol (MCP) endpoint server that unlocks BioGRID’s 2 × 10⁷ curated genetic and physical interactions for any LLM or autonomous agent to access the BioGRID API. This repository provides tools for your agent stack to go from raw gene symbols to publication-backed interaction networks, TSV edge lists, and ready-to-analyse statistics—all through schema-validated JSON calls. These tools self-describe inputs/outputs, so agents can discover, validate and correct calls on their own.


Tools

  1. get_interactions: Retrieve every BioGRID interaction that involves one gene.
  2. get_neighbors: Lightweight wrapper returning first-degree partners for a single gene.
  3. export_edge_list: Produce a TSV/CSV edge list for a set of genes – ready for Cytoscape or graph-tool.
  4. search_genes: Fuzzy search BioGRID’s gene table to look up ambiguous symbols/aliases.
  5. interaction_stats: Quick network summary for a gene list (counts, degree distribution, physical/genetic ratio).

Resource templates

  1. biogrid://edge-list/{gene1,gene2,…}: TSV edge list for a gene set (same as export_edge_list but cached & shareable)
  2. biogrid://interaction/{biogrid_id}: Lets an agent cite one interaction as evidence without parsing the whole TSV.
  3. biogrid://gene/{gene_symbol}: Quick “knowledge card” a model can quote when introducing a gene.
  4. biogrid://publications/{pubmed_id}: Enables citation-aware answers or RAG pipelines without hitting NCBI.
  5. biogrid://dataset/{dataset_id}: Bulk download of a specific BioGRID dataset release (tar/zip).

Example Use-Cases

Tool namePurposeCore arguments (defaults)Typical outputExample use case
get_interactionsRetrieve every BioGRID interaction that involves one gene.gene_symbol (required), species = 9606, type = "all" | "physical" | "genetic", limit = 1000JSON array of interaction objects, each with partner, experimental system, PubMed IDs, score.“Show me all physical interactions reported for TP53 so I can shortlist co-factor candidates for a CRISPR screen.”
get_neighborsLightweight wrapper returning first-degree partners only.Same args as above (limit defaults to 250).JSON list of partner symbols plus metadata (great for prompt loops).Automatically expand a protein set: “Given BRCA1, return its top 25 genetic interactors and feed them into functional enrichment.”
export_edge_listProduce a TSV/CSV edge list for a set of genes – ready for Cytoscape, NetworkX, Gephi, etc.gene_symbols[] (required), species, typeSingle text blob (TSV) or chunked stream: source, target, interaction type, PubMed, evidence.“Create an edge list for the genes in my RNA-seq DEG list so I can cluster the network in Cytoscape and find functional modules.”
search_genesFuzzy search BioGRID’s gene table to look up ambiguous symbols or aliases.query (required), speciesRanked list with official symbol, systematic name, BioGRID ID and organism.Resolve an alias: “I’m not sure if p85 maps to PIK3R1 or PIK3R2—search and let me pick the correct high-confidence entry.”
interaction_statsQuick network summary for a gene list (node/edge counts, degree distribution, physical:genetic ratio)gene_symbols[] (required), species, typeJSON with node-count, edge-count, mean degree, histogram buckets.“Before I export, give me a sanity check: How dense is the interaction network among my 50 Alzheimer’s hits?”

Quick Install

1. Clone & Install
git clone https://github.com/<you>/biogrid-mcp-server.git
cd biogrid-mcp-server
npm install
2. Set your BioGRID API key

https://webservice.thebiogrid.org/ This is free for academic usages.

   export BIOGRID_API_KEY=YOUR_KEY_HERE
3. Run the sever

stdio mode is the best for local LLMs

npm run start

HTTP mode – expose on a port for remote agents (choose any free port):

npm run start:http -- --port 3335

You should see something like:

[BIOGRID-MCP] server ready – manifest at /.well-known/mcp/manifest.json
5. Tool call example
{
  "name": "get_neighbors",
  "arguments": {
    "gene_symbol": "TP53",
    "species": 9606,
    "type": "genetic",
    "limit": 250
  }
}

9606 here stands for the species 'human'. Sample that you'll get

{
  "query": {"gene":"TP53","species":9606,"type":"genetic"},
  "neighbors": [
    {
      "partner": "MDM2",
      "biogridId": "111",
      "experimentalSystem": "Dosage Rescue",
      "pubmedIds": [12345]
    }
    /* … */
  ],
  "meta": {
    "total": 187,
    "timestamp": "YYYY-MM-DDTHH:MM:SSZ",
    "biogrid_version": "4.4.229"
  }
}

Workflow examples across several MCP servers

  1. Variant triage: search_genes → get_interactions → filter by genetic evidence → rank partners by PubMed support.

  2. Module building: get_neighbors (seed genes) → export_edge_list → feed into GRAPH-MCP for clustering → overlay_expression.

  3. Cross-DB enrichment: search_genes → STRING-MCP get_functional_enrichment → Reactome-MCP pathway overlay.

Coming soon: http://github.com/kleonai/bio-mcp-servers for a list of Biology MCP servers and usage guides.

Development guide

  • src/api.ts – thin axios wrapper around BioGRID /interactions/ and /gene/ endpoints
  • src/parsers.ts – converts TSV ➞ typed objects
  • src/tools.ts – declare tool schemas and handlers
  • src/server.ts – wire up MCP transport (stdio + express)
  • Add new analytics (e.g., centrality, clustering) in src/analytics.ts

Prerequisites

RequirementVersionNotes
Node.js≥ 18 LTSTypeScript + ESM support
npm≥ 9ships with Node installations
BioGRID API keyfree for academicsRequest here

The server has been developed by https://kleonlab.com/

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.