ANWB Traffic and Routes

v0.3.1
io.github.BartWaardenburg/anwb-mcp Checked 1 day ago Published 6 days ago

ANWB traffic information, route planning, and location search for the Netherlands

Values you need

VariableWhat it is
ANWB_TOOLSETSoptional Comma-separated toolsets to enable: locations, routes, incidents. Default: all.
ANWB_CACHE_TTLoptional Cache lifetime in seconds for API responses.
ANWB_MAX_RETRIESoptional Maximum retries for a failed request. Default: 3.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add anwb-mcp -- npx -y anwb-mcp@0.3.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "anwb-mcp": {
      "args": [
        "-y",
        "anwb-mcp@0.3.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "anwb-mcp": {
      "args": [
        "-y",
        "anwb-mcp@0.3.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "anwb-mcp": {
      "args": [
        "-y",
        "anwb-mcp@0.3.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.anwb-mcp]
command = "npx"
args = ["-y", "anwb-mcp@0.3.1"]

For AI agents

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: find_locations, calculate_route, calculate_ev_route, list_ev_cars, get_traffic_incidents, get_traffic_summary.
  4. 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