Skip to main content
Glama
kegg-mcp-server

kegg-mcp-server

by Lucas-Servi

kegg-mcp-server-python

PyPI Python 3.11–3.14 License: MIT CI

An unofficial Python Model Context Protocol (MCP) server for the KEGG bioinformatics database. It exposes 35 tools, 9 resource templates, and 4 guided prompts to any MCP-compatible client (Claude Desktop, Claude Code, Cursor, etc.). Developed by Elytron Biotech.

Built on the official MCP Python SDK v2 (MCPServer), returns structured Pydantic JSON (not raw text), and includes per-operation TTL caching, request retry with exponential backoff, a three-request-per-second rate limit, structured JSON stderr logging, and batch helpers out of the box. No API key is required.

Responses are token-aware by default: get_*_info tools return a compact EntrySummary (entry id, name, class, description, counts of linked entities) unless you pass detail_level="full". List- and mapping-shaped outputs are capped at 100 items and report the full count plus truncated. Failures are MCP tool errors (isError: true) whose text is a typed ErrorResult JSON (code, retryable, hint) the model can reason about.

0.5.0 changes output shapes: failures (including not-found) are now isError: true instead of a normal result; convert_identifiers maps each source ID to a list of targets; link/ortholog/pathway-gene/DDI outputs are capped with truncated; batch_entry_lookup returns summaries unless detail_level="full"; logging is configured with --log-level / --log-tracebacks instead of environment variables.

0.6.0 adds draw_pathway_map: a PNG pathway map with gene boxes coloured by KO/EC groups, redrawn from KGML (new dependency: Pillow). See Pathway map images.

Usage notice: This is a community project and is not affiliated with or endorsed by KEGG or Kanehisa Laboratories. KEGG states that its REST API is for academic use by academic users; non-academic users must follow KEGG's linked non-academic-use guidance. Users are responsible for ensuring that their use complies with those terms.


Quick start

With uvx (no install)

uvx kegg-mcp-server

With pip

pip install kegg-mcp-server
kegg-mcp-server

Requires the MCP Python SDK v2 (mcp>=2,<3, protocol revision 2026-07-28). Versions up to 0.3.1 ran on the 1.x SDK; because mcp 2.0 removed mcp.server.fastmcp, that is a breaking dependency change, which is why this is 0.4.0 rather than a patch. Nothing changes for clients — an mcp 2.x server answers every earlier protocol revision from the same app, so a host still on the 1.x SDK connects unchanged and negotiates 2025-11-25.

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "kegg": {
      "command": "uvx",
      "args": ["kegg-mcp-server"]
    }
  }
}

OS

Path

macOS

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

%APPDATA%\Claude\claude_desktop_config.json

Linux

~/.config/Claude/claude_desktop_config.json

Claude Code

claude mcp add kegg-mcp-server -- uvx kegg-mcp-server

Or install as a plugin (includes slash commands, agent, and skill):

claude plugin marketplace add Lucas-Servi/kegg-mcp-server-python
claude plugin install kegg-mcp-server@kegg-mcp-server

Or, in one step (Claude Code v2.1.292+), pointing install at the marketplace directly:

claude plugin install kegg-mcp-server --marketplace Lucas-Servi/kegg-mcp-server-python

The plugin starts a local (stdio) MCP server, so it works in Claude Code, Cowork, and Claude Desktop, but not in the claude.ai web app.

The plugin bundles:

Type

Name

Description

Command

/kegg <query>

Quick search across all KEGG databases

Command

/kegg-pathway <id>

Pathway deep-dive with ASCII visualization

Command

/kegg-drug <name>

Drug targets, pathways, and interactions

Agent

kegg-bioinformatics

Auto-invoked for biological pathway/gene/drug questions

Skill

kegg-analysis

Multi-step workflow guide (enrichment, comparison, investigation)

MCPB bundle (Linux x86-64 only, no Python install required)

The release bundle is built specifically for Linux x86-64 and CPython 3.12 because it vendors native dependencies. Download the linux-x86_64-py312.mcpb artifact from the releases page and drag it onto Claude Desktop. On macOS or Windows, use the cross-platform uvx, pip, or Claude Code plugin installation above.


Related MCP server: Oh My KEGG MCP

What's included

35 Tools

Category

Tools

Examples

Database

get_database_info, list_organisms

Get KEGG release stats, search the ~12k organisms by code or name

Pathways

search_pathways, get_pathway_info, get_pathway_genes, get_pathway_compounds, get_pathway_reactions

Search by keyword, get full pathway details

Genes

search_genes, get_gene_info, get_gene_orthologs

Find genes in any organism, cross-species orthologs

Compounds

search_compounds, get_compound_info, get_compound_reactions

Search by name/formula/mass, find reactions

Reactions

search_reactions, get_reaction_info

Equation, enzymes, pathways for any reaction

Enzymes

search_enzymes, get_enzyme_info

EC number lookup, substrates, genes

Diseases

search_diseases, get_disease_info

Disease genes, drugs, pathways

Drugs

search_drugs, get_drug_info, get_drug_interactions

Drug targets, DDI screening

Modules

search_modules, get_module_info

Functional module definitions

Orthology

search_ko_entries, get_ko_info

KEGG Orthology entries

Glycans

search_glycans, get_glycan_info

Glycan composition, reactions

BRITE

search_brite, get_brite_info

Functional hierarchies (level counts by default; detail_level="full" for the capped tree). Takes any id form KEGG emits — br:ko00001, ko00001, or the bare 00001 from search_brite

Cross-database

batch_entry_lookup, convert_identifiers, find_related_entries

Bulk fetch (up to 50), ID mapping within one kind — genes ↔ UniProt/NCBI, chemistry ↔ ChEBI/PubChem

Visualization

render_pathway_ascii, draw_pathway_map

ASCII art rendering of pathway topology (chain or grid mode); a PNG map with gene boxes coloured by KO/EC groups (e.g. one per genome)

9 Resource Templates

Direct URI-based access to KEGG entities:

kegg://pathway/{pathway_id}        e.g. kegg://pathway/hsa00010
kegg://gene/{gene_id}              e.g. kegg://gene/hsa:1956
kegg://compound/{compound_id}      e.g. kegg://compound/C00002
kegg://reaction/{reaction_id}      e.g. kegg://reaction/R00756
kegg://disease/{disease_id}        e.g. kegg://disease/H00004
kegg://drug/{drug_id}              e.g. kegg://drug/D00001
kegg://organism/{org_code}         e.g. kegg://organism/hsa
kegg://pathway/{pathway_id}/ascii  e.g. kegg://pathway/hsa00010/ascii
kegg://search/{database}/{query}   e.g. kegg://search/compound/glucose

4 Guided Prompts

Prompt

Arguments

What it does

pathway_enrichment_analysis

gene_list, organism

Maps a gene list to KEGG IDs, aggregates pathway associations, identifies enriched pathways

drug_target_investigation

drug_name

Drug lookup, target identification, pathway mapping, DDI screening

metabolic_pathway_comparison

pathway_id, organisms

Compares gene/compound content of a pathway across species

visualize_pathway

pathway_id, organism

Renders pathway as ASCII art (chain + grid), annotates key steps


Pathway map images

draw_pathway_map draws a KEGG map as a PNG and colours its gene boxes by up to 8 highlight groups, for example one per genome:

{"pathway_id": "map00010",
 "highlight": {"Strain A": ["K00844", "K01810", "EC:4.1.2.13"],
               "Strain B": ["K01810", "2.7.1.11"]}}
  • Every box is split into one stripe per group: coloured when the group has one of the box's KOs, grey when it doesn't. A KO without a direct match is coloured through EC numbers when one item carries every EC KEGG links to that KO (listed as matched_by_ec, a less specific match than a KO). An item may hold one gene's ids separated by spaces, e.g. a GenBank db_xref string as is, so a bifunctional KO isn't lit by two unrelated single-function genes.

  • The image is redrawn from KGML (boxes, compounds, reaction lines, links to other maps) with Pillow; KEGG's own map bitmap is not fetched or redistributed. The footer credits KEGG.

  • The result is a text block with the summary JSON (also structuredContent) and an image block (image/png). The summary lists, per group, the map KOs found and boxes coloured, and per box its KOs and the groups that have it, so an agent can check the figure without vision.

  • map, ko, organism (eco00020, drawn as the KO reference map) and bare (00010) ids are accepted. Global/overview maps (011xx, 012xx) are refused with code: "global_map".

  • The drawing code is importable without MCP: kegg_mcp_server.pathway_map.build_pathway_map( kegg_client, pathway_id, groups) returns the PNG bytes and the same summary.


ASCII Pathway Renderer

The render_pathway_ascii tool converts KEGG pathway topology (from KGML XML) into LLM-friendly ASCII text. Two styles are available:

Chain mode (default) — linear reaction flow:

Glycolysis / Gluconeogenesis (hsa)
====================================

[alpha-D-Gl~] ──R01786──▶ [beta-D-Gl~] ──R01600──▶ [beta-D-F~]

Grid mode — 2D spatial layout using KGML coordinates:

Glycolysis / Gluconeogenesis (hsa)
====================================

  [Glc]────────▶[G6P]────────▶[F6P]
                  │
                  ▼
                [6PG]

Legend:
  [Glc] = alpha-D-Glucose (cpd:C00267)
  [G6P] = D-Glucose 6-phosphate (cpd:C00092)

Transport options

# stdio (default -- for Claude Desktop, Claude Code, uvx)
kegg-mcp-server

# Streamable HTTP (for web/API deployment)
kegg-mcp-server --transport streamable-http --host 0.0.0.0 --port 8080

# python -m also works
python -m kegg_mcp_server

# Logging (stderr, JSON): verbosity and full tracebacks
kegg-mcp-server --log-level DEBUG --log-tracebacks

Data handling

  • The only network destination is the public KEGG REST API at https://rest.kegg.jp (all tools, resources, and the ASCII renderer's KGML fetch go there). Queries you make (IDs, search terms) are sent to KEGG; nothing is sent anywhere else, and there is no telemetry.

  • Responses are cached in memory only (per-operation TTL) and discarded when the server exits; nothing is written to disk.

  • Logs are structured JSON on stderr only, on your machine.

  • No API key or account, and the server reads no environment variables of its own (logging is set by CLI flags). The HTTP client (httpx) honours the standard proxy and CA-bundle variables (HTTPS_PROXY, NO_PROXY, SSL_CERT_FILE, …) so it works behind corporate proxies.

  • The uvx launcher downloads the pinned kegg-mcp-server package and its dependencies from PyPI on first run.


Development

git clone https://github.com/Lucas-Servi/kegg-mcp-server-python
cd kegg-mcp-server-python
pip install -e ".[dev]"

# Run tests
pytest tests/ -v

# Lint
ruff check src/ tests/

# Debug with MCP Inspector
mcp dev kegg-mcp-server

Project structure

src/kegg_mcp_server/
  server.py       MCPServer instance, lifespan (httpx client + TTL cache), CLI
  client.py       KEGGClient: async KEGG REST with retry/backoff + KEGG-politeness semaphore
  cache.py        Per-op TTL cache, 64 MiB budget (info 24h, list 1h, entry ops 6h)
  parsers.py      KEGG flat-file and tab-delimited response parsers + summarize_flat_entry
  errors.py       KEGGAPIError exception type
  logging.py      JSON stderr logger (stdout is reserved for MCP stdio framing)
  resources.py    9 MCP resource templates
  prompts.py      4 bioinformatics workflow prompts
  models/         Pydantic models for all KEGG entity types + EntrySummary + ErrorResult
  tools/          13 tool modules, each with a register(mcp) function; _common.py has the
                  @kegg_tool error-boundary decorator and shared READ_ONLY annotations

Author

Developed by Lucas Servi (lucasservi@gmail.com) at Elytron Biotech using Claude Code.

Acknowledgments

License

MIT -- see LICENSE.

Available Tools

35 tools
batch_entry_lookupA
Read-onlyIdempotent

Fetch multiple KEGG entries in bulk (max 50 IDs).

Automatically chunks requests into groups of 10 to respect KEGG's API limit.

Args: entry_ids: List of KEGG entry IDs (e.g. ['C00002', 'C00031', 'C00033']). Can mix databases. Max 50 entries. detail_level: 'summary' (default, compact per-entry projection) or 'full' (complete flat-file parse — sequences and GENES lists make this large for 50 entries at once).

Inputs: entry_ids (required), detail_level. Returns: found, entries, requested

convert_identifiersA
Read-onlyIdempotent

Convert KEGG IDs to/from external database identifiers.

Converts within one kind only, KEGG side <-> outside side: genes (organism code 'hsa' or T-number 'T01001') <-> ncbi-geneid / ncbi-proteinid / uniprot; chemistry (compound / drug / glycan) <-> pubchem / chebi. Cross-kind pairs such as compound<->uniprot are rejected by KEGG, and 'kegg' is not a database conv accepts.

Args: source_db: Source database — 'hsa', 'T01001', 'ncbi-geneid', 'ncbi-proteinid', 'uniprot', 'compound', 'drug', 'glycan', 'pubchem' or 'chebi'. target_db: Target database, from the same list and the opposite side of the pair (e.g. source_db='hsa' + target_db='uniprot', or source_db='chebi' + target_db='compound'). entry_ids: Optional list of specific IDs to convert. Bare ids are prefixed with source_db automatically ('1956' -> 'hsa:1956'). KEGG accepts at most 10 per request; longer lists are chunked and fetched concurrently rather than silently dropped. If None, converts the full source database (large: hsa <-> ncbi-geneid is ~700 KB).

Inputs: source_db (required), target_db (required), entry_ids. Returns: count, mappings, source_db, target_db

draw_pathway_mapA
Read-onlyIdempotent

Draw a KEGG pathway map as a PNG image, with gene boxes coloured by group.

The map is redrawn from KEGG's KGML layout (gene boxes, compounds, reactions and links to other maps), not copied from KEGG's image. Each gene box is split into one stripe per highlight group: coloured when the group has one of the box's KOs, grey when it doesn't. Returns the PNG plus an exact summary of what the image shows (per group: map KOs found and boxes coloured; per box: KOs and the groups that have them), so check the summary rather than describing the picture from memory.

Args: pathway_id: KEGG map number: 'map00010', 'ko00010', an organism map such as 'eco00010' (drawn as the KO reference map), or '00010'. Global and overview maps (011xx, 012xx) are refused. highlight: Optional {label: ids}, at most 8 groups (e.g. one per genome). Ids are KO ids ('K00844', 'ko:K00844', 'KEGG:K00844') or complete EC numbers ('2.7.1.1', 'EC:2.7.1.1'). One item may hold one gene's ids separated by spaces ('K00845 EC:2.7.1.2', or a GenBank db_xref string). A KO with no KO match is coloured through EC numbers only when one item carries every EC KEGG links to it; those KOs are listed under matched_by_ec.

Inputs: pathway_id (required), highlight. Returns: What a drawn map shows, exactly, so a caller can check it without seeing the im…

get_brite_infoA
Read-onlyIdempotent

Get the structure of a KEGG BRITE functional hierarchy.

BRITE entries are large A/B/C/D trees, not flat-file entries, so the result is a bounded summary: the level line counts, the leaf column names, and the labels of the top two levels.

Args: brite_id: KEGG BRITE hierarchy ID. Any form KEGG hands out works — 'br:ko00001' (canonical), 'ko00001' / 'br08303' (as listed by list_databases), or the bare '00001' / '08303' returned by search_brite. detail_level: 'summary' (default) or 'full' (adds raw_content, the raw hierarchy text — TRUNCATED, since the largest hierarchies are several megabytes).

Inputs: brite_id (required), detail_level. Returns: Bounded projection of a KEGG BRITE ``A``/``B``/``C``/… tree. BRITE entries are…

get_compound_infoB
Read-onlyIdempotent

Get detailed information for a KEGG compound entry.

Args: compound_id: KEGG compound ID (e.g. 'C00002' for ATP, 'C00031' for D-Glucose). detail_level: 'summary' (default, compact) or 'full' (complete flat-file parse).

Inputs: compound_id (required), detail_level. Returns: result

get_compound_reactionsA
Read-onlyIdempotent

Get all reactions involving a KEGG compound.

Args: compound_id: KEGG compound ID (e.g. 'C00002'). max_results: Maximum number of reactions to return (capped at 100).

Inputs: compound_id (required), max_results.

get_database_infoA
Read-onlyIdempotent

Get release information and statistics for a KEGG database.

Args: database: Database name (e.g. 'kegg', 'pathway', 'compound', 'drug', 'genome').

Inputs: database. Returns: entries, release, database, raw_info

get_disease_infoA
Read-onlyIdempotent

Get detailed information for a KEGG disease entry.

Args: disease_id: KEGG disease ID (e.g. 'H00004' for colorectal cancer). detail_level: 'summary' (default, compact) or 'full' (complete flat-file parse).

Inputs: disease_id (required), detail_level. Returns: result

get_drug_infoA
Read-onlyIdempotent

Get detailed information for a KEGG drug entry.

Args: drug_id: KEGG drug ID (e.g. 'D00001' for aspirin, 'D00564' for ibuprofen). detail_level: 'summary' (default, compact) or 'full' (complete flat-file parse).

Inputs: drug_id (required), detail_level. Returns: result

get_drug_interactionsA
Read-onlyIdempotent

Get drug-drug interactions for one or more KEGG drugs.

Args: drug_ids: Single drug ID (e.g. 'D00001') or multiple IDs joined with '+' (e.g. 'D00001+D00564'). Max 10 entries. max_results: Maximum number of interactions to return (capped at 100).

Inputs: drug_ids (required), max_results. Returns: count, drug_ids, truncated, interactions

get_enzyme_infoA
Read-onlyIdempotent

Get detailed information for a KEGG enzyme (EC number).

Args: enzyme_id: EC number (e.g. '1.1.1.1') or prefixed ID (e.g. 'ec:1.1.1.1'). detail_level: 'summary' (default, compact) or 'full' (complete flat-file parse).

Inputs: enzyme_id (required), detail_level. Returns: result

get_gene_infoA
Read-onlyIdempotent

Get detailed information for a KEGG gene entry.

Args: gene_id: KEGG gene ID in format 'organism:gene' (e.g. 'hsa:1956' for EGFR). detail_level: 'summary' (default, compact) or 'full' (complete parse with linked orthologs, pathways, xrefs, and references). include_sequence: If True and detail_level='full', fetches amino acid and nucleotide sequences.

Inputs: gene_id (required), detail_level, include_sequence. Returns: result

get_gene_orthologsB
Read-onlyIdempotent

Get KO (KEGG Orthology) entries and cross-organism orthologs for a gene.

Args: gene_id: KEGG gene ID (e.g. 'hsa:1956').

Inputs: gene_id (required).

get_glycan_infoA
Read-onlyIdempotent

Get detailed information for a KEGG glycan entry.

Args: glycan_id: KEGG glycan ID (e.g. 'G00001'). detail_level: 'summary' (default, compact) or 'full' (complete flat-file parse).

Inputs: glycan_id (required), detail_level. Returns: result

get_ko_infoB
Read-onlyIdempotent

Get detailed information for a KEGG Orthology (KO) entry.

Args: ko_id: KEGG KO identifier (e.g. 'K00844' for hexokinase). detail_level: 'summary' (default, compact) or 'full' (complete flat-file parse).

Inputs: ko_id (required), detail_level. Returns: result

get_module_infoB
Read-onlyIdempotent

Get detailed information for a KEGG module.

Args: module_id: KEGG module ID (e.g. 'M00001' for glycolysis core module). detail_level: 'summary' (default, compact) or 'full' (complete flat-file parse).

Inputs: module_id (required), detail_level. Returns: result

get_pathway_compoundsA
Read-onlyIdempotent

Get all compounds (metabolites) associated with a KEGG pathway.

Args: pathway_id: KEGG pathway ID (e.g. 'map00010'). max_results: Maximum number of pairs to return (capped at 100).

Inputs: pathway_id (required), max_results. Returns: count, pairs, linked_db, truncated, +1 more

get_pathway_genesA
Read-onlyIdempotent

Get all genes associated with a KEGG pathway.

Args: pathway_id: KEGG pathway ID (e.g. 'hsa00010'). Use organism-specific IDs (e.g. 'pae00350' for P. aeruginosa) — reference pathways ('map*') are not supported by the KEGG gene link API. max_results: Maximum number of pairs to return (capped at 100).

Inputs: pathway_id (required), max_results. Returns: count, pairs, linked_db, truncated, +1 more

get_pathway_infoA
Read-onlyIdempotent

Get detailed information for a KEGG pathway.

Args: pathway_id: KEGG pathway ID (e.g. 'hsa00010', 'map00010'). detail_level: 'summary' (default, compact) or 'full' (complete flat-file parse with all linked genes, compounds, reactions, references, and xrefs).

Inputs: pathway_id (required), detail_level. Returns: result

get_pathway_reactionsA
Read-onlyIdempotent

Get all reactions in a KEGG pathway.

Args: pathway_id: KEGG pathway ID (e.g. 'hsa00010'). max_results: Maximum number of pairs to return (capped at 100).

Inputs: pathway_id (required), max_results. Returns: count, pairs, linked_db, truncated, +1 more

get_reaction_infoA
Read-onlyIdempotent

Get detailed information for a KEGG reaction.

Args: reaction_id: KEGG reaction ID (e.g. 'R00756' for glucose phosphorylation). detail_level: 'summary' (default, compact) or 'full' (complete flat-file parse).

Inputs: reaction_id (required), detail_level. Returns: result

list_organismsA
Read-onlyIdempotent

List organisms available in KEGG with their 3-4 letter codes and names.

KEGG has ~12,000 organisms, so the full list is large. Pass query to filter by organism code or name (e.g. 'Bacillus', 'hsa') instead of paging through everything.

Args: query: Case-insensitive substring filter on the organism code or name. Empty (the default) returns the first max_results organisms. max_results: Maximum number of organisms to return (capped at 100).

Inputs: query, max_results. Returns: items, total, database, truncated

render_pathway_asciiA
Read-onlyIdempotent

Render a KEGG pathway as ASCII text optimized for LLM consumption.

Two styles available:

  • 'chain': Linear reaction flow text showing substrate->enzyme->product chains. Robust and compact. Best for understanding reaction sequences.

  • 'grid': 2D spatial layout using KGML coordinates. Shows the pathway topology with box-and-arrow rendering. Best for seeing spatial relationships.

Args: pathway_id: KEGG pathway ID (e.g. 'hsa00010' for human glycolysis). Must be organism-specific; reference pathways (map*) have limited KGML. style: 'chain' (default, linear text) or 'grid' (2D spatial layout). max_width: Maximum line width in characters (40-200, default 100). max_height: Grid mode only: maximum height in lines (20-80, default 40).

Inputs: pathway_id (required), style, max_width, max_height. Returns: Result of rendering a KEGG pathway as ASCII art.

search_briteA
Read-onlyIdempotent

Search KEGG BRITE functional hierarchy databases.

Args: query: Hierarchy name (e.g. 'KEGG pathway', 'transporter', 'ribosome'). max_results: Maximum number of results to return (capped at 100).

Inputs: query (required), max_results. Returns: query, results, database, truncated, +2 more

search_compoundsA
Read-onlyIdempotent

Search KEGG compounds by name or chemical property.

Args: query: Search term (compound name, formula, or mass). search_type: 'name' (default), 'formula', 'exact_mass', 'mol_weight', or 'nop'. max_results: Maximum number of results to return (capped at 100).

Inputs: query (required), max_results, search_type. Returns: query, results, database, truncated, +2 more

search_diseasesA
Read-onlyIdempotent

Search KEGG diseases by name or keyword.

Args: query: Disease name (e.g. 'diabetes', 'cancer', 'Alzheimer'). max_results: Maximum number of results to return (capped at 100).

Inputs: query (required), max_results. Returns: query, results, database, truncated, +2 more

search_drugsA
Read-onlyIdempotent

Search KEGG drugs by name, formula, or molecular weight.

Args: query: Drug name, formula, or mass value. search_type: 'name' (default), 'formula', 'exact_mass', or 'mol_weight'. max_results: Maximum number of results to return (capped at 100).

Inputs: query (required), max_results, search_type. Returns: query, results, database, truncated, +2 more

search_enzymesA
Read-onlyIdempotent

Search KEGG enzymes by EC number or name.

Args: query: EC number (e.g. '1.1.1.1') or enzyme name (e.g. 'kinase', 'oxidase'). max_results: Maximum number of results to return (capped at 100).

Inputs: query (required), max_results. Returns: query, results, database, truncated, +2 more

search_genesA
Read-onlyIdempotent

Search for genes in a KEGG organism database.

Args: query: Search term (gene name, symbol, or description). organism_code: KEGG organism code (e.g. 'hsa' human, 'mmu' mouse, 'eco' E. coli). max_results: Maximum number of results to return (capped at 100).

Inputs: query (required), max_results, organism_code. Returns: query, results, database, truncated, +2 more

search_glycansA
Read-onlyIdempotent

Search KEGG glycan database by keyword or composition.

Args: query: Glycan name or composition (e.g. 'GlcNAc', 'Man5', 'sialic acid'). max_results: Maximum number of results to return (capped at 100).

Inputs: query (required), max_results. Returns: query, results, database, truncated, +2 more

search_ko_entriesA
Read-onlyIdempotent

Search KEGG Orthology (KO) entries by keyword.

Args: query: Gene function (e.g. 'hexokinase', 'ribosomal protein', 'cytochrome'). max_results: Maximum number of results to return (capped at 100).

Inputs: query (required), max_results. Returns: query, results, database, truncated, +2 more

search_modulesA
Read-onlyIdempotent

Search KEGG modules by keyword.

Args: query: Module name or pathway block (e.g. 'glycolysis', 'TCA cycle'). max_results: Maximum number of results to return (capped at 100).

Inputs: query (required), max_results. Returns: query, results, database, truncated, +2 more

search_pathwaysA
Read-onlyIdempotent

Search KEGG pathways by keyword.

Args: query: Search term (e.g. 'glycolysis', 'TCA', 'insulin signaling'). organism_code: 3-4 letter organism code (e.g. 'hsa' for human, 'mmu' for mouse). Use 'map' for reference pathways. max_results: Maximum number of results to return (capped at 100).

Inputs: query (required), max_results, organism_code. Returns: query, results, database, truncated, +2 more

search_reactionsB
Read-onlyIdempotent

Search KEGG reactions by keyword.

Args: query: Search term (reaction name or description). max_results: Maximum number of results to return (capped at 100).

Inputs: query (required), max_results. Returns: query, results, database, truncated, +2 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 35 tools

    Disambiguation4/5

    Most tools map cleanly to a specific KEGG entry type plus action, so an agent can generally distinguish search_compounds, search_drugs, get_pathway_genes, get_pathway_reactions, etc. Minor overlap exists between find_related_entries and convert_identifiers/get_gene_orthologs, and between draw_pathway_map and render_pathway_ascii in the sense of pathway visualization, but the descriptions clarify output modes.

    Naming Consistency4/5

    The set is overwhelmingly snake_case and follows predictable patterns such as search_<db>, get_<db>_info, get_pathway_<subresource>, and list_organisms. A few one-off verbs (draw_pathway_map, render_pathway_ascii, batch_entry_lookup, convert_identifiers) are semantically appropriate but keep it from being perfectly uniform.

    Tool Count3/5

    KEGG is a very broad domain with many entry types, so 35 tools is defensible, but it is still heavy for an agent to navigate. Several search/get pairs could potentially be consolidated or generalized, making the surface borderline rather than well-scoped.

    Completeness4/5

    The server covers the major KEGG databases with search, retrieval, linking, batch lookup, identifier conversion, and pathway visualization. Gaps are modest: there is no dedicated genome-info retrieval beyond list_organisms/get_database_info, and cross-database traversal relies heavily on find_related_entries rather than more specific linked-resource tools.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides tools for querying the PubChem database for detailed information on chemical compounds, substances, bioassays, and molecular properties. It enables users to search by name, structure, or identifier to retrieve chemical classifications and cross-references through natural language.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides access to the Kyoto Encyclopedia of Genes and Genomes (KEGG) database, offering 30 tools for searching and analyzing biological data like pathways, genes, and compounds. It supports integration with LangChain and Ollama to enable LLMs to interact with comprehensive genomic and chemical datasets.
      8
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that exposes the KEGG REST API — pathways, genes, compounds, reactions, enzymes, diseases, drugs, modules, orthology, glycans, and BRITE hierarchies, with cross-database linking. Provides 34 tools and 8 resource templates.
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for searching Kerbal Space Program mods from the CKAN index, with tools for mod search, recommendations, parts listing, and CKAN download cache integration.
      8
      1
      MIT