Skip to main content
Glama

Ensembl MCP Server

Model Context Protocol (MCP) server providing access to the Ensembl genomics REST API.

Features

30+ tools for genomic data access:

  • Gene lookup by symbol or ID

  • Sequence retrieval

  • Genetic variants

  • Cross-species homology

  • Phenotype data

  • Regulatory features

  • Ontology and taxonomy data

Full endpoint documentation available in ENDPOINTS.md.

Related MCP server: Ensembl MCP Server

Installation

From GitHub

npm install git+https://github.com/munch-group/ensembl-mcp.git
cd node_modules/ensembl-mcp
npm run build

From source

git clone https://github.com/munch-group/ensembl-mcp.git
cd ensembl-mcp
npm install
npm run build

Usage with Claude Desktop

# Using built version
claude mcp add ensembl node /path/to/ensembl-mcp/build/index.js

# Or from npm global install
claude mcp add ensembl npx -y ensembl-mcp

Configuration

Add to your Claude Desktop config:

{
  "mcpServers": {
    "ensembl": {
      "command": "node",
      "args": ["/path/to/ensembl-mcp/build/index.js"]
    }
  }
}

Building

npm run build

Dependencies

  • @mcp/rest-utils - Shared REST utilities

  • @modelcontextprotocol/sdk - MCP SDK

  • zod - Schema validation

License

ISC

Available Tools

25 tools
get_homologyB

Get homologous genes/proteins across species

Inputs: id (required), species, target_species, type.

get_ontology_ancestorsB

Get ancestor terms for an ontology term

Inputs: id (required).

get_ontology_by_idB

Get ontology term information by ID

Inputs: id (required).

get_ontology_descendantsC

Get descendant terms for an ontology term

Inputs: id (required), closest_terms.

get_phenotype_by_geneC

Get phenotype annotations associated with a gene

Inputs: gene_id (required), species.

get_regulatory_featuresC

Get regulatory features in a genomic region

Inputs: region (required), species.

get_sequenceB

Get the DNA/RNA/protein sequence for a given region or feature

Inputs: id (required), type.

get_taxonomy_by_idC

Get taxonomy information by ID

Inputs: id (required).

get_taxonomy_classificationC

Get taxonomic classification for a species

Inputs: id (required).

get_variants_for_regionC

Get genetic variants for a genomic region

Inputs: region (required), species.

get_xrefs_by_geneC

Get external references (cross-references) for a gene

Inputs: gene_id (required), external_db.

get_xrefs_by_nameC

Search cross-references by name

Inputs: species (required), name (required).

get_xrefs_by_symbolB

Get cross-references for a gene symbol

Inputs: symbol (required), species, external_db.

lookup_gene_by_idB

Look up a gene by its Ensembl stable ID (e.g., ENSG00000139618)

Inputs: id (required), expand.

lookup_gene_by_symbolC

Look up a gene by its symbol (e.g., BRCA2) and get detailed information including ID, location, and description

Inputs: symbol (required), species, expand.

map_assemblyC

Map coordinates between different genome assemblies

Inputs: species (required), asm_one (required), region (required), asm_two (required).

map_cdna_to_regionC

Map cDNA coordinates to genomic coordinates

Inputs: id (required), region (required).

map_cds_to_regionC

Map CDS coordinates to genomic coordinates

Inputs: id (required), region (required).

map_translation_to_regionC

Map protein coordinates to genomic coordinates

Inputs: id (required), region (required).

overlap_idB

Get features that overlap a specific feature by ID

Inputs: id (required), feature.

overlap_regionC

Get features that overlap a given genomic region

Inputs: region (required), species, feature.

overlap_translationC

Get features overlapping a translation (protein)

Inputs: id (required), feature.

search_ontology_by_nameC

Search for ontology terms by name

Inputs: name (required), ontology.

search_taxonomy_by_nameD

Search taxonomy by name

Inputs: name (required).

vep_regionB

Predict variant consequences for a genomic region using the Variant Effect Predictor (VEP). Returns detailed consequence predictions including transcript effects, protein changes, and regulatory impacts.

Inputs: region (required), allele (required), species, canonical, +27 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 25 tools

    Disambiguation4/5

    Most tools have distinct purposes, such as get_sequence for sequences and get_homology for homologous genes, but some overlap exists: get_xrefs_by_gene, get_xrefs_by_symbol, and get_xrefs_by_name all handle cross-references with slight variations, which could cause minor confusion. Overall, descriptions clarify boundaries, but the xrefs tools are somewhat redundant.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern, primarily using 'get_', 'lookup_', 'map_', 'overlap_', 'search_', and 'vep_' prefixes, with snake_case throughout. This predictability makes it easy for agents to understand and navigate the tool set without naming conflicts.

    Tool Count3/5

    With 25 tools, the count is borderline high for a genomic data server, feeling slightly heavy but not excessive. It covers various aspects like sequences, variants, and mappings, but could potentially be streamlined by consolidating overlapping tools (e.g., the xrefs group).

    Completeness5/5

    The tool set provides comprehensive coverage for genomic and bioinformatics tasks, including data retrieval (e.g., genes, sequences, variants), mapping between coordinates, ontology and taxonomy lookups, and variant prediction with VEP. There are no obvious gaps; it supports full lifecycle operations from search to analysis.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers