project · 2025-2026

Two MCP servers, one design pattern

Two production Model Context Protocol servers giving AI agents structured access to TomTom APIs. Both open source, both authored end-to-end (TypeScript, design + impl + docs).

Two production Model Context Protocol servers giving AI agents structured access to TomTom APIs. Both open source, both authored end-to-end (TypeScript, design + impl + docs).

tomtom-mcp

General-purpose MCP for location, search, geocoding, and routing. First TomTom MCP server, coordinated with Microsoft for Azure Marketplace publication.

tomtom-traffic-analytics-mcp

Specialised MCP exposing TomTom’s MOVE traffic-analytics services for real-time and historical reasoning over road networks.

The shared design pattern

Both servers share the same opinionated layout:

  1. API client first, hand-rolled, fully typed, no auto-generated bloat.
  2. Tools as thin wrappers over the client. Each tool is a single function with a Zod schema for validation.
  3. Error envelopes so agents can recover gracefully when an API call fails.
  4. Streamable HTTP transport for proper multi-step agent runs.

links

← all projects