Kegg analysis
Skill Lucas-Servi/kegg-mcp-server-python/skills/kegg-analysis
Use when the user asks to analyze genes, pathways, compounds, drugs, or metabolic networks using KEGG. Triggers on requests like "find pathways for these genes", "what does this enzyme do", "compare metabolism across species", "drug targets", "pathway enrichment", or any bioinformatics question involving KEGG identifiers (hsa:1234, map00010, C00001, K00001, ec:1.1.1.1).From its SKILL.md
npx -y skills add Lucas-Servi/kegg-mcp-server-python --skill kegg-analysisAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.2 KB, as published. Nobody here has run it
KEGG Bioinformatics Analysis
Guide the user through structured KEGG database queries using the kegg MCP server tools.
Available Tools
You have access to 34 KEGG tools via the kegg MCP server. Key categories:
| Category | Tools | Use for |
|---|---|---|
| Pathways | search_pathways, get_pathway_info, get_pathway_genes, get_pathway_compounds, get_pathway_reactions | Finding and exploring metabolic/signaling pathways |
| Genes | search_genes, get_gene_info, get_gene_orthologs | Gene function, cross-species orthologs |
| Compounds | search_compounds, get_compound_info, get_compound_reactions | Metabolites, substrates, products |
| Reactions | search_reactions, get_reaction_info | Biochemical transformations |
| Enzymes | search_enzymes, get_enzyme_info | EC numbers, catalytic activity |
| Diseases | search_diseases, get_disease_info | Disease-gene-drug associations |
| Drugs | search_drugs, get_drug_info, get_drug_interactions | Pharmacology, DDI |
| Orthology | search_ko_entries, get_ko_info | Functional orthologs (KO) |
| Cross-DB | batch_entry_lookup, convert_identifiers, find_related_entries | Bulk queries, ID mapping (UniProt, NCBI, ChEBI) |
| Visualization | render_pathway_ascii | ASCII pathway diagrams |
Workflow Patterns
Pattern 1: Gene List → Pathway Enrichment
When the user provides a gene list:
- Identify the organism code (e.g.,
hsafor human,ecofor E. coli,scefor yeast) - For each gene, use
search_geneswith the organism to get KEGG gene IDs - For each gene ID, use
get_gene_infowithdetail_level="full"to get pathway associations - Tally pathway frequencies across the gene list
- For enriched pathways (appearing 2+ times), use
get_pathway_infoto describe their function - Summarize: which pathways are over-represented, what biological processes they reflect
Pattern 2: Pathway Deep Dive
When the user asks about a specific pathway:
- Use
search_pathwaysto find the pathway ID if not provided - Use
get_pathway_infowithdetail_level="full"for overview - Use
get_pathway_genes,get_pathway_compounds,get_pathway_reactionsfor components - Use
render_pathway_asciito visualize topology - Highlight key enzymes, rate-limiting steps, and regulatory points
Pattern 3: Cross-Species Comparison
When comparing metabolism across organisms:
- Get the reference pathway (e.g.,
map00010for glycolysis) - For each organism code, use
get_pathway_infowith the organism-specific ID (e.g.,hsa00010,eco00010) - Use
get_pathway_genesfor each organism to list genes - Compare: which genes are conserved vs. species-specific
- Use
get_gene_orthologsfor genes of interest to find KO assignments
Pattern 4: Compound/Drug Investigation
When investigating a compound or drug:
- Use
search_compoundsorsearch_drugsto find the entry - Use
get_compound_infoorget_drug_infowithdetail_level="full" - Use
get_compound_reactionsto find biochemical context - Use
find_related_entriesto cross-link to pathways, enzymes, diseases - For drugs: use
get_drug_interactionsto screen DDI
Pattern 5: ID Mapping
When the user has identifiers from other databases:
- Use
convert_identifiersto map between KEGG and external DBs (UniProt, NCBI GeneID, ChEBI, PubChem) - Use
batch_entry_lookupfor bulk retrieval (up to 50 entries) - Use
find_related_entriesto traverse links between KEGG databases
KEGG Identifier Formats
| Database | Format | Example |
|---|---|---|
| Pathway | map{5digits} or {org}{5digits} | map00010, hsa00010 |
| Gene | {org}:{id} | hsa:1956, eco:b0002 |
| Compound | C{5digits} | C00001 (water), C00002 (ATP) |
| Reaction | R{5digits} | R00756 |
| Enzyme | ec:{EC number} | ec:1.1.1.1 |
| KO | K{5digits} | K00001 |
| Drug | D{5digits} | D00001 |
| Disease | H{5digits} | H00004 |
| Module | M{5digits} | M00001 |
| Glycan | G{5digits} | G00001 |
Common Organism Codes
| Code | Organism |
|---|---|
hsa | Homo sapiens (human) |
mmu | Mus musculus (mouse) |
eco | Escherichia coli K-12 |
sce | Saccharomyces cerevisiae (yeast) |
ath | Arabidopsis thaliana |
dme | Drosophila melanogaster |
Use list_organisms to find any organism code.
Tips
- Start with
detail_level="summary"(default) to keep responses concise; switch to"full"when the user needs complete details - Use
batch_entry_lookupinstead of individual calls when fetching 3+ entries render_pathway_asciiingridmode shows spatial relationships;chainmode shows linear flow- KEGG cross-references are bidirectional — use
find_related_entriesto traverse in either direction - When the user provides gene symbols (e.g., EGFR, TP53), search with the organism code to resolve to KEGG IDs first