TomTom Data Visualization
tomtom-data-vizVisualize custom GeoJSON datasets on a TomTom basemap with markers, heatmaps, clusters, and choropleth layers. Overlay multiple layers in one call and enrich point clicks with address data.
Instructions
Visualize custom GeoJSON data on a TomTom basemap. The map is drawn by the MCP app, so the visual requires a client that supports MCP apps; the caller gets back only a summary. Intended for large datasets, heatmaps, cluster maps, choropleth maps, or GeoJSON data (from a URL or inline) rendered on a map. Supports markers, heatmaps, clusters, lines, polygon fills, and choropleth maps. Provide data via HTTPS URL or inline GeoJSON. Multiple layers can be overlaid in a single call. Point features are automatically enriched with TomTom address data when clicked (reverse geocode). Placing a few specific markers, routes, or polygons is handled by tomtom-dynamic-map; route calculations (directions, travel time) are handled by tomtom-routing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Display title shown as an overlay on the map. Example: 'Store Locations'. | |
| layers | Yes | Array of layer configurations (max 10). Each layer defines how to visualize the data. Multiple layers can overlay different visualization types on the same data. Example: [{ type: 'heatmap' }, { type: 'markers', label_property: 'name' }]. | |
| geojson | No | Inline GeoJSON string. Must be a valid FeatureCollection or Feature object. Max 10MB. Mutually exclusive with 'data_url'. For larger datasets, host the file and use 'data_url' instead. | |
| show_ui | No | Render the data on the interactive MCP app map. The visualization is the tool's only output; set to false only to validate the data without a map. Default: true. | |
| data_url | No | HTTPS URL to fetch GeoJSON data from (server-side). Supports FeatureCollection or single Feature. Max 50MB, 30s timeout. Mutually exclusive with 'geojson'. Preferred for large datasets. Example: 'https://example.com/data.geojson'. |