شعار Enrichr MCP Server

Enrichr MCP Server

المجتمع
tianqitang1

Performs gene set enrichment analysis using the Enrichr API, supporting all available gene set libraries.

الناشرtianqitang1
المستودعenrichr-mcp-server
اللغةTypeScript
التفريعات
6
النجوم
15
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Enrichr MCP Server إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 15، والنسخ المتفرعة: 6 في المستودع المرتبط.

Enrichr MCP Server

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.

Smithery

Installation

Claude Desktop

Download the latest MCPB bundle (.mcpb file) and install it via ☰ (top left) -> File -> Settings, then drag and drop the file into the Settings window.

Cursor / VS Code

Use the buttons below to install with default settings:

Install MCP Server Add to VS Code Add to VS Code Insiders

Claude Code

bash
claude mcp add enrichr-mcp-server -- npx -y enrichr-mcp-server

Or install as a Claude Code plugin:

bash
/plugin install enrichr-mcp-server

Smithery

bash
npx -y @smithery/cli install enrichr-mcp-server --client claude

Manual Configuration

Add to your MCP client config (e.g., .cursor/mcp.json):

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

Features

  • 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
  • TSV Export: Save complete results to TSV files

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 recommends a library that Enrichr has retired. When two libraries are equally relevant, the newer vintage ranks first (GO_Biological_Process_2026 over ..._2021).

Parameters:

  • query (required): Research context (e.g., "DNA repair", "breast cancer drug resistance")
  • category (optional): Filter by category (e.g., cancer, pathways, kinases)
  • maxResults (optional): Max results to return (default: 10, max: 50)

Returns:

  • Ranked list of libraries with relevance scores, categories, and descriptions
  • Structured JSON with suggestions array

enrichr_analysis

Perform enrichment analysis across multiple Enrichr libraries in parallel.

Parameters:

  • genes (required): Array of gene symbols (e.g., ["TP53", "BRCA1", "EGFR"]) — minimum 2
  • libraries (optional): Array of Enrichr library names to query (defaults to configured libraries)
  • background (optional): Custom background gene set — minimum 20 genes. See below.
  • description (optional): Description for the gene list
  • maxTerms (optional): Maximum terms per library (default: 50)
  • format (optional): Output format: detailed, compact, minimal
  • outputFile (optional): Path to save complete results as TSV file

Returns:

  • Text content with formatted significant terms (name, p-values, odds ratio, combined score, overlapping genes)
  • Structured JSON output with full result data, including backgroundCorrected per library

Background correction

By default Enrichr tests your gene list against the whole genome. If your genes were drawn from a restricted universe — only the genes expressed in your tissue, or a targeted panel — the whole-genome default overstates significance, often by many orders of magnitude. Pass background with the universe the list was drawn from:

json
{
  "genes": ["TP53", "BRCA1", "ATM", "CHEK2"],
  "background": ["TP53", "BRCA1", "ATM", "CHEK2", "ACTB", "GAPDH", "..."],
  "libraries": ["GO_Biological_Process_2026"]
}

The difference is not cosmetic. For a 16-gene DNA-damage list, the top GO term moves from an adjusted p of 1.2e-16 (whole genome) to 1.8e-5 (48-gene background), and the number of "significant" terms drops from 359 to 10.

Background correction runs against Enrichr's separate speedrichr service, which is intermittently unavailable. Failures are retried; if they persist, the library falls back to uncorrected whole-genome p-values, and the result is flagged backgroundCorrected: false with a loud WARNING in the text output. A fallback result is never presented as if it were background-corrected.

Resources

URIDescription
enrichr://librariesFull library catalog organized by category
enrichr://libraries/{category}Libraries for a specific category (e.g., enrichr://libraries/cancer)

Prompts

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.

Arguments:

  • genes (required): Gene symbols, comma or newline separated
  • context (optional): Research context for library selection (triggers suggest_libraries step)

Library Categories

All 200+ libraries are organized into 22 categories:

CategoryExamples
transcriptionChEA_2022, ENCODE_TF_ChIP-seq_2015, TRANSFAC_and_JASPAR_PWMs
pathwaysKEGG_2021_Human, Reactome_2022, WikiPathways_2023_Human, MSigDB_Hallmark_2020
ontologiesGO_Biological_Process_2025, GO_Molecular_Function_2025, Human_Phenotype_Ontology
diseases_drugsGWAS_Catalog_2023, DrugBank_2022, OMIM_Disease, DisGeNET
cell_typesGTEx_Tissue_Expression_Up, CellMarker_2024, Tabula_Sapiens
microRNAsTargetScan_microRNA_2017, miRTarBase_2022, MiRDB_2019
epigeneticsEpigenomics_Roadmap_HM_ChIP-seq, JASPAR_2022, Cistrome_2023
kinasesKEA_2015, PhosphoSitePlus_2023, PTMsigDB_2023
gene_perturbationsLINCS_L1000_CRISPR_KO_Consensus_Sigs, CRISPR_GenomeWide_2023
metabolomicsHMDB_Metabolites, Metabolomics_Workbench_2023, SMPDB_2023
agingAging_Perturbations_from_GEO_down, GenAge_2023, Longevity_Map_2023
protein_familiesInterPro_Domains_2019, Pfam_Domains_2019, UniProt_Keywords_2023
computationalEnrichr_Submissions_TF-Gene_Coocurrence, ARCHS4_TF_Coexp
literatureRummagene_signatures, AutoRIF, GeneRIF
cancerCOSMIC_Cancer_Gene_Census, TCGA_Mutations_2023, OncoKB_2023, GDSC_2023
single_cellHuman_Cell_Landscape, scRNAseq_Datasets_2023, SingleCellSignatures_2023
chromosomeChromosome_Location, Chromosome_Location_hg19
protein_interactionsSTRING_Interactions_2023, BioGRID_2023, IntAct_2023, MINT_2023
structuralPDB_Structural_Annotations, AlphaFold_2023
immunologyImmuneSigDB, ImmPort_2023, Immunological_Signatures_MSigDB
developmentESCAPE, Developmental_Signatures_2023
otherMSigDB_Computational, HGNC_Gene_Families, Open_Targets_2023

Use suggest_libraries to search across all categories, or read enrichr://libraries/{category} for the full list in any category.

Configuration

Command Line Options

OptionShortDescriptionDefault
--libraries <libs>-lComma-separated list of Enrichr libraries to querypop
--max-terms <num>-mMaximum terms to show per library50
--format <format>-fOutput format: detailed, compact, minimaldetailed
--output <file>-oSave complete results to TSV file(none)
--compact-cUse compact format (same as --format compact)(flag)
--minimalUse minimal format (same as --format minimal)(flag)
--help-hShow help message(flag)

Format Options

  • detailed: Full details including p-values, odds ratios, and gene lists (default)
  • compact: Term name + p-value + gene count (saves ~50% tokens)
  • minimal: Just term name + p-value (saves ~80% tokens)

Environment Variables

VariableDescriptionExample
ENRICHR_LIBRARIESComma-separated list of librariesGO_Biological_Process_2025,KEGG_2021_Human
ENRICHR_MAX_TERMSMaximum terms per library20
ENRICHR_FORMATOutput formatcompact
ENRICHR_OUTPUT_FILETSV output file path/tmp/enrichr_results.tsv

Note: CLI arguments take precedence over environment variables.

Multiple Server Instances

Set up different instances for different research contexts:

json
{
  "mcpServers": {
    "enrichr-pathways": {
      "command": "npx",
      "args": ["-y", "enrichr-mcp-server", "-l", "GO_Biological_Process_2025,KEGG_2021_Human,Reactome_2022"]
    },
    "enrichr-disease": {
      "command": "npx",
      "args": ["-y", "enrichr-mcp-server", "-l", "Human_Phenotype_Ontology,OMIM_Disease,ClinVar_2019"]
    }
  }
}

Popular Libraries (Default)

When using the default -l pop configuration:

LibraryDescription
GO_Biological_Process_2026Current Gene Ontology biological process terms.
KEGG_2026Current KEGG metabolic and signaling pathways.
Reactome_Pathways_2024Current Reactome release — curated, peer-reviewed pathways.
MSigDB_Hallmark_2020Hallmark gene sets representing well-defined biological states and processes.
ChEA_2022ChIP-seq experiments identifying transcription factor-gene interactions.
GWAS_Catalog_2025Genome-wide association study results linking genes to traits.
Human_Phenotype_OntologyStandardized vocabulary of phenotypic abnormalities associated with human diseases.
PPI_Hub_ProteinsHighly connected hub proteins from protein-protein interaction networks.
DGIdb_Drug_Targets_2024Drug-gene interactions from the Drug Gene Interaction Database.
CellMarker_2024Manually curated cell type markers for human and mouse.

API Details

This server uses the Enrichr API:

  • Add List: https://maayanlab.cloud/Enrichr/addList
  • Enrichment: https://maayanlab.cloud/Enrichr/enrich
  • Library Catalog: https://maayanlab.cloud/Enrichr/datasetStatistics — fetched at runtime and cached for 24h, so the library list is never stale
  • Background-corrected enrichment: https://maayanlab.cloud/speedrichr/api/{addList,addbackground,backgroundenrich}
  • Supported Libraries: Every library Enrichr currently serves (228 at time of writing)

Note: Enrichr emits bare Infinity literals for the odds ratio when a term's overlap with the background is complete — which is not valid JSON. This server parses those responses correctly; a naive JSON.parse on the raw response will throw.

Development

bash
npm run build          # Build TypeScript
npm test               # Run tests (unit + integration + MCP protocol)
npm run test:watch     # Run tests in watch mode
npm run watch          # Auto-rebuild on file changes
npm run inspector      # Debug with MCP inspector

Requirements

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

License

MIT

References

  • Chen EY, Tan CM, Kou Y, Duan Q, Wang Z, Meirelles GV, Clark NR, Ma'ayan A. Enrichr: interactive and collaborative HTML5 gene list enrichment analysis tool. BMC Bioinformatics. 2013; 128(14).

  • Kuleshov MV, Jones MR, Rouillard AD, Fernandez NF, Duan Q, Wang Z, Koplev S, Jenkins SL, Jagodnik KM, Lachmann A, McDermott MG, Monteiro CD, Gundersen GW, Ma'ayan A. Enrichr: a comprehensive gene set enrichment analysis web server 2016 update. Nucleic Acids Research. 2016; gkw377.

  • Xie Z, Bailey A, Kuleshov MV, Clarke DJB., Evangelista JE, Jenkins SL, Lachmann A, Wojciechowicz ML, Kropiwnicki E, Jagodnik KM, Jeon M, & Ma'ayan A. Gene set knowledge discovery with Enrichr. Current Protocols, 1, e90. 2021. doi: 10.1002/cpz1.90

  • Enrichr

  • Model Context Protocol

  • MCP TypeScript SDK

استخدم MCP الخاص بـ Enrichr MCP Server مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Enrichr MCP Server، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف Enrichr MCP Server كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Enrichr MCP Server.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "enrichr-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Enrichr MCP Server، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Enrichr MCP Server.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Enrichr MCP Server لمساعدتي في هذه المهمة؟
Enrichr MCP Server
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Enrichr MCP Server.

الأسئلة الشائعة

ما استخدامات خادم MCP Enrichr MCP Server؟

Enrichr MCP Server هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Enrichr MCP Server مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Enrichr MCP Server مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Enrichr MCP Server مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Enrichr MCP Server، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Enrichr MCP Server بـ TypingMind؟

يعمل Enrichr MCP Server عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Enrichr MCP Server في TypingMind؟

يتيح Enrichr MCP Server إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Enrichr MCP Server؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Enrichr MCP Server يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇