Korea Transit (TAGO)

v0.4.0
io.github.98Woonho/korea-transit-mcp Checked 4 days ago Published 18 days ago

Korean bus stops, real-time arrivals, routes and bus locations via data.go.kr TAGO APIs

Values you need

VariableWhat it is
DATA_GO_KR_SERVICE_KEYrequired secret data.go.kr API key (Decoding key) with TAGO bus APIs approved

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add korea-transit-mcp -e 'DATA_GO_KR_SERVICE_KEY=<DATA_GO_KR_SERVICE_KEY>' -- npx -y korea-transit-mcp@0.4.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "korea-transit-mcp": {
      "args": [
        "-y",
        "korea-transit-mcp@0.4.0"
      ],
      "command": "npx",
      "env": {
        "DATA_GO_KR_SERVICE_KEY": "<DATA_GO_KR_SERVICE_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "korea-transit-mcp": {
      "args": [
        "-y",
        "korea-transit-mcp@0.4.0"
      ],
      "command": "npx",
      "env": {
        "DATA_GO_KR_SERVICE_KEY": "<DATA_GO_KR_SERVICE_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "DATA_GO_KR_SERVICE_KEY",
      "id": "data-go-kr-service-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "korea-transit-mcp": {
      "args": [
        "-y",
        "korea-transit-mcp@0.4.0"
      ],
      "command": "npx",
      "env": {
        "DATA_GO_KR_SERVICE_KEY": "${input:data-go-kr-service-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.korea-transit-mcp]
command = "npx"
args = ["-y", "korea-transit-mcp@0.4.0"]
env = { "DATA_GO_KR_SERVICE_KEY" = "<DATA_GO_KR_SERVICE_KEY>" }

For AI agents

  1. Ask the user for: DATA_GO_KR_SERVICE_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_cities, search_bus_stops, find_nearby_stops, get_routes_at_stop, get_bus_arrivals, search_routes, get_route_info, get_route_stops, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json