# Kegg [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/pipeworx-io/mcp-kegg  
**GitHub Stars:** 0  
**npm Downloads (last month):** 687  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kegg

## Description
KEGG REST MCP — Kyoto Encyclopedia of Genes and Genomes.

## Tools
Capabilities this server exposes over MCP:

- **find** — Search KEGG by keyword. KEGG is the authoritative bioinformatics database for compounds, drugs, diseases, metabolic pathways, genes, and enzymes. Pick a database (compound|drug|disease|pathway|genes|enzyme|glycan|module|ko) and pass a query like "glucose", "aspirin", or "diabetes". Returns matching KEGG IDs with descriptions. Keyless.
- **get_entry** — Fetch a full KEGG flat-file entry by ID and return it as parsed fields plus raw text. IDs look like "C00031" (compound), "hsa00010" (pathway), "D00009" (drug), "K00844" (KO/ortholog), or "ec:1.1.1.1" (enzyme). Parsed fields include ENTRY, NAME, FORMULA, CLASS, PATHWAY, DESCRIPTION, cross-references, and more. Use find first to discover IDs. Keyless.
- **list_database** — List all entries in a KEGG database (id + description). Useful for enumerating things like KEGG pathways ("pathway"), drugs ("drug"), or supported organisms ("organism"). Results are capped at 100 with a truncated flag. Keyless.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "kegg": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-kegg"]
  }
}
```

## Documentation

## What Kegg does

Kegg exposes selected KEGG REST operations as MCP tools for AI clients. It is an independent, unofficial integration with the Kyoto Encyclopedia of Genes and Genomes and is intended for querying biological and chemical reference data.

The service covers several KEGG databases, including compounds, drugs, diseases, pathways, genes, enzymes, glycans, modules, and KOs. It also supports database enumeration for resources such as pathways, drugs, and organisms.

## How it works

The hosted MCP endpoint is `https://gateway.pipeworx.io/kegg/mcp`. Add that URL to an MCP client that supports remote connections. A scoped connection lists the Kegg tools together with shared Pipeworx gateway tools; the exact tool set is reported by the connection's `initialize` response.

Kegg can also be reached through the full Pipeworx endpoint at `https://gateway.pipeworx.io/mcp`. The hosted Kegg and full gateway URLs use the same gateway, while the former presents the Kegg pack directly and the latter exposes the broader catalog directly.

For clients that use local processes, `@pipeworx/mcp-kegg` provides an npm-based stdio bridge. The bridge forwards requests to the hosted Kegg endpoint, so it requires network access and has no offline mode. Direct HTTP callers can invoke tools at URLs such as `https://gateway.pipeworx.io/v1/tools/find`.

## Setup and configuration

A remote MCP configuration can point to the hosted endpoint:

```json
{
  "mcpServers": {
    "kegg": {
      "url": "https://gateway.pipeworx.io/kegg/mcp"
    }
  }
}
```

The local npm option starts the bridge with `npx`:

```json
{
  "mcpServers": {
    "kegg": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-kegg"]
    }
  }
}
```

Anonymous calls are supported and capped at 50 calls per day. Adding a Pipeworx account key through `PIPEWORX_API_KEY` raises the allowance to 200 calls per day. The key is sent as a Bearer token. Set `PIPEWORX_META_TOOLS=1` when the local bridge should also list shared gateway tools such as `ask_pipeworx`.

Behind an HTTPS proxy, newer Node.js releases can use the proxy environment settings when `NODE_USE_ENV_PROXY=1` is enabled. Direct HTTP requests use JSON, for example, a POST to `/v1/tools/find` with `{"database":"compound","query":"glucose"}`.

## Tools and capabilities

- `find` searches a selected KEGG database by keyword and returns matching IDs with descriptions. Example searches include glucose, aspirin, and diabetes.
- `get_entry` retrieves a complete KEGG flat-file record by identifier and returns both parsed fields and the original text. Example identifiers include `C00031`, `hsa00010`, `D00009`, `K00844`, and `ec:1.1.1.1`.
- `list_database` returns entry IDs and descriptions for a KEGG database. Responses are limited to 100 records and include a truncation indicator when more results exist.
- `ask_pipeworx` and other shared gateway tools may be available on the hosted connection or when enabled for the local bridge. The routing tool can select a relevant tool for a natural-language question across the Pipeworx catalog.

A typical lookup begins with `find`, uses the returned identifier with `get_entry`, and uses `list_database` when enumerating a resource is more appropriate than keyword search.

_Full upstream README: https://allmcps.com/mcp/kegg/readme_

