mgi-link
mgi-link provides structured access to Mouse Genome Informatics (MGI) data for mouse genetics research, exposing gene/marker records, alleles, phenotypes, disease models, and ontology terms as queryable tools.
Resolve & retrieve markers: Look up mouse markers by symbol, MGI ID, synonym, or human ortholog (HGNC ID/symbol) to get canonical MGI records with genomic location, cross-references (NCBI, Ensembl), synonyms, and summary counts for alleles, phenotypes, and diseases.
Search markers: Free-text search over mouse marker symbols, names, and synonyms with optional marker type filtering.
Alleles & mutations: Retrieve phenotypic alleles and mutations for a marker, including allele type, attributes, PubMed IDs, and generation-method counts (Targeted, CRISPR, Transgenic, etc.), with optional type filtering.
Phenotype annotations: Get Mammalian Phenotype (MP) annotations for a marker, deduplicated and filterable by MP system; full mode returns per-genotype rows with allelic composition, genetic background, and PubMed IDs.
Phenotype overview grid: View the top-level 27-system phenotype overview showing which biological systems are affected.
Reverse phenotype lookup: Given an MP term ID, find all mouse genes annotated with that phenotype, optionally including descendant terms via ontology rollup.
Ortholog mapping: Retrieve mouse↔human ortholog details including HGNC ID, NCBI Gene, Ensembl, OMIM gene ID, and human GRCh38 coordinates.
Disease models: Retrieve human-mouse disease model associations (Disease Ontology + OMIM IDs) curated by MGI.
MP ontology exploration: Look up MP terms for definitions, parent/child relationships, and top-level system rollup; search MP term names and definitions by free text.
Discovery & diagnostics: Inspect available tools, accepted arguments, response modes, and check local MGI index status (data freshness, record counts, schema version).
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mgi-linkWhat phenotypes are associated with the Wt1 gene?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mgi-link
An MCP (Model Context Protocol) server that grounds mouse-genetics work in Mouse Genome Informatics (informatics.jax.org). It reproduces the data on an MGI gene/marker page — especially Mutations, Alleles, and Phenotypes — as structured tools an agent can call.
Research use only. Not clinical decision support. Do not use for diagnosis, treatment, triage, or patient management.
Why
The MGI gene page (e.g. Wt1, MGI:98968) is a rich JS app with no clean JSON API. The data behind it exists only as bulk TSV reports and an OBO ontology file — no endpoint answers "what phenotypes does knocking out this gene cause?".
mgi-link rebuilds that surface from MGI's canonical bulk reports into a fast,
offline, deterministic SQLite index and exposes it as MCP tools with structured
outputs, response_mode verbosity control, and _meta.next_commands chaining.
It also closes the mouse↔human gap: pass a human symbol or HGNC id to any
marker tool and it resolves through the ortholog.
Related MCP server: BioContextAI Knowledgebase MCP
Quick start
Hosted — no install:
claude mcp add --transport http mgi-link https://mgi-link.genefoundry.org/mcpLocally (Python 3.12+, uv). make data is
required: the server has no data until the MGI reports are downloaded and the
index is built.
make install # uv sync --group dev
make data # REQUIRED: download the MGI bulk reports, build the SQLite index
make dev # unified server: FastAPI /health + MCP /mcp on 127.0.0.1:8000
make mcp-serve # or: the stdio MCP serverclaude mcp add mgi-link -- uv run mgi-link-mcp # stdioDeploying behind a reverse proxy? MGI_LINK_ALLOWED_HOSTS must list the public
hostname — see configuration.md.
Tools
Tool | Purpose |
| Resolve a mouse symbol / MGI id / human ortholog → canonical marker |
| Full marker record: location, xrefs, ortholog, summary counts |
| Full-text search over marker symbol / name / synonyms |
| Mutations & Alleles + generation-method category counts |
| MP annotations (allelic composition, background, PubMed) + summary |
| The 27-system MGI Phenotype Overview grid |
| Human–mouse disease models (DO/OMIM) |
| Mouse ↔ human ortholog (HGNC/Entrez/Ensembl/OMIM) |
| Mammalian Phenotype ontology term (parents/children/systems) |
| Full-text search over MP terms |
| Reverse lookup: MP term → mouse genes (descendants included) |
| Discovery: the tool surface, vocabularies, limits, citation |
| Health and provenance: the loaded MGI release |
Leaf names are intentionally unprefixed per the GeneFoundry
Tool-Naming Standard v1. The
canonical gateway namespace token is mgi: behind
genefoundry-router these
surface as mgi_<tool> (e.g. mgi_get_marker), with get_marker_phenotypes
pinned as the entry point. Worked call sequences: usage.md.
Data & provenance
The index is built from the MGI bulk reports at
informatics.jax.org/downloads/reports:
MRK_List2, MGI_PhenotypicAllele, MGI_GenePheno, VOC_MammalianPhenotype,
MPheno_OBO.ontology, HOM_MouseHumanSequence, MGI_DO and MRK_ENSEMBL. A
live MouseMine (InterMine) enrichment client exists but is off by default and
reserved for v2.
MGI publishes roughly weekly. mgi-link-data refresh is conditional (ETag /
Last-Modified, so an unchanged release costs one 304) and is driven by an
external cron job — the in-process scheduler is off by default. Full model:
data.md.
Data licence. MGI data are freely available for research use; please cite MGI / The Jackson Laboratory (copyright). The Mammalian Phenotype Ontology is licensed CC BY 4.0, a separate grant.
Cite (served verbatim at mgi://citation): Baldarelli RM, Smith CL, Bello SM,
et al. Mouse Genome Informatics: an integrated knowledgebase system for the
laboratory mouse. Genetics. 2024;227(1):iyae031. doi:10.1093/genetics/iyae031.
RRID:SCR_006460.
Documentation
Usage — canonical workflows, the tool reference, and what is out of scope in v1.
Configuration — every
MGI_LINK_*variable, the entry points, and the Host/Origin allowlists.Data — the source reports, the refresh model, licensing and citation.
Deployment — cron, systemd, Docker, and running behind a proxy.
Architecture — the data plane, the SQLite schema, and the MCP plane.
AGENTS.md — engineering conventions and architecture invariants.
Contributing
See AGENTS.md for engineering conventions and the invariants not to
break. make ci-local is the definition-of-done gate: format, lint, line budget,
README standard, mypy strict, and tests. It must be green before a change lands.
License
Code: MIT © mgi-link contributors. Data: MGI data are free for research use (cite MGI / The Jackson Laboratory); the Mammalian Phenotype Ontology is CC BY 4.0.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/berntpopp/mgi-link'
If you have feedback or need assistance with the MCP directory API, please join our Discord server