Skip to main content
Glama

TomTom MCP Server

Official

TomTom MCP Server

NPM Version License

The TomTom MCP Server simplifies geospatial development by providing seamless access to TomTom’s location services, including search, routing, traffic and static maps data. It enables easy integration of precise and accurate geolocation data into AI workflows and development environments.

Demo

TomTom MCP Demo

Table of Contents


Quick Start

Prerequisites

  • Node.js 22+

  • TomTom API key

How to obtain a TomTom API key:

  1. Create a developer account on TomTom Developer Portal

  2. Go to API & SDK Keys in the left-hand menu.

  3. Click the red Create Key button.

  4. Select all available APIs to ensure full access, assign a name to your key, and click Create.

For more details, visit the TomTom API Key Management Documentation.

Installation

npm install @tomtom-org/tomtom-mcp@latest # or run directly without installing npx @tomtom-org/tomtom-mcp@latest

Configuration

Set your TomTom API key using one of the following methods:

# Option 1: Use a .env file (recommended) echo "TOMTOM_API_KEY=your_api_key" > .env # Option 2: Environment variable export TOMTOM_API_KEY=your_api_key # option 3: Pass as CLI argument npx @tomtom-org/tomtom-mcp@latest --key your_api_key

Usage

Stdio Mode (Default - for AI assistants like Claude):

# Start MCP server via stdio npx @tomtom-org/tomtom-mcp@latest

HTTP Mode (for web applications and API integration):

# or npm run start:http # or after building the project node bin/tomtom-mcp-http.js

When running in HTTP mode, you need to include your API key in the Authorization header:

Authorization: Bearer <API_KEY>

For example, to make a request using curl:

curl --location 'http://localhost:3000/mcp' \ --header 'Accept: application/json,text/event-stream' \ --header 'Authorization: Bearer <API KEY>' \ --header 'Content-Type: application/json' \ --data '{ "method": "tools/call", "params": { "name": "tomtom-geocode", "arguments": { "query": "Amsterdam Central Station" } }, "jsonrpc": "2.0", "id": 24 }'

The Docker setup is also configured to use this HTTP mode with the same authentication method.

# Get help npx @tomtom-org/tomtom-mcp@latest --help

Integration Guides

TomTom MCP Server can be easily integrated into various AI development environments and tools.

These guides help you integrate the MCP server with your tools and environments:


Available Tools

Tool

Description

Documentation

tomtom-geocode

Convert addresses to coordinates with global coverage

https://developer.tomtom.com/geocoding-api/documentation/geocode

tomtom-reverse-geocode

Get addresses from GPS coordinates

https://developer.tomtom.com/reverse-geocoding-api/documentation/reverse-geocode

tomtom-fuzzy-search

Intelligent search with typo tolerance

https://developer.tomtom.com/search-api/documentation/search-service/fuzzy-search

tomtom-poi-search

Find specific business categories

https://developer.tomtom.com/search-api/documentation/search-service/points-of-interest-search

tomtom-nearby

Discover services within a radius

https://developer.tomtom.com/search-api/documentation/search-service/nearby-search

tomtom-routing

Calculate optimal routes between locations

https://developer.tomtom.com/routing-api/documentation/tomtom-maps/calculate-route

tomtom-waypoint-routing

Multi-stop route planning Routing API

https://developer.tomtom.com/routing-api/documentation/tomtom-maps/calculate-route

tomtom-reachable-range

Determine coverage areas by time/distance

https://developer.tomtom.com/routing-api/documentation/tomtom-maps/calculate-reachable-range

tomtom-traffic

Real-time incidents data

https://developer.tomtom.com/traffic-api/documentation/traffic-incidents/traffic-incidents-service

tomtom-static-map

Generate custom map images

https://developer.tomtom.com/map-display-api/documentation/raster/static-image

tomtom-dynamic-map

Advanced map rendering with custom markers, routes, and traffic visualization

https://developer.tomtom.com/map-display-api/documentation/mapstyles/map-styles-v2


Orbis equivalents (optional backend)

By default the MCP tools use the Genesis TomTom APIs listed above. We also support using the "Orbis" backend for the same tools. To enable Orbis for all tools set the environment variable MAPS=ORBIS

Tool

Description

Orbis API (documentation)

tomtom-geocode

Forward geocoding: address → coordinates

https://developer.tomtom.com/geocoding-api/documentation/tomtom-orbis-maps/geocode

tomtom-reverse-geocode

Reverse geocoding: coordinates → address

https://developer.tomtom.com/reverse-geocoding-api/documentation/tomtom-orbis-maps/reverse-geocode

tomtom-fuzzy-search

General search with typo tolerance and suggestions

https://developer.tomtom.com/search-api/documentation/tomtom-orbis-maps/search-service/fuzzy-search

tomtom-poi-search

Points of Interest (category-based) search

https://developer.tomtom.com/search-api/documentation/tomtom-orbis-maps/search-service/points-of-interest-search

tomtom-nearby

Find POIs near a coordinate within a radius

https://developer.tomtom.com/search-api/documentation/tomtom-orbis-maps/search-service/nearby-search

tomtom-routing

Calculate optimal route between two points

https://developer.tomtom.com/routing-api/documentation/tomtom-orbis-maps/calculate-route

tomtom-waypoint-routing

Multi-stop / waypoint route planning

https://developer.tomtom.com/routing-api/documentation/tomtom-orbis-maps/calculate-route

tomtom-reachable-range

Compute coverage area by time or distance budget

https://developer.tomtom.com/routing-api/documentation/tomtom-orbis-maps/calculate-reachable-range

tomtom-traffic

Traffic incidents and related details

https://developer.tomtom.com/traffic-api/documentation/tomtom-orbis-maps/incident-details

tomtom-dynamic-map

Advanced map rendering with custom markers, routes, and traffic visualization

https://developer.tomtom.com/assets-api/documentation/tomtom-orbis-maps/styles-assets/fetch-style

Important: Orbis tools are currently in Public Preview and require explicit enablement for developer accounts. To request access, contact TomTom Sales:

How dynamic map tool works

We fetch a Map Style JSON (either Genesis or Orbis), then use MapLibre (server-side) to:

  • add markers, routes, polygons and other layers defined by the style and request;

  • render all layers into an image using that style.

The server converts the rendered image to PNG and returns as Base64 string.

References:


Contributing & Local Development

Setup

git clone <repository> cd tomtom-mcp npm install cp .env.example .env # Add your API key in .env npm run build # Build TypeScript files node ./bin/tomtom-mcp.js # Start the MCP server

Testing

npm run build # Build TypeScript npm test # Run all tests npm run test:unit # Unit tests only npm run test:comprehensive # Integration tests

Testing Requirements

⚠️ Important: All tests require a valid API key in .env as they make real API calls (not mocked). This will consume your API quota.

Project Structure

src/ ├── tools/ # MCP tool definitions ├── services/ # TomTom API wrappers ├── schemas/ # Validation schemas ├── utils/ # Utilities └── createServer.ts # MCP Server creation logic └── index.ts # Main entry point

Troubleshooting

API Key Issues

echo $TOMTOM_API_KEY # Check if set

Test Failures

ls -la .env # Verify .env exists cat .env # Check API key

Build Issues

npm run build # Rebuild npm cache clean --force # Clear cache

Contributing & Feedback

We welcome contributions to the TomTom MCP Server! Please see CONTRIBUTING.md for details on how to submit pull requests, report issues, and suggest improvements.

All contributions must adhere to our Code of Conduct and be signed-off according to the Developer Certificate of Origin (DCO).

Open issues on the GitHub repo

Security

Please see our Security Policy for information on reporting security vulnerabilities and our security practices.

License

This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details.

Copyright (C) 2025 TomTom NV

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Provides seamless access to TomTom's location services including search, routing, traffic and static maps data, enabling easy integration of precise geolocation data into AI workflows and development environments.

  1. Demo
    1. Table of Contents
      1. Quick Start
        1. Prerequisites
        2. Installation
        3. Configuration
        4. Usage
      2. Integration Guides
        1. Available Tools
          1. Orbis equivalents (optional backend)
          2. How dynamic map tool works
        2. Contributing & Local Development
          1. Setup
          2. Testing
          3. Testing Requirements
          4. Project Structure
        3. Troubleshooting
          1. API Key Issues
          2. Test Failures
          3. Build Issues
        4. Contributing & Feedback
          1. Security
            1. License

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Provides comprehensive access to Roam Research's API functionality. This server enables AI assistants like Claude to interact with your Roam Research graph through a standardized interface.
                Last updated -
                14
                66
                MIT License
                • Apple
              • -
                security
                F
                license
                -
                quality
                Provides IP geolocation services using IP-API.com without requiring an API key, enabling users to obtain detailed location and network information for any IP address in a clean, formatted output.
                Last updated -
                1
                3
              • A
                security
                A
                license
                A
                quality
                Enables LLMs to perform travel-related tasks by interacting with Google Maps and travel planning services including location search, place details, and travel time calculations.
                Last updated -
                5
                122
                85
                MIT License
              • A
                security
                A
                license
                A
                quality
                Enhances LLM capabilities with location-based services and geospatial data, enabling users to geocode addresses, find nearby points of interest, get directions, optimize meeting points, and analyze neighborhoods.
                Last updated -
                12
                117
                MIT License
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/tomtom-international/tomtom-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server