- Home
- MCP servers
- Enrichr
Enrichr
- typescript
12
GitHub Stars
typescript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"tianqitang1-enrichr-mcp-server": {
"command": "npx",
"args": [
"-y",
"enrichr-mcp-server"
],
"env": {
"ENRICHR_FORMAT": "detailed",
"ENRICHR_LIBRARIES": "GO_Biological_Process_2025,KEGG_2021_Human",
"ENRICHR_MAX_TERMS": "50",
"ENRICHR_OUTPUT_FILE": "/tmp/enrichr_results.tsv"
}
}
}
}You run an MCP (Model Context Protocol) server that connects to Enrichr to perform gene set enrichment analysis. It lets you query many Enrichr libraries at once and returns only statistically significant results, making it easier for client tools and large language models to interpret results efficiently.
How to use
You add this server to your MCP client configuration so your tools can request enrichment analysis from Enrichr through a single, reusable endpoint. You can ask for multiple libraries at once, specify how many terms to show, and choose the output format to suit your workflow. When you call the two main tools, you supply your gene list and optionally the libraries to analyze. The server handles the Enrichr API calls and returns structured results that include terms, statistics, and overlapping genes.
How to install
Prerequisites: install Node.js 18 or newer and have an internet connection to access the Enrichr API.
Install and run the MCP server locally using a standard Node.js toolchain. The server is designed to be started via a package runner such as npm/npx.
Configuration and usage details
Configuration options allow you to control which Enrichr libraries are available to the client and how many terms are returned per library. You can set a default library set or override libraries per tool call.
Two main tools are exposed by the server. Use enrichr_analysis for multi-library queries and go_bp_enrichment for targeted GO Biological Process enrichment.
Environment and command options
Environment variables let you set default libraries, term limits, and output format. CLI arguments offer flexible control per run.
Tools and endpoints
enrichr_analysis performs enrichment across multiple libraries. go_bp_enrichment focuses on GO Biological Process terms for your gene list.
Examples of common configurations
The following configuration shows a basic setup where the MCP client uses npx to run enrichr-mcp-server with default settings.
Available tools
enrichr_analysis
Performs enrichment analysis across multiple specified Enrichr libraries and returns detailed results per library.
go_bp_enrichment
Performs Gene Ontology Biological Process enrichment analysis to identify overrepresented biological functions.