Enrichr MCP Server

MCP Server for Enrichr gene set enrichment analysis with multi-library support

Local serverstdioTypeScript

What is the Enrichr MCP Server?

Enrichr becomes available to MCP clients through the enrichr mcp server. MCP Server for Enrichr gene set enrichment analysis with multi-library support.

What Enrichr does

A Model Context Protocol (MCP) server that provides gene set enrichment analysis using the Enrichr API. This server supports all available gene set libraries from Enrichr and returns only statistically significant results (corrected-$p$ < 0.05) for LLM tools to interpret.

Key capabilities

  • Two Tools — enrichr_analysis for running enrichment, suggest_libraries for discovering relevant libraries
  • Custom Background Correction — Test against your own background gene set (e.g. only the genes expressed in your assay) instead of the whole genome
  • Live Library Catalog — The library list is fetched from Enrichr at runtime, so new releases appear automatically and retired libraries are never suggested
  • Guided Workflow — enrichment_analysis prompt for end-to-end analysis with interpretation
  • 22 Library Categories — Programmatic category mapping for all libraries (pathways, cancer, kinases, etc.)
  • Parallel Library Queries — All libraries queried in parallel for fast multi-database analysis
  • Structured Output — Returns both human-readable text and structured JSON for programmatic use
  • Configurable Output Formats — Detailed, compact, or minimal to manage token usage

Requirements

  • Node.js 18+ - Internet connection for Enrichr API access

Practical notes

  • Maintained by tianqitang1, written in TypeScript.

Recorded tools

  • suggest_libraries — Discover the most relevant Enrichr libraries for a research question. Use this before enrichr_analysis to pick the best libraries for your specific topic. Searches Enrichr's live library catalog, so it never recommen
  • enrichr_analysis — Perform enrichment analysis across multiple Enrichr libraries in parallel.
  • enrichment_analysis — Guided workflow for gene set enrichment analysis. Accepts a gene list and optional research context, then walks through library selection, analysis, and interpretation.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
suggest_libraries
enrichr_analysis

How to install the Enrichr MCP Server

{
  "mcpServers": {
    "enrichr-server": {
      "command": "npx",
      "args": [
        "-y",
        "enrichr-mcp-server"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 18+ - Internet connection for Enrichr API access

Example prompts to try

  • “Use Enrichr to Enrichment.”
  • “Use Enrichr to Background.”
  • “Use Enrichr to Smithery.”

Frequently asked questions

MCP Server for Enrichr gene set enrichment analysis with multi-library support Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.