ensembl-mcp-server
MCP server by cyanheads Community
Looks up genes, fetches sequences, predicts variant consequences, finds orthologs and retrieves cross-database xrefs from the Ensembl REST API. It is built for researchers and developers working with genomic data from vertebrates and other model organisms.
Install ensembl-mcp-server
Built from the published package, never by AI.
claude mcp add ensembl-mcp-server -- npx -y @cyanheads/ensembl-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"ensembl-mcp-server": {
"args": [
"-y",
"@cyanheads/ensembl-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"ensembl-mcp-server": {
"args": [
"-y",
"@cyanheads/ensembl-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"ensembl-mcp-server": {
"args": [
"-y",
"@cyanheads/ensembl-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add ensembl-mcp-server -- npx -y @cyanheads/ensembl-mcp-server{
"mcpServers": {
"ensembl-mcp-server": {
"args": [
"-y",
"@cyanheads/ensembl-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add ensembl-mcp-server npx -y @cyanheads/ensembl-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ensembl-mcp-server block.
About
The ensembl-mcp-server is an MCP server that exposes the Ensembl REST API to AI assistants. It covers gene, sequence and variant data for vertebrates and other model organisms. The server provides seven tools for listing species, resolving genes by symbol or stable ID, fetching DNA, cDNA, CDS or protein sequences, querying genomic regions, predicting variant effects with the Ensembl Variant Effect Predictor, finding orthologs and paralogs, and retrieving cross-database references.
The server runs over STDIO or Streamable HTTP. It also provides four resources for gene, transcript and species records, and one prompt that walks through a full gene profile from symbol to xrefs. A public hosted instance is listed in the README. The project is aimed at people doing gene and variant research who want an assistant to query Ensembl directly.
Written from the project's README and checked against it.
Tools it gives your assistant
ensembl_list_speciesLists species supported by Ensembl with internal name, common name, assembly and taxon ID.ensembl_lookup_geneResolves a gene by symbol or stable ID to its Ensembl ID, location, biotype and transcripts.ensembl_get_sequenceFetches DNA, cDNA, CDS or protein sequences for a gene, transcript, protein or genomic region.ensembl_query_regionFinds genes, transcripts, variants, regulatory elements and exons overlapping a chromosomal region.ensembl_predict_variantPredicts functional consequences of a sequence variant using the Ensembl Variant Effect Predictor.ensembl_get_homologyFinds orthologs and paralogs of a gene across species with percent identity and taxonomy level.ensembl_get_xrefsRetrieves cross-database references for a gene, such as HGNC, UniProt, EntrezGene, OMIM and Reactome.
What you need
- npx to run the npm package @cyanheads/ensembl-mcp-server
- An MCP-compatible AI assistant or client
| Setting | Needed | What it is |
|---|---|---|
ENSEMBL_Environment variable | Optional | Ensembl REST API base URL. Override to use GRCh37 endpoint or a local mirror. Default: https://rest.ensembl.org |
ENSEMBL_Environment variable | Optional | Clamp an ensembl_query_region max_results above 5,000 to 5,000 with a notice. Set false to advertise 5,000 as the schema maximum and reject larger values. Default: true |
MCP_Environment variable | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). Default: info |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Look up the gene BRCA2 in human and show its canonical transcript
- Get the protein sequence for ENST00000380152 from Ensembl
- Find human orthologs of the fly gene in Drosophila melanogaster
Good to know
- Stable IDs with a version suffix are sent without the version, and the current version is returned.
- Region queries are capped at 5,000,000 bases and sequence requests at 10,000,000 bases.
- Gene batch lookups process only the first 20 distinct queries, and the rest are reported as omitted.
- Species resources return only the first 50 species; ensembl_list_species pages through the rest.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to ensembl-mcp-server
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
ensembl-mcp-server: common questions
What does the ensembl-mcp-server do?
It gives AI assistants tools to query the Ensembl REST API for genes, sequences, variant consequences, orthologs and cross-database xrefs. The README describes it as covering vertebrates and other model organisms.
Can it predict the effect of a genetic variant?
Yes. The ensembl_predict_variant tool accepts HGVS notation, region plus allele, or a dbSNP rsID, and uses the Ensembl Variant Effect Predictor to return consequences.
Does it work over HTTP or only locally?
The README says it runs over STDIO or Streamable HTTP, and it lists a public hosted server at ensembl.caseyjhand.com/mcp.
How do I install ensembl-mcp-server?
In Claude Code run claude mcp add ensembl-mcp-server -- npx -y @cyanheads/ensembl-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is ensembl-mcp-server the official server?
ensembl-mcp-server is a community project by cyanheads, not verified by a company domain.
Is ensembl-mcp-server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is ensembl-mcp-server safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ensembl-mcp-server?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does ensembl-mcp-server work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
