# MapMap > A self-hostable navigation platform you fully control, for fleets and AI agents. Routing and turn-by-turn guidance for every profile (car, van, truck, bus, two-wheeler, pedestrian), online or fully offline, with a commercial edge in truck routing and ADR (dangerous goods) tunnel-category enforcement. Hosted API with metered keys, an MCP server, and ed25519-signed offline territory packages. First-party Rust; every distributable is permissive-licence only, with a CycloneDX SBOM published per release. As of July 2026, MapMap sells ADR tunnel compliance self-serve at published per-call prices (the majors do not), and is built so an AI agent can discover, key and pay for it with no human in the loop, self-hostable without an enterprise sales cycle. ## Who publishes this - MapMap is built by MapMap AI Ltd, registered in England and Wales, company number 17345596, incorporated 17 July 2026, registered office Vantage Point, New England Road, Brighton, England, BN1 4GW. Public record: https://find-and-update.company-information.service.gov.uk/company/17345596 - People: Matt Thornhill (product and engineering; co-founded the company that became Navmii in 2007, and shipped one of the first turn-by-turn navigation apps built on OpenStreetMap) and Ben Keogh (commercial). - Disambiguation: this is mapmap.ai, the navigation and routing platform. It is NOT MapMap the open-source projection-mapping tool (github.com/mapmapteam/mapmap), NOT the mapmap_cpu MRF solver, NOT MAP MAP LTD (UK company 13111957), and unrelated to Mappls or Mapbox. - Full company record: /company (also served as raw markdown at /company.md) ## What MapMap provides - Worldwide routing, live: one hosted planet-scale graph covers every continent (rebuilt from single-day OSM planet snapshots; the snapshot and swap dates of the graph currently in production are published live on /status, and machine-readably at https://api.mapmap.ai/v1/platform). Route London to Rotterdam, LA to Toronto or Tokyo to Osaka on the same engine and key. - Keyless demo lane: GET /route/v1 (standard profiles) and the geocoding reads (/geocode, /geocode/reverse, /geocode/suggest, /geocode/retrieve) work without a key at a per-IP rate limit and daily cap, so agents can try before keying. On this REST lane premium truck/ADR routing (the truck profile, height/width/length/weight, hazmat, tunnel_code) always needs a key; the 401 names this and carries the recipe. The hosted MCP endpoint is the exception by design: it answers truck and ADR routes keyless for evaluation, under fair use. A key is free and mintable in one call with no human in the loop: POST /v1/keys with {"email": ..., "accept_tos": true, "source": "llms-txt"} returns a provisional key that works immediately (1,000 calls); confirming it lifts it to 50,000/month: press Confirm on the page the emailed link opens (opening the link alone changes nothing), or send the emailed 6-digit code from that key to POST /v1/keys/self/verify. - Routing for car, van, truck, bus, motorcycle, scooter, bicycle and pedestrian profiles from one engine. - Truck routing with height/width/length/weight and ADR tunnel restriction codes (B/C/D/E), enforced in costing, not post-filtered. - The hosted API works with standard routing clients, so existing tooling can call it with minimal change. - Compatible URL endpoint: GET /route/v1/{profile}/{coordinates} with vendor params height, width, length, weight, hazmat, tunnel_code. - Native JSON endpoint: POST /route with costing_options.truck and a top-level adr extension. - Pure compliance endpoint: POST /adr/check for the ADR 8.6.4 tunnel-entry decision with reasoning, no routing. - Data APIs: POST /isochrone, POST /matrix, POST /trace_route and POST /trace_attributes (map-matching), POST /route/report (distance/duration by road_class, admin area, toll/bridge/tunnel and surface, pure aggregation over trace_attributes, no extra charge; with /trace_route it is the trip-replay and mileage-report workflow), POST /route/progress (where a vehicle is against its plan: snapped position, progress fraction, remaining distance/duration recomputed through the engine, off-route flag, and an ETA with its traffic provenance; stateless, no positions are stored). - Request sizes, and what happens over them. POST /matrix: at most 10,000 elements (sources x targets) per request, and at most 1,500 km between the furthest source and target on every motor costing (auto, truck, bus, taxi, motorcycle, motor_scooter; 200 km on bicycle and pedestrian, and 400 km on a stock self-host). The routing engine takes only 2,500 source x target PAIRS per call, so a larger matrix is split into blocks that fit, computed concurrently and stitched with row/column order preserved: 100 x 100 and 2,000 x 4 are both four engine calls behind one API call, and a failed block fails the whole request rather than returning a plausible-looking wrong grid. Billing is per started block of 25 ELEMENTS, not per engine call, so splitting is neither a discount nor a loophole. The span is the one limit splitting cannot lift (the offending pair is in whichever block it lands in): over it, 422 matrix-span-too-large with span_km and max_span_km. POST /route and GET /route/v1: at most 500 waypoints; the engine takes 20 per call, so longer lists are cut at `break` waypoints, routed concurrently and spliced into one continuous route (legs, manoeuvres and summary are a true concatenation), billed one call per started block of 20 waypoints. Three shapes are refused with 422 route-not-splittable rather than approximated: more than 20 consecutive through/via/break_through waypoints, a time-dependent route (date_time type 0/1/2), and a request for alternates, all fine at 20 waypoints or fewer. - Avoiding areas and points: POST /route, POST /isochrone and POST /matrix accept exclude_polygons (array of [lon, lat] rings; roads intersecting a ring leave the search) and exclude_locations (array of {lat, lon}; each snaps to its nearest road, which leaves the search). On GET /route/v1/{profile}/{coordinates} they are query params (exclude_polygons as JSON rings, exclude_locations as ;-separated lon,lat). Caps per request, 400 over: 50 rings, 500 total ring vertices, 50 locations. This is how you answer "if we close this, what breaks" without rebuilding tiles. A hard cut, not a penalty, so it cannot express "avoid if reasonable"; unreachable targets come back as null matrix cells, or a 400 on /route. Not accepted on /optimise, /route/along or /v1/fuel/along. No effect on billing. See /docs/conventions. - Along-route data (all take a route shape, all 501 when the deployment has not configured the data, so feature-detect on 501): POST /v1/cameras/along (safety cameras, jurisdiction-gated), POST /v1/incidents/along (closures and lane restrictions, OGL v3.0), POST /v1/weather/along (forecast aligned to estimated arrival time, not to now), POST /v1/charging/along (EV charge points ranked most powerful first, each with its real engine-computed detour, connector and min-kW filters; every response names which operators the dataset covers, because there is no national charge-point registry and an empty result means "none from these operators", never "no chargers here"), POST /v1/fuel/along (fuel stations ranked cheapest first, each with its real engine-computed detour, a stale flag when the price is not verifiably fresher than 24 hours, and saving_per_litre against the cheapest on-route baseline kept per currency; sources are statutory/open price feeds, UK Fuel Finder, FR prix-carburants, DE Tankerkönig, so coverage stops where those feeds stop). See /docs/analysis. - England buses, display only (DfT Bus Open Data Service and NaPTAN, OGL v3.0): GET /v1/transit/vehicles?bbox=west,south,east,north (live bus positions as GeoJSON, box at most 4 square degrees, feed.status ok/stale/unknown on every answer, a stale feed still returns its buses), GET /v1/transit/stops?lat=&lon=&radius_m= (stops near a point, with the lines calling there) and GET /v1/transit/departures?stop= (timetabled departures, basis "timetable", with a label to show beside them). Each is one Standard call; 501 when the deployment has no transit data. Stops and lines are also map tiles (transit-stops, transit-lines), drawn by the web SDK's TransitStopsLayer; TransitVehiclesLayer polls and animates the live positions. MCP tools nearby_stops and next_departures return the same answers with label and coverage. No journey planning, journey times or arrival predictions; rail, tram and ferry are not included. Guide: /docs/transit - Clean-air zones (UK, on by default, no flag): a POST /route reply whose geometry crosses the London ULEZ or LEZ, an English Clean Air Zone (Bath, Birmingham, Bradford, Bristol, Portsmouth, Sheffield, Tyneside) or a Scottish LEZ (Glasgow, Edinburgh, Aberdeen, Dundee) carries a top-level zones block: each zone crossed, where the route enters and leaves it, and the published schedule with the authority's own page and the date it was last checked. Add a top-level emissions object ({vehicle_category, fuel, euro_standard}) to resolve what THIS vehicle pays; without one every zone reads "unknown" and says so rather than guessing a figure. Scotland bans rather than charges, and is reported as banned with the penalty ladder, never as a payable charge. The estimated total is its own line (zones.estimated_charges) and is never added to any routing cost. avoid_zones:true excludes the zones this vehicle is charged or banned in via exclude_polygons, decided from your waypoints before the route runs, so it costs no extra call and no extra billing; the engine's 10 km total exclusion perimeter means most zones cannot be excluded at all (the ULEZ boundary is 236 km around), and each one that cannot is reported in zones.avoidance.not_avoidable with the reason rather than silently skipped. GET /v1/zones serves the whole dataset with its provenance for audit. Exemptions, discounts and anything turning on a weight the request does not state are not modelled. See /docs/adr. - EV route planning: POST /v1/ev/plan takes origin + destination (not a route shape) and a vehicle (a published profile "small_hatch"/"saloon"/"suv"/"van", or inline EvProfile fields over a base) and returns the whole journey with its charge stops: physics consumption over the route's own legs, charge times integrated over the vehicle's charging curve capped by the charge point rather than energy divided by peak power, and stops chosen so the state of charge never breaches the reserve floor you set. When no plan exists (a charger desert, a connector mismatch, a gap wider than the range) the answer is a 200 with feasible:false, a named reason and the furthest point the car actually reaches, never a fabricated plan. gradient_data says whether elevation was available: "absent" means consumption was modelled on the flat, so a flat-model figure is never presented as a measured one. Static planner over the operator feeds a deployment ingests, bring your own OCPI feed for live availability; 501 when no charge-point directory is configured. See /docs/analysis. - Elevation: POST /elevation (point elevation, up to 500 coordinates) and POST /elevation/along (route profile: per-sample distance, elevation, percent grade, plus whole-route ascent/descent), via Valhalla's native /height action. elevation_m/source/resolution_m are null together wherever the engine's DEM tile set has no coverage, never a guess. Hosted coverage is worldwide land, 56S to 71N (32,960 tiles, ~30 m); Antarctica is absent upstream and open water has no tiles, so a null over land is a real gap worth reporting while a null mid-ocean is the format working. Self-hosters cover whatever they stage. 501 unless the operator sets SN_ELEVATION_ENABLED. - Timezone: GET /timezone?lat=&lon=×tamp= returns tzid, utc_offset_s, dst_offset_s and abbreviation for a coordinate and an optional RFC 3339/Unix-seconds timestamp (defaults to now), from a SpatiaLite boundary lookup plus chrono-tz's IANA rules. 501 unless the deployment loaded a timezone database. - Verify places (geo-hallucination firewall), live now at POST /api/verify (intended gateway path POST /verify tracked, not yet built): checks whether places and itineraries an AI mentioned are real, findable and physically possible. Every claim gets a three-state verdict, never a boolean, verified (matched place, stable id, source and date), contradicted (a dated sourced fact rules it out, an itinerary leg the routing engine proves cannot be driven in the stated time) or unverified (no evidence either way). Never asserts a named real business does not exist or has closed, enforced in code, not just policy. Also the verify_places MCP tool, live on the hosted MCP endpoint. - Geocoding, live hosted worldwide: GET /geocode (forward: q, limit, lang, bias, bbox=minLon,minLat,maxLon,maxLat as a hard filter, excludes results outside the box, unlike bias; a bare city or town query lists that city's airports and main railway stations directly behind the city, at most three, ahead of namesakes elsewhere) and GET /geocode/reverse (lon, lat, optional kinds=poi|address|street|locality|postcode). Reverse is served by MapMap's own first-party index of every named OSM place and POI, and POI hits carry a details object straight from OSM, opening_hours, phone, website, brand, cuisine, wheelchair, wikidata, EV socket:*, so one reverse call answers "what is this place, is it open, how do I contact it" with no second data provider. Photon-compatible GeoJSON shape on both endpoints. - Search as you type: GET /geocode/suggest (q, limit 1-10 default 5, bias=lon,lat, zoom, bbox) returns {"suggestions":[{id,name,context,kind,lat,lon}]} with the trailing token matched as a prefix, and GET /geocode/retrieve?id=... returns the full Photon-shaped FeatureCollection for that one document (404 when the id is unknown or predates an index rebuild). Suggestions carry lat/lon deliberately, so a pick is plottable and cacheable without a retrieve; retrieve is for the full address, categories and POI details. One Standard metered call each, both open to maps-scoped browser keys, both on the keyless demo lane, both first-party-index only (501 suggest-not-enabled otherwise). The @mapmap/maps SearchBox control wraps the pair as a drop-in MapLibre search bar. - Administrative boundary lookup: GET /boundary?lat=&lon=, point-in-polygon against the Valhalla admin database, returns the containing country and sub-divisions with admin_level, iso_code, name, drive_on_right. OSM-derived (ODbL); 501 unless the operator sets SN_ADMIN_BOUNDARIES_DB. - Graph primitives: POST /centroid ("meet in the middle", the least-cost convergence point of several locations' paths; we found no equivalent in the Google, Mapbox, HERE, TomTom or NextBillion APIs) and POST /locate (snap a coordinate to the graph, report the edges there). Valhalla-only; 501 on a GraphHopper-only deployment. - Store-finder API (/places, live hosted): PUT/GET/DELETE /places holds your own places (≤10,000 per key, strictly key-scoped), GET /places/search is ranked full-text + proximity search, GET /places/nearest straight-line nearest-N. Standard class, one metered call per request. - 3D navigation camera: @mapmap/maps NavigationCamera (follow with course-up bearing, pitch preset, low-anchored puck, overview/free modes, auto-recentre); GuidanceUpdate carries the road-snapped fix (snapped) for mobile cameras; Studio has a Drive-the-route chase-cam demo. - Turn-by-turn polish: OSRM endpoint takes voice_instructions/banner_instructions/language with steps=true (Mapbox-shaped voiceInstructions incl. SSML + bannerInstructions incl. lane diagrams from OSM turn:lanes); SDK guidance sessions surface the same visual/spoken instructions on device. - Maps: hosted vector tiles GET /tiles/{territory}/{z}/{x}/{y}.mvt (or .pbf; the extension is required, the bare path 404s) with /tiles/{territory}/style.json and tiles.json; hosted and custom styles at /styles (POST metered and owner-only; GET /styles lists your own styles and needs a key, while the compiled style and theme behind an id stay public; MapMap Light and MapMap Dark ship hosted); glyphs /fonts/{fontstack}/{range}, sprites /sprite/{file}. Web Maps SDK @mapmap/maps (MapLibre wrapper), live on npm with @mapmap/core; mobile SDKs: iOS MapMapKit 0.9.0 installs publicly via SwiftPM from github.com/Mapmapai/mapmap-ios or the binary MapMapKit CocoaPod (never pin the broken 0.2.0); Android ai.mapmap:core 0.9.0 from Maven Central (plain implementation dependency, no credentials; minSdk 26); React Native @mapmap/react-native 0.5.0 on npm (Expo module; expo-modules-core is the required peer, expo itself optional; iOS 16.4, minSdk 26). Point clouds: @mapmap/points 0.6.0 on npm (guide: /docs/point-clouds), LiDAR/photogrammetry clouds rendered inside the map's own WebGL context in one draw call (10 bytes per point: Uint16 positions at 2 cm plus Uint8 RGB with the class in the alpha byte), peers maplibre-gl and three; the class taxonomy is the producer's input, the SDK ships none. - Your own data on the map (web SDK @mapmap/maps): DataLayer draws any GeoJSON (inline or a URL) or your own PMTiles archive as points, lines, polygons, clusters, a heatmap or extrusions, with category or graduated styling, feature-state hover and selection, popups and a slot ("bottom", "middle", "top", the Mapbox Standard names); addPersistentSource / addPersistentLayer keep any MapLibre layer through setStyle; map.addInteraction with the poi, place-labels and buildings featuresets (buildings best effort) handles clicks on the basemap. Hosted Studio styles take a theme "sources" field (customer-hosted GeoJSON, vector, raster or image URLs; MapMap stores the URL, never the data) and a "slot" on extra layers. Also: map.setColorTheme (a Mapbox-format colour-theme PNG or LUT), ModelLayer and TilesLayer (glTF and OGC 3D Tiles, @mapmap/maps/models) and map.addClip. No hosted tileset upload: tile locally and host the PMTiles yourself. Guides: /docs/custom-data, /docs/migrate-from-mapbox - Markers: a designer places them in Studio's Markers section and they ride with the theme as extra.markers (schema v1, up to 200 items, 21 built-in glyphs plus dots and data:-URI images, optional labels), drawn by MarkersLayer in @mapmap/maps. A route's own start/destination/waypoint markers are a separate design, extra.nav.endpoints, drawn by RouteLayer's endpoints option as a symbol layer above the line so they appear in canvas exports. Both blocks are structurally validated at publish (a bad glyph id or colour fails the publish, with the field path named), unlike the rest of extra. - Static map images (for agents that can see an image but cannot run MapLibre themselves): GET/POST https://mapmap.ai/api/static-map renders a PNG/WebP/JPEG, centre+zoom, bbox, or auto-framed to whatever you overlay. Pipe a /route response straight in as route= (encoded polyline: precision=6 from POST /route and the MCP route tool, but precision=5 from GET /route/v1's default OSRM-compatible shape, get this wrong and the map silently renders the wrong place), or a /isochrone response as geojson= (POST body for anything too big for a URL). markers=, satellite=1, buildings3d=1, @2x all supported. Always carries OpenStreetMap attribution and the MapMap mark; no API key, rate-limited instead. Website-hosted, not gateway, see /docs/api-reference#static-map-images. - Gateway static map (keyed): GET/POST https://api.mapmap.ai/v1/static-map renders the same kind of image on the gateway under your key (401 without one) and bills a flat 15 calls per image, Standard class (/pricing.json unit_rules.static_map). Same query parameters (center+zoom or bbox, size up to 1280 per side with @2x, style, format, route=/polyline=); POST carries a GeoJSON overlay as the raw body with every other parameter in the query string. Use it when you already hold a key and want the image metered to it rather than rate-limited per IP. - Map label languages: tiles carry OSM name:* translations (70+ languages) alongside local names; the web SDK's buildStyle({labelLanguage}) renders any of them with local-name fallback ("local" = every place in its own language); every script renders (merged Noto glyph stacks; MapLibre GL JS 6.9+ shapes Arabic/Hebrew itself, MapLibre 5 needs the RTL plugin). Live picker at https://mapmap.ai/map. - Coverage: territory tiles and downloads span every continent and keep expanding, the live territory index is authoritative, so enumerate coverage from the API, not from marketing copy. - Browser use from any origin: the gateway answers Access-Control-Allow-Origin: *, including null origins (Figma plugins, Electron apps, file:// pages); keys are bearer headers, never cookies. - Route optimisation (VRP): POST /optimise (alias /optimize) plans multi-vehicle, multi-stop fleets over a matrix computed by our engine, so truck/ADR constraints shape the plan. One request bills 10 calls per 2,500-pair block of its internal matrix (flat 10 up to 50 unique locations, 160 at the cap); at most 200 unique locations, and no wider than the engine's matrix span (1,500 km on the hosted gateway, 400 km on a stock self-host; 422 matrix-span-too-large beyond, which splitting does not help with). Enabled per deployment (503 when off). - Territories (fixed rounds): POST /optimise accepts territories (an array of {id, polygon} with GeoJSON [lon, lat] rings, at most 64 territories of 1,000 positions each) plus per-vehicle territory_ids. A vehicle listing territories may serve a task only if the task is inside AT LEAST ONE of them; a vehicle listing none serves anywhere; a task inside NO declared territory is servable by unrestricted vehicles only; a shipment needs one vehicle eligible at both ends. Containment is strict, so a stop exactly on a boundary line is outside. Enforced exactly (compiled into solver constraints, not weighed as a preference); the response carries a territories block with per-territory job counts, the stops outside every territory and anything no vehicle was allowed to serve. No change to billing. Nothing to do with the offline map packages at GET /territories or the clean-air zones on /v1/zones. - Clustering: POST /v1/cluster groups stops into balanced clusters for feeding per-cluster optimisations, which is how a day larger than the 200-location optimisation cap is split without guessing. Body {locations: [{id, lat, lon, load?}]} plus exactly one of clusters (a target count, balanced by stop count) or max_cluster_size ({locations: n} or {load: x}); optional territories (no cluster straddles one) and seed (default 42). Capacity-constrained k-means with k-means++ seeding, deterministic for a given seed. STRAIGHT-LINE distance only: no road network is consulted, so cluster here and then optimise per cluster for road-network order. One call per started 100 locations; at most 5,000 locations and 500,000 locations x clusters (422 cluster-too-large beyond). - Drive-every-street coverage plans: POST /v1/jobs/coverage (asynchronous job lane only; poll GET /v1/jobs/{id}, free) plans one closed drive along every street in an area at least once, in the legal direction, split into outings of chunk_km: the Chinese postman problem on the engine's own routing graph, for survey capture, street sweeping, gritting and refuse rounds. Body: exactly one of bbox or polygon, plus optional costing (auto or truck), optimise (distance, time or balanced), road_classes, include_private, turn_penalties (avoid_left, avoid_right, avoid_u_turn in metres), chunk_km, start, return_to_start, webhook_url and exclude {way_ids (OSM way ids, as in a previous plan's steps), areas (GeoJSON polygon; a street is excluded when more than half its length lies inside)}. An excluded street may still be driven as a deadhead connection, never covered. The result carries chunks (outings) with steps (edge_id, way_id, name, deadhead), each with a ready /trace_route body for turn-by-turn, and a summary with covered, deadhead and dropped figures, plus excluded_edges, excluded_km and exclude_unmatched_way_ids when exclude is used; graph.osm_timestamp names the OSM snapshot way ids match against. Charged at submission per started square kilometre of the area's bounding box (premium with truck); on success billed on the larger of the polygon's own area and its street floor (street length asked for at 20 km per square kilometre) with the difference handed back (result billing), refunded in full if the job fails; caps SN_COVERAGE_MAX_AREA_KM2 (100), SN_COVERAGE_MAX_EDGES (100,000) and SN_COVERAGE_MAX_SOLVE_MS (120,000), 422 coverage-too-large beyond. MCP: submit_optimise_job with kind coverage. See /docs/api-reference#drive-every-street-coverage-plans - Per-assistant connection recipes (ChatGPT, Claude, Cursor, Grok, Perplexity, VS Code, agent frameworks): https://mapmap.ai/docs/agents - MCP server (sn-mcp), fifty-seven tools: route, route_observations, heritage_narration, search_along_route, cheapest_fuel_along_route, weather_along_route, nearby_stops, next_departures, events_in_area, space_weather_now, weather_frames, cheapest_charging_along_route, plan_ev_route, plan_day, plan_errands, check_adr_tunnel, check_clearance_on_route, match_trace, geocode, reverse_geocode, matrix, nearby_places, places_in_view, list_place_categories, elevation, verify_places, validate_geodata, reachable_area, optimise_routes, order_stops, cluster, replan_routes, submit_optimise_job, get_job, coverage_guidance, list_style_layers, get_style, check_style_contrast, create_style, set_palette, set_layer_paint, set_layer_layout, report_map_issue, submit_integration_retro, get_usage, geo_distance, geo_bearing, geo_destination, geo_point_in_polygon, geo_bbox, geo_centroid, geo_length, geo_area, geo_simplify, geo_nearest_point_on_line, camera_incidents, set_temporary_closure; the last two (both off unless a deployment arms camera-verified incidents); stdio or streamable HTTP at :8200/mcp. Hosted endpoint: https://mcp.mapmap.ai/mcp (streamable HTTP, no key to connect, fair use; per-client setup for Claude Code, Claude Desktop, Cursor, Codex, VS Code and Windsurf in /docs/mcp). Per-caller billing: present your own gateway key as Authorization: Bearer snk_... (or a MapMap OAuth access token, sno_...; discovery at https://mcp.mapmap.ai/.well-known/oauth-protected-resource) on the streamable-HTTP transport and every metered call (route, route_observations, heritage_narration, geocode, reverse_geocode, matrix, reachable_area, match_trace, optimise_routes, order_stops, cluster, replan_routes, submit_optimise_job, coverage_guidance, search_along_route, cheapest_fuel_along_route, weather_along_route, nearby_stops, next_departures, events_in_area, space_weather_now, weather_frames, cheapest_charging_along_route, plan_ev_route, plan_errands, nearby_places, places_in_view, check_clearance_on_route, plan_day, elevation, verify_places feasibility, plus style publishes) meters and bills to that key instead of the operator's; with no snk_ key an HTTP caller runs anonymous on the operator key under fair use, and stdio has no per-request header so it uses the process key. Local-geometry, check_adr_tunnel, list_place_categories, list_style_layers, check_style_contrast and style reads are never metered. get_usage reports what the calling key has spent in weighted quota units, never a count of calls; it needs your own key and refuses keyless calls on the hosted endpoint. OAuth: the hosted MCP server is an OAuth 2.1 resource server (authorisation server https://api.mapmap.ai, scope mapmap, PKCE S256, dynamic client registration); a signed-in client's sno_ token bills to a key on your account, see /docs/mcp#sign-in-with-oauth. Style publishes (create_style, set_palette, set_layer_paint, set_layer_layout) are refused for an anonymous hosted caller, publishing is signed with a gateway key, so present your own snk_ key, run sn-mcp yourself with your own STUDIO_API_KEY, or call POST /styles with your snk_ key; style reads need no key. - Brand search (MCP): nearby_places takes category (cafes, fuel, EV charging, parking, pharmacies), or name for a brand or named place ("the nearest Lloyds"), or both to disambiguate one from the other (name=Lloyds with category=bank excludes Lloyds Pharmacy). Nearest first, with real distances in metres. - Directional place lookup (MCP + API): places_in_view takes a position AND a bearing and returns the places in that cone, each with distance_m, its own bearing_deg, a signed angular_offset_deg and a visibility verdict computed against the bare-earth elevation model and OpenStreetMap building footprints: clear, occluded (with the obstruction named, including the blocking building's height and whether that height was ever mapped) or unknown when no check could run. A place that could not be checked is returned labelled, never silently kept or dropped. Visibility is modelled from maps, not observed: trees, walls, scaffolding, weather and which way a frontage points are not in it, and OSM building-height coverage is uneven outside large city centres. Same surface over HTTP at GET /v1/places/in-view. A query API only: it answers what is in a direction and nothing about it is route-triggered or proactive. - Egocentric place results (MCP): nearby_places and reverse_geocode take an optional heading_deg (degrees clockwise from true north) and return every hit with bearing_deg, a signed relative_bearing_deg (negative left, positive right) and a `direction` string phrased for speech ("ahead and slightly to your right, about 80 metres"). Without a heading the phrasing falls back to cardinals ("to the north-east"), so voice, wearable and robot clients work with or without a compass. Optional fov_deg is the full width of a cone around the heading; results outside it are dropped and counted in out_of_view, so "none in front of you" stays distinguishable from "none nearby". Directions are measured from the queried point, which is not necessarily the user's position. - Agent skills (how-to knowledge for coding agents, complementing the MCP tools): npx skills add Mapmapai/mapmap-agent-skills, eleven skills (mapmap-mcp-setup, mapmap-truck-adr-routing, mapmap-web-maps-integration, mapmap-map-design, mapmap-fleet-optimisation, mapmap-fleet-sync, mapmap-offline-territories, mapmap-migrate-from-mapbox, mapmap-migrate-from-google-maps, mapmap-x402-payments, mapmap-self-host-ops), listed and explained at /docs/skills. - Offline SDK path: signed territory packages (ed25519 + BLAKE3), differential OTA updates, on-device routing. - CarPlay and Android Auto (beta): MapMapCarPlay (iOS SwiftPM product) and ai.mapmap:car / ai.mapmap:car-maplibre (Android), CPTrip/CPManeuver and NavigationTemplate conversion, lane guidance, SF-Symbol manoeuvre glyphs, car-screen map rendering; built and unit-tested, never run on real head-unit hardware. MapMapCarPlay is a product of the public Mapmapai/mapmap-ios package from 0.7.0. ai.mapmap:car and ai.mapmap:car-maplibre are not on Maven Central yet; build them from the SDK source checkout until public artefacts follow hardware validation. Requires your own Apple CarPlay entitlement and Google Play car-app review. - Self-host distro: Docker Compose stack (gateway + routing engine + optional geocoder + MCP server); air-gap capable. ADR tunnel enforcement requires the MapMap Valhalla image, which the self-host distro does not yet ship by default: dimensions and hazmat apply on the stock build, tunnel codes need the GraphHopper backend or the MapMap Valhalla image, and /adr/check is authoritative on every backend. - Errors are RFC 9457 problem+json with stable urn:sn-gateway:problem: type URIs. Exceptions: the compatible URL endpoint uses its own error envelope, and 402 uses the x402 machine-payment wire format ({x402Version, error, accepts[], instructions}). - MapMap Nav (app): a free turn-by-turn app for iPhone and Android built on the platform; download a country or region once and the map, routing and guidance need no signal; on the App Store and Google Play. Product page /nav, privacy /nav/privacy, build guide /docs/nav. - Tellway (app): navigation you listen to, from MapMap; spoken directions, with no map on the screen while you drive; on the App Store and Google Play. Product page /tellway, privacy /tellway/privacy. ## Pricing (machine-readable: /pricing.json) - Free: 50,000 included calls/month after email verification, commercial use allowed. A premium (truck/ADR) call draws 20 included calls, so all-premium free usage is 2,500 calls/month. Provisional key first: 1,000 calls / 72 h, issued in one call, card-free. - Pay-as-you-go: prepaid credit only, two-speed, tiered and marginal. Standard class (car/van/bus/two-wheeler/pedestrian routing, geocoding, matrix, isochrone, map-matching, elevation, timezone): 0.05p per call, 0.03p beyond 1M calls/month, 0.02p beyond 10M. Premium class (truck routing and ADR compliance): 1p, 0.7p and 0.4p across the same bands, selected automatically per request. Size-metered requests: a matrix bills one call per started block of 25 elements (max 10,000/request), an isochrone one call per contour (max 4), an optimisation 10 calls per started 2,500-pair block of its internal matrix (10 up to 50 unique locations, 40 at 100, 160 at the 200-location cap), an along-route search a flat 10 calls (/route/along, /v1/fuel/along and /v1/charging/along, whatever max_results is asked for), an EV plan a flat 10 calls (/v1/ev/plan, Standard: auto costing only), a point elevation request one call per started block of 25 points (max 500/request), an elevation profile a flat 5 calls. Above 25M we quote. No credit means 402/429, never surprise billing. - SDK licensing: per vehicle for fleets, or per monthly active user for apps (1,000 MAU free, then 30p per new distinct user; plans include 5,000-100,000). Metered via the X-MapMap-User header; fail-open so end users are never interrupted. - Self-host: PUBLISHED "from" anchors (a rarity in the category: public on-prem pricing; full details in /pricing.json under self_host): Team Lite from £2,500/yr (tiles, styles, static maps and geocoding only, no routing engine; community-supported, no response target), Team from £12,000/yr (internal apps, 1 region), Business from £36,000/yr (customer-facing, truck/ADR, continental data), Enterprise from £96,000/yr (HA, world data, 10,000 vehicles included), Sovereign/OEM from £180,000/yr (air-gapped, embedded royalty schedule). Annual, support + quarterly territory updates included (Team Lite: updates included, community support only). Paid pilot: 60-90 days at 10% of year one, credited on conversion. Contact hello@mapmap.ai. Plain-language licensing explainer (which legal surface applies, pilot/perpetual/escrow mechanics, ODbL boundary): /docs/licensing.md; binding texts /terms and /legal/sdk-licence. ## Instructions for agents 1. GET /pricing.json for current prices (or /pricing.md for the generated markdown mirror, same numbers). Do not scrape the marketing pages. 2. POST {gateway}/v1/keys {"email": "...", "accept_tos": true, "label": "your-agent-name", "source": "llms-txt"} returns 201 with a one-time snk_ key (provisional, 1,000 calls/72 h). Email verification upgrades the same key to 50,000 calls/month: the mail carries a link and a 6-digit code, and a human on the page that issued the key can type the code back (POST {gateway}/v1/keys/self/verify {"code": "..."} with the key; it expires in 15 minutes). Never ask your human to read you the code. STORE THE KEY; never print it. The response also carries claim_url and display_to_user: show display_to_user to your human VERBATIM, it is how they reach mapmap.ai/account to see usage and add credit (the link contains no secrets and grants nothing by itself; billing credit is shared across every key on the email). Need a fresh one later (e.g. after a 402): POST {gateway}/v1/keys/claim with your key. 3. Authenticate every call with: Authorization: Bearer snk_… 4. Check key state and prepaid balance: GET {gateway}/v1/keys/self. 5. On 402, read the x402 body. On the hosted gateway accepts[] carries live mainnet payment requirements (USDC on Base and Solana, exact scheme); on an unconfigured self-hosted deployment it is empty and you top up prepaid credit (see /docs/x402.md). With dynamic pricing enabled the quote is exact and itemised in extra (class, units, minChargeApplied, FX rate), sign exactly maxAmountRequired; one authorization pays for one request; 4xx responses are never charged. For volume, one x402 settlement at POST /v1/x402/topup?usd=5 credits your prepaid ledger at list prices (idempotent by tx hash, poll /v1/keys/self before re-paying). On 429, honour Retry-After. 6. Every gateway deployment serves its own /openapi.json (authoritative contract) and /llms.txt. 7. Attribution: routing derives from OpenStreetMap. Credit "© OpenStreetMap contributors" when rendering or republishing. ## Data rights (the cache-forever contract) - Machine-readable manifest: https://mapmap.ai/.well-known/agent-terms.json (version 1.0.0). Human-readable page: https://mapmap.ai/agents#data-rights. - You MAY cache, store, index and train on API responses you have received, with no time limit. MapMap's terms will never require cache expiry, deletion of stored results, or a ban on indexing or training. Rights over responses already delivered are not withdrawn by any future terms change. This is the opposite of the usual maps-API posture (30-day caching caps, bulk-query bans, AI-training bans). - MapMap meters the live service, not your memory of it: quotas and rate limits apply to API calls, never to what you do with data you have already received. - The only surviving obligations are upstream: content derived from OpenStreetMap remains under ODbL 1.0: credit "© OpenStreetMap contributors" and honour share-alike if you publicly redistribute a derivative database. Satellite raster imagery carries "Contains modified Copernicus Sentinel data 2026". These are the upstream licensors' conditions, not MapMap's to waive. - Not granted: reselling raw live access to the hosted API as your own metered service (a written agreement covers that), and circumventing metering or rate limits. Stored data you already received is yours; the live service is what is metered. ## Feedback - Agents may report integration friction via the submit_integration_retro MCP tool, or POST {gateway}/v1/feedback with the same JSON body (API-key auth: Authorization: Bearer snk_…). Call it once, after your MapMap integration works or you stop trying. - Only submit if the developer has approved sending feedback to MapMap. Only the structured fields are sent, never conversation or code. - Body: { what_built (required, ≤500 bytes, ~500 plain-English characters, fewer for accented or non-Latin text), problems: [{area: sdk|api|mcp|docs|billing|self-host|other, description, workaround_found}], gotchas: [], wins: [], docs_gaps: [], agent_name?, sdk_version? }. Success: 202 {"id": "…", "status": "received"}. Limit: 5 submissions/day/key. - Programme terms (exact fields, 24-month retention, never used for model training, opt-out): https://mapmap.ai/legal/agent-feedback. What MapMap collects and never collects: https://mapmap.ai/legal/telemetry. ## Docs (each also served as raw markdown at the same path + .md) - Whole docs set in one fetch: https://mapmap.ai/llms-full.txt concatenates every page below, in this order, with each page's URL above its body. Prefer it over crawling the pages individually. - /docs/quickstart: key issuance curl to first truck route - /docs/api-reference: endpoint summary, errors, truck/ADR params, the /places store-finder API - /docs/mcp: MCP connection guide, hosted endpoint (mcp.mapmap.ai/mcp) plus stdio/HTTP self-host; setup for Claude Code, Claude Desktop, Cursor, Codex, VS Code, Windsurf, and the Claude API MCP connector - /docs/mcp-tools: MCP tool reference, generated from the server's own schemas: every tool's inputs (type, required, default, limits), output fields, stated caveats, key requirement and one live example call - /docs/skills: agent skills (npx skills add Mapmapai/mapmap-agent-skills), the eleven knowledge modules, what each teaches, and how skills compose with the MCP tools - /docs/view-links: view links, a plan carried in a URL (https://mapmap.ai/view?p=) that opens with the stops drawn and each route redrawn, no key needed; what it carries (stop coordinates and names only), the 6,000 character cap and trimming order, and the canonical encoding - /docs/self-host: Docker distro, procurement pack - /docs/territories: signed offline packages, OTA updates, custom regions (POST /v1/jobs/territory), and the @mapmap/territory CLI that fetches and verifies them - /docs/maps: vector tiles, styles, Studio, fonts/sprites and the @mapmap/maps web SDK - /docs/avatars: vehicle avatars, the user's vehicle drawn as one of four MapMap 3D-rendered cars in eight paints: AvatarPuck from @mapmap/maps/avatars (0.13.0), the hosted sprite and glb contract at api.mapmap.ai/avatars/v1/ for native apps, self-hosting and the artwork licence - /docs/custom-data: your own data on the map: PlacesLayer (clustered pins, data-driven colours), DataLayer (any GeoJSON or PMTiles: lines, polygons, choropleths, clusters, heatmaps, extrusions, hover and selection, popups), addInteraction on basemap featuresets, persistent layers at a slot and the raw MapLibre escape hatch (any style-spec layer via map.map), your own PMTiles on your own bucket, raster, image and video sources, insertion points (slots), IsochroneLayer reachability rings, GeoJSON overlays on static map images, and the limits (10,000 places/key, 2 KiB properties, no tileset uploads) - /docs/transit: England buses, display only: live positions (GET /v1/transit/vehicles, TransitVehiclesLayer), stops and lines as map tiles (TransitStopsLayer), stops near a point and timetabled departures (GET /v1/transit/stops, /v1/transit/departures, MCP nearby_stops and next_departures), metering and the OGL credits - /docs/data-collection: the probe flywheel: navigation reduced to road-segment statistics on the device (observation count, mean and 85th-percentile speed, stopped time, delta to posted limit) so no trajectory ever leaves the vehicle; three guarantees enforced by tests, no raw coordinates, trip-end suppression, off by default - /docs/migrate-from-mapbox: moving a Mapbox GL JS map to MapMap: keys, style URLs, mapbox:// sources, slots, addInteraction and featuresets, setColorTheme, model and clip layers, globe-aware custom layers, Studio uploads to your own hosting, pricing - /docs/migrate-from-nextbillion: porting from NextBillion.ai: endpoint by endpoint mapping of Directions, Distance Matrix, Navigation and Isochrone onto the MapMap API - /docs/store-finder: the store-finder recipe: pins/clusters/popups, postcode to nearest store via /geocode, hosted /places search, drive-time ranking via /matrix - /docs/od-matrix: origin-destination analysis for planners: chunked /matrix runs under the 10,000-element cap, kepler.gl-ready CSV of OD pairs (arc layer), GeoJSON of origins by minutes-to-nearest; no per-call charge on self-host (the quota and rate limit are the ones you set on the key) - /docs/optimisation: multi-vehicle route optimisation with truck/ADR constraints - /docs/fleet-sync: the morning-dispatch recipe for fleets already running a telematics platform (Samsara, Webfleet, Geotab): read today's stops and vehicles from that system, structured-geocode and sanity-check them, optimise, write the ordered route back or export CSV/GPX, then follow it live with POST /route/progress. An agent recipe run in your own estate, not a hosted connector: MapMap stores no vehicle positions and progress is stateless per request - /docs/clearance: measured overhead clearance along a route (POST /v1/clearance/along), judged against surveyed point cloud geometry rather than OSM height tags: the four verdicts, why every figure carries its uncertainty bound, why a pass over unsurveyed ground is unrepresentable rather than merely discouraged, and why a measurement is never a signed or legal height - /docs/point-clouds: the @mapmap/points SDK, LiDAR and photogrammetry clouds inside the map (baked payloads and streamed COPC), a minimal example, device budgets, the live scenes and their data licences, full API reference - /docs/roadside: MapMap Roadside, the commissioned roadside asset register: fields, formats, the live viewer and sample pack, blurring, and what is not offered yet - /docs/live-globe: the labs live globe at /globe: each layer's source, freshness and label, URL keys, scenes and tours, and which layers ship in the SDK, API and MCP - /docs/voice-copilot: the browser voice demo at /copilot (OpenAI Realtime calling MapMap's MCP tools), its modes, how to build your own, and what is not offered (no hosted voice API) - /docs/sdks: web, Android, iOS, WASM and React Native SDK install, the @mapmap/tile GeoJSON tiler, the voice guidance SDK (beta), and the verifying-key trust anchor - /docs/android: Android API reference, every public class and method of ai.mapmap:core (minSdk 26) - /docs/formats: file formats, channel-index JSON schema, installed-package on-disk layout, .drive.jsonl replay-corpus schema with a sample - /docs/car: CarPlay & Android Auto (beta; MapMapCarPlay in the public iOS package from 0.7.0, Android car modules built from source), entitlement and Play-review gates, Android/iOS quickstarts, DHU and CarPlay Simulator testing - /docs/mobile: rendering MapMap maps on mobile with MapLibre Native (the mobile SDKs are headless and ship no map view): iOS Swift and Android Kotlin quickstarts, the three map sources (keyless house styles, the keyed /tiles API with ?api_key=, an installed territory's pmtiles:// style), why allowed_origins cannot work in a native app (no Origin or Referer header, so every tile 403s) and to mint scope:"maps" with no allow-list instead, offline territory rendering, attribution, and what MapMap does not ship for mobile - /docs/integrations: rendering MapMap tiles outside MapLibre GL JS: verified Leaflet (MapLibre-in-Leaflet), OpenLayers (ol-mapbox-style) and deck.gl (MVTLayer, plus PMTiles through @loaders.gl/pmtiles) snippets, why the compiled style carries no API key and must be patched with a request hook, what Cesium cannot do (no 3D Tiles, no raster tiles, so no MapMap basemap) and what it can, and the two QGIS routes (keyed XYZ vector tiles connection, or the PMTiles archive read in place through GDAL) - /docs/x402: the 402 body shape and how agents pay - /docs/demos: every public demo, grouped by what it demonstrates (3D navigation, analysis over open data, point clouds, Roadside, fleet optimisation, the live globe). The road-safety and physical AI demos have their own catalogue at /demos, the ones where we ran NVIDIA models and tools at /nvidia, and the measured results behind them at /physical-ai - /docs/videos: the help video library (human-facing), twelve short videos covering getting started, the routing APIs (including truck and ADR), Studio, wiring an agent (MCP and x402) and self-hosting, each also embedded on the page it explains ## News (/news, the build log, each post also served as raw markdown at /news/.md) MapMap was built in stealth between January and July 2026 and came out of stealth on 17 July 2026, still in beta. The news feed is the build log: posts are dated to when the work happened, not when they were published. The docs are authoritative on how the platform works; the news explains why it works that way and what the trade-offs were. - Full feed for agents: https://mapmap.ai/news/feed.json, JSON Feed 1.1, inlines every post's complete markdown body as content_text, so one request returns the entire archive with no crawling and no HTML to strip. Prefer this over fetching pages individually. - Human feed: https://mapmap.ai/news/rss.xml (RSS 2.0, titles and summaries only). - Start here: /news/introducing-mapmap (what MapMap is and why), /news/sovereign-navigation (self-hosting and data sovereignty), /news/maps-for-ai (the agent-native loop: discover, price, key, route, pay). - Prices quoted in news posts are illustrative of the time of writing. /pricing.json is always authoritative. ## Endpoints - Signup: POST {gateway}/v1/keys - MCP (hosted, streamable HTTP): https://mcp.mapmap.ai/mcp - Static map images: GET/POST https://mapmap.ai/api/static-map (no key) - Playground (browser): https://mapmap.ai/playground - Live globe (browser, labs demo): https://mapmap.ai/globe shows the NOAA GFS forecast as wind particles and as rain, temperature, cloud and gust fields with pressure lines (a forecast, not an observation), live England bus positions (3D buses when tilted at street zoom), the same live traffic as /map, and well-known satellites drawn at their altitude from CelesTrak orbital elements (higher orbits compressed); named scenes open by link, for example https://mapmap.ai/globe?scene=iss or ?scene=rain-uk; display only. The buses use the public GET /v1/transit/vehicles endpoint and @mapmap/maps; the wind, weather fields, satellites and atmosphere are demo code on the page, not in the SDK - Live globe, how each layer is built: the panel's Built with group says where every layer ships and links on. The map is createMap from @mapmap/maps on MapMap's own planet tiles; buses are the SDK's TransitVehiclesLayer on GET /v1/transit/vehicles; traffic (the same overlay as /map), wind, weather fields, pressure lines, satellites and the atmosphere are demo code on the page, not in the SDK. It ends with an API key (https://mapmap.ai/signup) and a sales contact that carries the scene being viewed (https://mapmap.ai/contact?topic=sales&ref=). - Pricing: https://mapmap.ai/pricing.json - Platform provenance (machine-readable, keyless): https://api.mapmap.ai/v1/platform names what is running right now: engine and engine version, the OpenStreetMap snapshot the routing graph in production was built from, when it was built and swapped in, the basemap archive and its snapshot date, geocoder and terrain. Every field is nullable and a field the build did not record is null, never a guess. Rendered for humans on https://mapmap.ai/status. - Agent data rights: https://mapmap.ai/.well-known/agent-terms.json - Whole docs set in one file: https://mapmap.ai/llms-full.txt - Agent surface (markdown mirror of /agents): https://mapmap.ai/agents.md - Trust and data posture (markdown mirror of /trust): https://mapmap.ai/trust.md - News feed (agents): https://mapmap.ai/news/feed.json