The TomTom MCP Server simplifies geospatial development by providing seamless access to TomTom's location services, including search, routing, traffic and static maps data.
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.
How to obtain a TomTom API key:
For more details, visit the TomTom API Key Management Documentation.
npm install @tomtom-org/tomtom-mcp@latest
# or run directly without installing
npx @tomtom-org/tomtom-mcp@latest
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
# Start MCP server
npx @tomtom-org/tomtom-mcp@latest
# Get help
npx @tomtom-org/tomtom-mcp@latest --help
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:
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
npm run build # Build TypeScript
npm test # Run all tests
npm run test:unit # Unit tests only
npm run test:comprehensive # Integration tests
β οΈ Important: All tests require a valid API key in .env
as they make real API calls (not mocked). This will consume your API quota.
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
echo $TOMTOM_API_KEY # Check if set
ls -la .env # Verify .env exists
cat .env # Check API key
npm run build # Rebuild
npm cache clean --force # Clear cache
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
Please see our Security Policy for information on reporting security vulnerabilities and our security practices.
This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details.
Copyright (C) 2025 TomTom NV