MyGene MCP Server

MyGene MCP Server

Enables AI assistants to query gene annotations, expression, pathways, variants, and more via the MyGene.info API, supporting batch operations and multiple biological data sources.

Category
Visit Server

README

MyGene MCP Server

CI MCP Server Python 3.12+ License: MIT

A Model Context Protocol (MCP) server that exposes the MyGene.info API as a set of tools for AI assistants.

Features

Core Capabilities

  • Gene Search: Query genes by symbol, name, Entrez ID, Ensembl ID, or other identifiers
  • Gene Annotations: Retrieve comprehensive gene information from multiple sources
  • Expression Queries: Search genes by tissue expression or retrieve expression profiles
  • Pathway Queries: Find genes in biological pathways or get pathway memberships
  • GO Annotations: Search by GO terms or retrieve GO annotations with evidence codes
  • Disease Associations: Find disease-associated genes or get gene-disease links
  • Drug/Chemical Interactions: Search genes by drug/chemical or get interaction data
  • Ortholog/Homology: Find orthologs across species or search homologous genes
  • Variant Information: Retrieve genetic variants and clinical significance
  • Batch Operations: Process up to 1000 genes in a single request
  • Genomic Interval Search: Find genes by chromosomal coordinates
  • Advanced Queries: Build complex queries with boolean logic and filters
  • Data Export: Export gene lists in TSV, CSV, JSON, or XML formats

Data Sources

  • NCBI: Entrez Gene, RefSeq, HomoloGene
  • Ensembl: Gene annotations, homology data
  • UniProt: Protein annotations, GO terms
  • Human Protein Atlas (HPA): Tissue expression, subcellular localization
  • GTEx: Gene expression in human tissues
  • BioGPS: Gene expression profiles
  • ExAC: Exome aggregation data
  • KEGG: Pathways and disease associations
  • Reactome: Biological pathways
  • WikiPathways: Community pathways
  • BioCarta: Pathway diagrams
  • NetPath: Signal transduction pathways
  • PID: Pathway Interaction Database
  • Gene Ontology: Functional annotations
  • DisGeNET: Disease-gene associations
  • ClinVar: Clinical variants
  • OMIM: Genetic disorders
  • PharmGKB: Pharmacogenomics
  • DrugBank: Drug targets
  • ChEMBL: Bioactive compounds
  • ChEBI: Chemical entities
  • InterPro: Protein families and domains
  • Pfam: Protein families
  • SMART: Protein domains
  • PANTHER: Gene function classification

Prerequisites

  • Python 3.12+ with pip

Quick Start

1. Install UV

UV is a fast Python package and project manager.

pip install uv

2. Install MCPM (MCP Manager)

MCPM is a package manager for MCP servers that simplifies installation and configuration.

pip install mcpm

3. Setup the MCP Server

cd mygene-mcp
uv sync

4. Add the Server to Claude Desktop

# Make sure you're in the project directory
cd mygene-mcp

# Set Claude as the target client
mcpm target set @claude-desktop

# Add the MyGene MCP server
mcpm import stdio mygene \
  --command "$(uv run which python)" \
  --args "-m mygene_mcp.server"

Then restart Claude Desktop.

Usage

Running the Server

uv run python -m mygene_mcp.server

You can choose a specific transport when starting the FastMCP server:

uv run python -m mygene_mcp.server --transport stdio        # default (Claude Desktop)
uv run python -m mygene_mcp.server --transport sse --host 0.0.0.0 --port 8000
uv run python -m mygene_mcp.server --transport http --host 0.0.0.0 --port 8000

When running with --transport sse or --transport http, the server exposes a discovery document at /.well-known/mcp.json and a health check at /.

Development

uv sync --extra dev
uv run pytest tests/ -v

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured