# Enrichr MCP server

> Ask in plain English which Enrichr gene sets your gene list overlaps, and get the significant terms back.

- Sign-in: See setup
- Connect in RevampKey: https://revampkey.com/marketplace/enrichr-mcp-server

## Agent skills (1)

- [Enrichr MCP Server with AI: Gene Set Enrichment Analysis](https://revampkey.com/marketplace/enrichr-mcp-server/skills/essentials.md): Runs enrichment tests on a gene list across Enrichr libraries and returns only significant terms, choosing libraries and a background universe with care. It reports fallback results honestly and does not change any data.

All skills: https://revampkey.com/marketplace/enrichr-mcp-server/skills.md

Enrichr MCP Server is a server made by Tianqi Tang. It runs gene set enrichment analysis through the Enrichr API. It supports every gene set library Enrichr offers and returns only statistically significant results, with corrected p below 0.05. Its examples use gene lists such as TP53, BRCA1 and EGFR from DNA repair and breast cancer research, so it suits people who work with gene lists from biology studies.

Connected in RevampKey, you can ask the agent to suggest libraries for a research question, then run enrichr_analysis on your gene symbols. You can limit results with a maxTerms count or choose a compact or minimal format. If your genes came from a restricted set, such as genes expressed in your tissue or a targeted panel, you can pass that background list of at least 20 genes. Results can be saved as a TSV file.

## What you can do

### Check a DNA-damage gene list

You have a short list of DNA-damage genes, such as TP53, BRCA1, ATM and CHEK2. Ask the agent to find libraries for DNA repair, then run enrichment on the list. It returns the significant terms with p-values, odds ratios, combined scores and the genes that overlap each term.

### Match the background to your assay

Your genes came from a tissue where only some genes are expressed. Tell the agent to use those expressed genes as the background, at least 20 genes. The test then compares your list to that universe, not the whole genome, which avoids overstated significance.

### Save a full breast cancer run

You ran enrichment on a breast cancer gene list and only saw the top terms in chat. Ask the agent to save the complete results as a TSV file at a path you choose. The agent asks before it writes the file, and you can open the full term list outside the chat.

## Things to ask

- Which Enrichr libraries fit DNA repair? Show the top 5 with their categories.
- Run enrichment on TP53, BRCA1, ATM and CHEK2 using GO_Biological_Process_2026.
- Re-run this list with my tissue's expressed genes as the background, at least 20 genes.
- Show only the top 10 terms per library in compact format.
- Save the full results for this analysis to a TSV file at ~/Documents/enrichr-results.tsv.

## What the agent can do

### Finding libraries

Search Enrichr's live library catalog for libraries that match your research question. You can filter by category, such as cancer, pathways or kinases, and set how many results to see, up to 50. Results come ranked with relevance scores.

`suggest_libraries`

### Running enrichment

Run enrichment analysis on a list of gene symbols, such as TP53 or EGFR, across at least two libraries at once. Libraries are queried in parallel. You get significant terms with p-values, odds ratios, combined scores and overlapping genes.

`enrichr_analysis`

### Custom background

Test your genes against your own background gene set of at least 20 genes, such as only the genes expressed in your assay. If the background service is unavailable, the result is flagged as not background-corrected.

`enrichr_analysis`

### Result size and format

Set how many terms come back per library, and pick detailed, compact or minimal output. This controls how much text the agent reads and how much you see in the reply.

`enrichr_analysis`

### Saving results

Save complete enrichment results to a TSV file at a path you give. Use this when you want every term from a run, not only the top ones shown in chat.

`enrichr_analysis`

## FAQ

### What do I need to connect Enrichr MCP Server?

Add Enrichr MCP Server from the Connectors tab in RevampKey. Once it is connected, you ask in plain English and the agent calls its two tools, suggest_libraries and enrichr_analysis. You need a gene list, usually gene symbols such as TP53. A research question helps if you want library suggestions.

### What can the agent do with this connector, and what can it not do?

The agent can search Enrichr's library catalog, run enrichment on gene lists, apply a custom background and save results to a TSV file. It works only through those two tools. It has no tool for editing or deleting anything in Enrichr, and it cannot run analyses outside the libraries Enrichr provides.

### What happens to my gene lists, and does the agent ask first?

Gene lists are sent to Enrichr's API for analysis. When you pass a background, the background correction runs against Enrichr's separate speedrichr service. The agent asks before it changes anything, including saving a TSV file. Check the agent's answers against the returned results before you rely on them.

### What happens if background correction fails?

Enrichr's speedrichr service is sometimes unavailable. The server retries, and if failures persist, that library falls back to uncorrected whole-genome p-values. The result is flagged backgroundCorrected: false with a WARNING in the text output, so a fallback is never shown as background-corrected.

### Is the Enrichr MCP server local or remote?

It runs on your own computer with npx (package enrichr-mcp-server@0.4.1). Your client starts it as a local process; nothing is hosted.

### What can an AI agent do with the Enrichr MCP server?

It exposes 2 tools: 2 that read and 0 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for Enrichr?

Yes. 1 SKILL.md playbooks teach an agent how to do real Enrichr work step by step. RevampKey installs them when you connect Enrichr; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (2)

- `enrichr_analysis`
- `suggest_libraries`

## Details

- Maker: Tianqi Tang
- Setup: Connect from the app
- Documentation: https://github.com/tianqitang1/enrichr-mcp-server#readme

Page: https://revampkey.com/marketplace/enrichr-mcp-server
