TomTom MCP Server for Geospatial APIs
Integrate TomTom's MCP server to streamline geospatial APIs and access search, routing, traffic, and static maps for precise location data in AI workflows.
npx -y @tomtom-international/tomtom-mcpOverview
The TomTom MCP Server is a lightweight proxy and adapter that exposes TomTom’s geospatial services (search, routing, traffic, static maps) through the Model Context Protocol (MCP). It lets AI agents, assistants, IDE extensions, and other MCP-aware clients call TomTom location APIs with a consistent tool/intent interface, while centralizing API key handling, rate-limiting headers, and optional map backend selection.
You can use TomTom’s hosted MCP endpoint (no installation) or run a local instance (Node.js) to integrate precise location lookups, route calculations with live traffic, POI search, and map images directly into AI workflows and developer tools.
Features
- Provide MCP-compatible endpoints for TomTom Search, Routing, Traffic, and Static Maps
- Hosted remote server (public preview) or local Node.js deployment
- Backend selection: TomTom Maps (default) or TomTom Orbis Maps
- Simple configuration via environment variables or client MCP config
- Debug UI for inspecting requests and responses (local runs)
- Meant for AI agents: compatible with VS Code MCP clients, Claude Desktop, GitHub Copilot workflows
Installation / Configuration
Prerequisites:
- Node.js 22.x (for local deployment)
- TomTom API key (create one at https://developer.tomtom.com/)
Install or run without installing:
# Install into a project
# Or run directly
Configuration options (environment variables):
| Variable | Description | Default |
|---|---|---|
| TOMTOM_API_KEY | Your TomTom API key | - |
| MAPS | Backend: tomtom-maps or tomtom-orbis-maps | tomtom-maps |
| PORT | HTTP port for the MCP server | 3000 |
| LOG_LEVEL | debug, info, warn, error | info |
Set your API key:
# Option 1: .env (recommended)
# Option 2: environment variable
# Option 3: inline when using npx
TOMTOM_API_KEY=your_api_key
Sample local start:
# Start with custom port and map backend
PORT=4000 MAPS=tomtom-orbis-maps TOMTOM_API_KEY=your_api_key
Remote MCP Server (no installation)
TomTom provides a hosted MCP endpoint (public preview):
Endpoint: https://mcp.tomtom.com/maps
Generic MCP client configuration example:
To choose backend add the header tomtom-maps-backend with value tomtom-maps or tomtom-orbis-maps. If omitted, tomtom-maps is used.
Available Tools / Resources
- Search tool: POI & address geocoding, reverse geocoding
- Routing tool: route planning with optional traffic-aware travel times
- Traffic tool: live traffic tiles and incidents
- Static Maps tool: generate map images (png/svg) for responses or previews
- Debug UI (local): inspect incoming MCP requests and the mapped TomTom API calls
- GitHub repo & source: https://github.com/tomtom-international/tomtom-mcp
Integration helpers:
- Example VS Code MCP config: place
.vscode/mcp.jsonwith the remote server entry - Claude Desktop: configure MCP servers in escape hatch config files for macOS/Windows
Use Cases
- AI travel assistant: Combine POI search, routing and static maps to answer “Plan me a 2-stop driving route that avoids highways and shows ETA with current traffic.”
- Steps: search POIs -> compute route -> render static map preview -> present ETA and instructions
- Location-aware code completions in IDE: Autocomplete addresses or insert map images into generated documentation using a VS Code MCP client
- Customer support bots: Reverse geocode a GPS point from user logs and return nearest service centers
- Fleet management prototypes: Query routing with traffic for ETA forecasts across multiple vehicles
Example MCP client snippet (JSON) to request a route via the remote server:
Getting Help and Next Steps
- Try the hosted endpoint first to validate integration without running anything locally.
- For local development, run with LOG_LEVEL=debug to see detailed mapping of MCP requests to TomTom APIs.
- File issues or contribute via the project repo: https://github.com/tomtom-international/tomtom-mcp
Security note: keep local instances updated; TomTom publishes patches for vulnerabilities — apply updates and secure your deployment and API keys.