kegg-mcp

kegg-mcp

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.

Category
Visit Server

README

kegg-mcp

npm version CI License: MIT Node TypeScript MCP

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. 34 tools, 8 resource templates, runs over stdio.

Install

npm install -g kegg-mcp

…or run it once with no install:

npx -y kegg-mcp

Requires Node.js ≥ 20.

Connect your MCP client

Add a kegg server to your client config (Claude Desktop, Cursor, VS Code, Cline, …):

{
  "mcpServers": {
    "kegg": {
      "command": "npx",
      "args": ["-y", "kegg-mcp"]
    }
  }
}

Prefer a global install? Use "command": "kegg-mcp" with no args.

Highlights

  • 34 tools across every major KEGG database
  • 8 resource templates (kegg://pathway/{id}, kegg://gene/{org}:{id}, …)
  • Polite rate limiting (≤ 3 req/s), retries with exponential backoff, 30 s timeouts, keep-alive
  • Native fetch — zero runtime deps beyond the MCP SDK
  • TypeScript, unit tests with real KEGG fixtures, live integration tests, CI on Node 20/22/24

Quick examples

search_pathways(query="glycolysis")
get_pathway_info(pathway_id="hsa00010")
get_pathway_genes(pathway_id="hsa00010")
search_genes(query="insulin", organism_code="hsa")
get_gene_info(gene_id="hsa:3630", include_sequences=true)
search_compounds(query="glucose")
get_compound_info(compound_id="C00031")
convert_identifiers(source_db="hsa", target_db="ncbi-geneid")
batch_entry_lookup(entries=["hsa:3630", "hsa:3631"])
kegg_health_check()

Tools (34)

Infoget_database_info, list_organisms Pathwayssearch_pathways, get_pathway_info, get_pathway_genes, get_pathway_compounds, get_pathway_reactions Genessearch_genes, get_gene_info, get_gene_orthologs Compoundssearch_compounds, get_compound_info, get_compound_reactions Reactions & enzymessearch_reactions, get_reaction_info, search_enzymes, get_enzyme_info Disease & drugssearch_diseases, get_disease_info, search_drugs, get_drug_info, get_drug_interactions Modules & orthologysearch_modules, get_module_info, search_ko_entries, get_ko_info Glycans & BRITEsearch_glycans, get_glycan_info, search_brite, get_brite_info Cross-db & batchconvert_identifiers, find_related_entries, batch_entry_lookup Healthkegg_health_check

Resource templates (8)

kegg://pathway/{pathway_id} · kegg://gene/{org}:{gene_id} · kegg://compound/{compound_id} · kegg://reaction/{reaction_id} · kegg://disease/{disease_id} · kegg://drug/{drug_id} · kegg://organism/{org_code} · kegg://search/{database}/{query}

Develop

git clone https://github.com/AriaShishegaran/kegg-mcp.git
cd kegg-mcp
npm install
npm run build              # outputs to dist/
npm test                   # unit tests
npm run test:integration   # live tests against rest.kegg.jp
Script What it does
npm run build Compile to dist/
npm run typecheck Type-check only
npm run lint ESLint
npm test Unit tests
npm run test:integration Live tests against rest.kegg.jp
npm start Run the server

Releases are automated via release-please from Conventional Commits. See CONTRIBUTING.md.

KEGG API terms

rest.kegg.jp is academic use only. Commercial use requires a license from Kanehisa Laboratories.

License

MIT © Aria

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured