MapMap

ai.mapmap/mapmap

Serveur MCP OK

Faire examiner Voir les tarifs

Maps for agents: car, truck and ADR routing, geocoding, places, matrices, isochrones, EV and fleets.

Fiche technique

Auteur
mapmap.ai (espace de noms du registre)
Dépôt
—
Site
mapmap.ai/docs/agents
Version
1.2.0
Transport
Streamable HTTP
Authentification
Aucune (constatée par notre test)
Adresse du serveur
https://mcp.mapmap.ai/mcp Streamable HTTP
Outils
61
Catégories
Cartes, lieux et météo, IA, agents et mémoire
Dernière mise à jour
23 nov. 2026
Publication
23 nov. 2026

Badge pour votre README

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/ai.mapmap/mapmap.svg)](https://latlas.dev/mcp/ai.mapmap/mapmap)
HTML
<a href="https://latlas.dev/mcp/ai.mapmap/mapmap"><img src="https://latlas.dev/badge/fiche/ai.mapmap/mapmap.svg" alt="Référencé sur L’Atlas" height="20"></a>

Nos tests

Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode

Adresse
https://mcp.mapmap.ai/mcp
Dernier résultat
OK 28 nov. 2026, 07:52
Temps de réponse
781 ms (initialize + tools/list)
Version du protocole
2025-11-25
Nom annoncé
sn-mcp 0.3.0
Outils
61

Historique

DateRésultatRéponseOutils
28 nov. 2026, 07:52OK781 ms61

Outils exposés (61, réponse à tools/list, 28 nov. 2026)

camera_incidents

Camera-confirmed incidents

Road incidents a TRAFFIC CAMERA SAW and a vision model CONFIRMED, in force now: near a point (`near` [lat, lon] with `radius_m`, default 1000, at most 10000), in a `bbox` [min_lon, min_lat, max_lon, max_lat], or along a route `shape` (polyline6 from `route`, corridor `buffer_m` default 60). Give exactly one. Each record says what it asserts (`closed` or a `speed_override` in km/h) on which OSM ways and carriageway, what was seen (collision, stalled vehicle, wrong-way vehicle), the camera, the clip URL the verdict was made on (`evidence_url`), the verifier and its `confidence`, and when it lifts (`end`, always within minutes: these records expire on their own). Camera records RANK BELOW official closures and never retract one. READ `coverage_note` ALOUD: an empty list means no camera-verified incident here, NEVER a clear road. Show `attribution` verbatim (Powered by TfL Open Data). Off unless the deployment arms camera incidents (SN_CAMERA_INCIDENTS_ENABLED): an unarmed gateway answers 501 and says so. Requires the MapMap gateway (GATEWAY_URL + GATEWAY_API_KEY).

ParamètreTypeRequisDescription
bboxarray | nullnon`[min_lon, min_lat, max_lon, max_lat]`.
buffer_mnumber | nullnonCorridor half-width for `shape`, metres.
include_recently_expiredbooleannonInclude records that have expired in the last hour, for the operator's timeline (default false).
min_confidencenumber | nullnonDrop records below this confidence (default 0).
neararray | nullnon`[lat, lon]` plus `radius_m` (default 1000).
radius_mnumber | nullnonRadius for `near`, metres, at most 10000.
shapestring | nullnonA route shape as polyline6; the corridor rule of `/v1/incidents/along` applies (`buffer_m` default 60).

cheapest_charging_along_route

EV charge points along a route

Find the best EV charge points along a route, with the REAL extra travel time of stopping at each one, never a straight-line guess. Provide `origin` + `destination` (a route is computed) or an existing route's `geometry_polyline6`, plus optional `connectors` ("ccs", "type2", "chademo", "type1", "tesla", "domestic", "other"), `min_kw` (e.g. 50 for rapid only), `available_only` and `max_detour_minutes` (default 10). Charge points come from operator-published feeds, are costed through the routing engine with your costing (a `truck` profile makes detours respect dimensional/ADR restrictions) and ranked most powerful first, since minutes off the clock are bought with kilowatts. Each result carries max_power_kw, connector_standards, best_connector, evse_count, detour_minutes/detour_km and, where a live feed backs it, available_now. IMPORTANT: there is no national charge-point registry, every deployment covers only the operators it has onboarded, so ALWAYS show the returned `coverage_note` alongside the results. An empty `results` means "none from these operators within the detour budget", NEVER "there are no chargers here". Statuses are live only when availability_live is true; otherwise they are the values captured at the last ingest and must not be described as current. `say` is ALWAYS present and is the whole answer as one short spoken line, composed by the gateway with the coverage already inside the claim rather than appended to it: it scopes its superlative to the operators…

ParamètreTypeRequisDescription
available_onlyboolean | nullnonKeep only charge points with a bay reported free right now. Needs the deployment to have a live availability feed; without one the call is refused rather than silently returning nothing.
connectorsarray | nullnonKeep only charge points offering at least one of these connector standards: "type2", "type1", "ccs", "chademo", "tesla", "domestic" or "other". Omitted ⇒ every standard.
costingnonCosting model for the route and detour matrix: "auto" (default), "truck", "bicycle", "pedestrian" or "motor_scooter".
destinationnullnonRoute destination.
geometry_polyline6string | nullnonAn existing route geometry as an encoded polyline6 (the `route` tool's `geometry_polyline6`). Provide either this or `origin` + `destination`, not both.
max_detour_minutesnumber | nullnonLargest acceptable detour in minutes (default 10, at most 120).
max_resultsinteger | nullnonMaximum results (default 5, at most 25).
min_kwnumber | nullnonKeep only charge points whose best connector is rated at least this many kW (e.g. 50 for rapid charging only).
originnullnonRoute origin (with `destination`, when no geometry is given).
trucknullnonTruck profile (dimensions + ADR declaration). Requires costing "truck"; the detours then respect dimensional/ADR restrictions.

cheapest_fuel_along_route

Cheapest fuel along a route

Find the cheapest fuel along a route, with the REAL extra travel time of stopping at each station, never a straight-line guess. Provide `origin` + `destination` (a route is computed) or an existing route's `geometry_polyline6`, plus a `fuel` code ("diesel" default, "petrol_95", "petrol_98", "premium_diesel", "e85", "lpg") and `max_detour_minutes` (default 10). Stations come from the live open-data price feeds (UK retailer feeds of the closed CMA interim scheme and/or the statutory Fuel Finder, FR prix-carburants, DE Tankerkoenig; the response's `fuel_attribution` names the ones actually matched), are priced through the routing engine with your costing (a `truck` profile makes detours respect dimensional/ADR restrictions) and ranked freshest-priced first and cheapest within that. Each result carries price {value, currency, updated_at, stale}, detour_minutes/detour_km, and saving_per_litre vs the cheapest on-route baseline (pass `fill_litres` to also get saving_total). `stale` = not verifiably fresher than 24 h: true unless BOTH the price's own updated_at and the snapshot's fetch time are inside that window, and true whenever either is missing. A stale price is ranked below every fresh one, is never the baseline, and carries NO saving_per_litre, quote it as "last seen at X on ", never as a saving. `say` is ALWAYS present and is the whole answer as one short spoken line, composed by the gateway with the number, the detour and the honest qualifier already in it. Prefer reading i…

ParamètreTypeRequisDescription
costingnonCosting model for the route and detour matrix: "auto" (default), "truck", "bicycle", "pedestrian" or "motor_scooter".
destinationnullnonRoute destination.
fill_litresnumber | nullnonOptional fill size in litres; each result then also carries `saving_total` = `saving_per_litre` × `fill_litres`.
fuelstring | nullnonWhich fuel to price: "diesel" (default), "petrol_95", "petrol_98", "premium_diesel", "e85" or "lpg" (aliases "petrol", "unleaded", "e10", "super_unleaded", "e5", "b7" and "sdv" are accepted).
geometry_polyline6string | nullnonAn existing route geometry as an encoded polyline6 (the `route` tool's `geometry_polyline6`). Provide either this or `origin` + `destination`, not both.
max_detour_minutesnumber | nullnonLargest acceptable detour in minutes (default 10, at most 120).
max_resultsinteger | nullnonMaximum results (default 5, at most 25).
originnullnonRoute origin (with `destination`, when no geometry is given).
trucknullnonTruck profile (dimensions + ADR declaration). Requires costing "truck"; the detours then respect dimensional/ADR restrictions.

check_adr_tunnel

Check an ADR tunnel category

Check whether a vehicle may pass through a tunnel of a given ADR category ("A"–"E"). Provide `hazmat` and, when known, the load's ADR 8.6.4 tunnel restriction code (e.g. "B", "C5000D", "B/D", "none"). Applies the conservative worst-case reading: conditional clauses are assumed to apply, so a blocked answer may over-restrict but never under-restricts. No network access; answers instantly.

ParamètreTypeRequisDescription
hazmatbooleanouiWhether the vehicle carries dangerous goods at all. When false the ADR tunnel matrix does not apply and every tunnel is permitted.
tunnel_categorystringouiADR category of the tunnel to check: "A", "B", "C", "D" or "E".
tunnel_codestring | nullnonADR 8.6.4 tunnel restriction code of the load, e.g. "B", "C5000D", "B/D", or "(-)"/"none". Leave unset for a hazmat load of unknown code (conservatively treated as code B).

check_clearance_on_route

Check clearance along a route

Measure a vehicle's overhead clearance along a route against surveyed point cloud geometry, wherever survey coverage exists. Routes with truck costing (so the search already avoids the height restrictions the map has tagged), then measures that corridor. Give `origin`, `destination` and `height_m`; optional `width_m` asks the corridor-width axis too, and optional `margin_m` adds your operating margin to the vehicle before the verdict. Returns `pass`, `fail`, `indeterminate` or `no_verdict` with the limiting point, the measured headroom, its uncertainty bound (`safe_headroom_m`, `sigma_m`, `sampling_gap_m`) and a link to that exact view in the survey viewer. An `indeterminate` carries `indeterminate_reasons` as codes to branch on and the same reasons as English inside `explanation`; read out the English. A `pass` may carry no limiting point at all, which means the survey found nothing above that corridor, and the width axis may answer `not_assessed` where the corridor edges are too sparsely surveyed while the height axis still answers. Honesty, and it matters here: this measures physical geometry from a dated survey. It is not a signed or posted height, `clearance_enforcement.route_certified` is always false, and the caveat is on every answer including the clear one. Ground the survey did not cover comes back as `not_surveyed_m` and is never judged, so a `pass` is possible over complete coverage and nowhere else; sparse or stale coverage comes back separately as `insufficient…

ParamètreTypeRequisDescription
destinationouiRoute destination.
height_mnumberouiVehicle height in metres. Required: there is no default vehicle, because a default vehicle is how somebody gets an answer about a lorry that is not theirs.
margin_mnumber | nullnonOperating margin in metres, added to the height before the verdict is decided (default 0). Your compliance policy, not ours: the measured figure and the safe bound are both reported whatever you set here, and the margin is echoed back. It is applied to the measurement, not to the routing step, wher…
originouiRoute origin.
width_mnumber | nullnonVehicle width in metres. Supplying it asks the width axis as well as the height axis; the width answer is reported separately and is never a headroom.

check_navigation_progress

Update navigation progress

Send the traveller's current position to a navigation session and learn what to say. Pass `session_id` (from `start_navigation`), `lat`, `lon`, and when known `heading_deg` (clockwise from true north), `speed_mps`, `accuracy_m` and `timestamp` (RFC 3339; defaults to now; fixes must arrive in time order). HOW TO READ THE ANSWER: when `instruction_changed` is true, read `next_instruction` out (prefer its `landmark` phrasing, and its `direction`, "directly ahead, about 310 metres", when a heading was sent); when it is false, say nothing new. `state` is `on_route`, `off_route` (left the line but no reroute yet: a reroute needs 3 off-route fixes over at least 5 seconds, at most one every 10 seconds; `off_route.reroute_skipped` says why one did not happen), `rerouted` (a new route was computed from this position; `route` is present exactly then and `next_instruction` is its first turn), `arrived` (say so, then call `end_navigation`), or `lost_position` (the fix was not used, `fix.reason` says why: low_accuracy over 50 m, implausible_jump, far_from_route, out_of_order or after_arrival). `numbers_current` false means `distance_to_next_m`, `remaining_m`, `remaining_s` and `eta` are still the last accepted fix's, so do not announce them as fresh. `current_instruction` is the turn being made in the 20 m before it, when `next_instruction` already names the one after. Times are the engine's estimates. IF THE SESSION HAS GONE (it ends after 2 hours without a progress call, on `end_navigat…

ParamètreTypeRequisDescription
accuracy_mnumber | nullnonHorizontal accuracy the receiver states, metres. A fix worse than 50 m is not used.
heading_degnumber | nullnonDirection of travel (or facing, on foot), degrees clockwise from true north, 0 to under 360. With it, instructions carry a `direction` phrased from where the traveller is.
latnumberouiLatitude of the fix in decimal degrees (−90 to 90).
lonnumberouiLongitude of the fix in decimal degrees (−180 to 180).
session_idstringouiThe session id `start_navigation` returned.
speed_mpsnumber | nullnonSpeed over ground, metres per second.
timestampstring | nullnonWhen the fix was taken, RFC 3339 (e.g. "2026-11-20T16:04:05Z"). Defaults to now, by this server's clock. Fixes must arrive in time order.

check_style_contrast

Check style contrast

Audit a map style's colour contrast against WCAG 2.1 (4.5:1 for label text, 3:1 for graphics like the route line), across both the light and dark palette variants. Pass a hosted `style_id` OR an inline `theme` document (as accepted by create_style). Advisory: failing pairs list the palette slots to adjust with set_palette; publishing is never blocked on contrast.

ParamètreTypeRequisDescription
style_idstring | nullnonHosted style id whose latest theme should be checked…
themenon…or an inline theme document (as accepted by `create_style`). Exactly one of `style_id`/`theme` must be given.

cluster

Cluster stops

Group stops into balanced geographic clusters, so a day too large for one optimisation can be optimised one cluster at a time. This is the front half of the recipe for a thousand-stop day: cluster here, then call `optimise_routes` per cluster, where the routing engine's own matrix decides the visiting order. IMPORTANT, this is STRAIGHT-LINE clustering. Distances are measured between coordinates, not along the road network: no road, river, motorway junction or one-way system is consulted, and two stops either side of an estuary look adjacent. That makes it the right tool for deciding which stops belong TOGETHER and the wrong one for deciding what ORDER to visit them in. The answer carries a `basis` sentence saying exactly this; show it, so a centroid is never read as a plan. Provide `locations` ([{id, lat, lon, load?}], ids unique, at most 5,000) and EXACTLY ONE of `clusters` (how many groups, balanced by stop count), `max_cluster_locations` or `max_cluster_load` (a per-cluster ceiling the count is derived from). Optional `territories` keep a cluster from straddling a round: each is clustered on its own, and so are the stops inside none of them. Optional `seed` (default 42) drives the seeding, the same request with the same seed always returns the same clusters, on every deployment, so a re-run is a re-run. Returns each cluster's member ids, count, summed load, centroid and territory, plus a `balance` block naming the constraint applied and whether it had to be relaxed to pla…

ParamètreTypeRequisDescription
clustersinteger | nullnonHow many clusters to produce, balanced by stop count. Give exactly one of `clusters`, `max_cluster_locations` or `max_cluster_load`.
locationsarray<any>ouiThe stops to group. Ids must be unique; at most 5,000.
max_cluster_loadnumber | nullnonAt most this much summed `load` per cluster; the cluster count is derived from it. A load ceiling with lumpy loads is a bin-packing problem and may have no solution at the derived count, the response says so rather than pretending.
max_cluster_locationsinteger | nullnonAt most this many stops per cluster; the cluster count is derived from it.
seedinteger | nullnonSeed for the k-means++ seeding (default 42). The same request with the same seed always returns the same clusters, on every deployment.
territoriesarray | nullnonOptional territories. Given, no cluster straddles one: each territory is clustered on its own, and so are the stops inside none of them.

coverage_guidance

Coverage drive guidance

Turn-by-turn guidance for one drive of a finished coverage plan (`submit_optimise_job` with `kind: "coverage"`, read with `get_job`), in one call. Give `job_id` (the coverage job, the caller's own and `succeeded`), `chunk_id` (the outing's `id` in `result.chunks`, from 1) and `drive`: "outing" (default, the outing itself), "transfer" (the drive into that outing from the previous one's end, or from where the car is; `chunk_loops` plans) or "transfer_to_start" (the plan's drive back to its start; no `chunk_id`). The gateway walks every piece of that drive's `trace_route_parts` on the engine's exact edge walk and answers one trip: `legs` has one entry per piece in driving order, each with its maneuvers, plus the whole drive's `distance_m`, `duration_s` and `geometry_polyline6`. Durations include the time the engine charges at each junction where one piece ends and the next begins (on the leg after it), so `duration_s` is the plan's `drive_time_s` for the drive (times the plan's own `time_factor`, which guidance by job id takes from the plan). Pieces join mid-street wherever the plan allowed: a leg's closing arrival and the next leg's opening departure at the same point mean carry straight on, not stop. Exact or nothing: it never falls back to map matching (which drops streets driven in and straight back out), so a piece the engine refuses is an error naming that piece and the engine's own words. Metered by the gateway as one call at the size of a /trace_route of the drive (one…

ParamètreTypeRequisDescription
chunk_idinteger | nullnonThe outing's `id` in the job's `result.chunks` (from 1). Required unless `drive` is `transfer_to_start`.
drivenon`outing` (the default), `transfer` (the drive into that outing) or `transfer_to_start` (the plan's drive back to its start).
job_idstringouiThe coverage job's id, as `submit_optimise_job` (`kind: "coverage"`) returned it. The job must be this key's own (or another key of the same account) and `succeeded`.

create_style

Create a hosted style

Create a hosted map style. Provide a name, optionally a named `base` to start from (light, dark, streets, midnight, navigator-day, navigator-night, fleet, outdoor, dataviz, backdrop, print - call list_style_layers for what each one is for), and optionally a theme document ({base: "light"|"dark", palette: {slot: colour}, layers: {layer_id: overrides}}). The named base is laid down first and the theme document is merged over it, so "streets with darker water" is one call; with neither, the style starts from the default theme. A theme may also set worldview (ISO 3166-1 alpha-2, accepted: AE, KR, SA, US) to display that jurisdiction's official names for a small curated registry of renamed features; omitted, labels keep the OSM on-the-ground names. Returns the generated style_id (pass it to set_palette / set_layer_paint) and the compiled style URL for MapLibre.

ParamètreTypeRequisDescription
basestring | nullnonOptional named base to start from, e.g. "streets", "midnight", "navigator-night", "fleet". Call `list_style_layers` for the catalogue, including which bases expect an overlay of their own. The base's whole document is laid down first and `theme` is merged over it, so a base plus two palette entries…
namestringouiHuman-readable style name; its kebab-case slug seeds the style id.
themenonOptional theme document (palette/layer overrides). Merged over `base` when one is given; on its own, it replaces the default theme outright.

elevation

Sample elevation

Sample terrain elevation. Provide `points` (a bare list of coordinates) for point elevation, or `encoded_polyline` (optionally with `resample_distance_m`) for an along-route profile, not both. Returns one sample per point/resampled point in order; `elevation_m` is null wherever the engine's DEM tile set has no coverage at that point (never a guess). The `encoded_polyline` form also returns each sample's resampled lat/lon and cumulative `range_km` from the start.

ParamètreTypeRequisDescription
encoded_polylinestring | nullnonA route as a Google encoded polyline with six digits of precision. Provide this or `points`, not both.
pointsarray | nullnonPoints to sample. Provide this or `encoded_polyline`, not both.
resample_distance_mnumber | nullnonResamples `encoded_polyline` at this spacing in metres before sampling height (ignored for `points`).

end_navigation

End a navigation session

End a navigation session: on arrival, when the traveller gives up, or before starting another trip. Pass `session_id`. The gateway drops the route and the last position it held. A session that has already gone (idle for 2 hours, ended earlier, or dropped by a gateway restart) answers `ended: true` with a note, not an error. Ending finished sessions matters because each account holds a limited number of live ones. Requires the MapMap gateway (GATEWAY_URL + GATEWAY_API_KEY); see /docs/navigation-sessions.

ParamètreTypeRequisDescription
session_idstringouiThe session id `start_navigation` returned.

events_in_area

Natural events in an area

Earthquakes, volcano alerts and satellite fire detections in a bounding box, for display. Pass `bbox` [west, south, east, north] (WGS84), optional `types` (quake, volcano, fire; default all), `min_magnitude` (quakes, default 2.5) and `limit` (1 to 500, default 100). Earthquakes are USGS, magnitude 2.5 and above, past 24 hours, as reported (magnitudes and locations may be revised). Volcano alerts are USGS-monitored volcanoes ONLY: an absent alert says nothing about volcanoes elsewhere. Fire cells are NASA FIRMS VIIRS detections thinned to 0.5 degree cells: satellite-detected heat, NOT confirmed fires. Each feed carries `status` (ok, stale, unknown): pass a stale or unknown status on, never present old data as current. This is reported data for display, not a warning service and not safety-critical; keep that qualifier when you pass it on. Requires the MapMap gateway. Display the returned `attribution`, and for fire data the FIRMS `acknowledgment` and `disclaimer`.

ParamètreTypeRequisDescription
bboxarray<number>ouiBounding box `[west, south, east, north]`, WGS84 degrees. West must be less than east and south less than north; a box crossing the antimeridian is not supported (query two boxes).
limitinteger | nullnonMost events to return, 1 to 500 (default 100). Newest quakes first, then volcano alerts, then the busiest fire cells.
min_magnitudenumber | nullnonSmallest earthquake magnitude, 2.5 to 9.0 (default 2.5). Quakes only.
typesarray | nullnonWhich feeds to include: any of `quake`, `volcano`, `fire`. Default: all three.

geo_area

Polygon area

Area in square metres enclosed by a ring of 3+ coordinates, computed geodesically. Always positive: the answer does not depend on whether the ring is wound clockwise or anticlockwise. Intended for zones and boundaries, not for polygons covering more than half the globe. Local computation: no network call, no quota.

ParamètreTypeRequisDescription
pointsarray<any>ouiThe coordinates to consider.

geo_bbox

Bounding box

The axis-aligned bounding box enclosing 1+ coordinates, as {min_lat, min_lon, max_lat, max_lon}. Useful for fitting a map view to a set of stops. Local computation: no network call, no quota.

ParamètreTypeRequisDescription
pointsarray<any>ouiThe coordinates to consider.

geo_bearing

Bearing between two points

Initial bearing from one coordinate to another, in degrees clockwise from true north (0-360). This is the bearing at the START of the geodesic; over long distances the bearing changes en route. Local computation: no network call, no quota.

ParamètreTypeRequisDescription
fromouiStart coordinate.
toouiEnd coordinate.

geo_centroid

Centroid

The centroid (geometric mean position) of 1+ coordinates, e.g. to pick a depot location or centre a map. Local computation: no network call, no quota.

ParamètreTypeRequisDescription
pointsarray<any>ouiThe coordinates to consider.

geo_destination

Point at a distance and bearing

The coordinate reached by travelling `distance_m` metres from `from` on `bearing_deg` (degrees clockwise from true north). The inverse of `geo_distance` + `geo_bearing`. Local computation: no network call.

ParamètreTypeRequisDescription
bearing_degnumberouiBearing in degrees clockwise from true north.
distance_mnumberouiDistance to travel in metres.
fromouiStarting coordinate.

geo_distance

Distance between two points

Distance in metres between two coordinates. Computed geodesically on the WGS84 ellipsoid, so it is the straight-line (as-the-crow-flies) distance, NOT a driving distance, use `route` or `matrix` for travel distance and time. Local computation: no network call, no quota.

ParamètreTypeRequisDescription
fromouiStart coordinate.
toouiEnd coordinate.

geo_length

Line length

Total length in metres of a polyline through 2+ coordinates, summed geodesically. This measures the line you supply, NOT a driven route , use `route` for that. Local computation: no network call, no quota.

ParamètreTypeRequisDescription
pointsarray<any>ouiThe coordinates to consider.

geo_nearest_point_on_line

Nearest point on a line

The closest position on a polyline to a given coordinate, plus the geodesic distance to it in metres. The answer may lie between vertices, not only on them. Useful for 'how far is this address from the route?'. Local computation: no network call, no quota.

ParamètreTypeRequisDescription
linearray<any>ouiThe polyline's coordinates, 2 or more.
pointouiThe coordinate to measure from.

geo_point_in_polygon

Point in polygon

Whether a coordinate lies inside a polygon: delivery zones, catchments, congestion or clean-air zones, site boundaries. Provide `point` {lat, lon} and `polygon` as 3+ {lat, lon} coordinates of the outer ring (closed automatically if the last does not repeat the first). Points exactly on the boundary count as OUTSIDE. Local computation: no network call, no quota.

ParamètreTypeRequisDescription
pointouiThe coordinate to test.
polygonarray<any>ouiThe polygon's outer ring, 3 or more coordinates. Closed automatically if the last point does not repeat the first.

geo_simplify

Simplify a line

Reduce the number of coordinates in a polyline while keeping its shape (Douglas-Peucker). `tolerance_deg` is in DEGREES, not metres: about 0.0001 drops detail finer than roughly 10 m at the equator. Endpoints are always kept. Returns the retained points and how many were removed. Local computation: no network call, no quota.

ParamètreTypeRequisDescription
pointsarray<any>ouiThe polyline's coordinates, 2 or more.
tolerance_degnumberouiDouglas-Peucker tolerance in **degrees**, not metres. Around 0.0001 drops detail finer than roughly 10 m at the equator.

geocode

Geocode a place

Turn a place (address, POI, town) into coordinates. Ask two ways, and they combine: `query` is free text, one run-together string, the way a person types into a search box, and `street`, `housenumber`, `city`, `postcode` and `country` name the parts of an address separately. At least one of the two is required. Pass the parts whenever you already hold the address in parts (a form, a CRM row, a manifest): components are REQUIREMENTS, not hints, so `city: "London"` means a result outside London cannot come back at all, where "London" inside `query` only reorders. `country` takes an ISO 3166-1 alpha-2 code or a country name ("GB", "United Kingdom"); a value naming no country is refused rather than silently matching nothing. Returns up to `limit` (default 10) candidates with name, one-line label, lat/lon, type and address parts. Pass `focus` {lat, lon} to rank results near a location higher. A bare city or town name (no comma) lists that city's airports and main railway stations directly behind it, ahead of namesakes elsewhere. Each hit also carries `match`: a per-component matched/inferred/unmatched verdict, the `score_gap` to the runner-up, and which backend answered. READ IT before acting on an address, an unmatched or inferred postcode on the top hit means the answer does not carry the address you asked for, and a small `score_gap` means the ranking barely chose, so show the alternatives instead of picking one. Use `verify_places` when the address came from a model or a user…

ParamètreTypeRequisDescription
citystring | nullnonStructured component: town or city, e.g. "London". Matches the containing city as well as the immediate locality, so a suburb name works here too.
countrystring | nullnonStructured component: ISO 3166-1 alpha-2 code or country name, "GB", "gb", "United Kingdom" and "UK" all mean the same country. A value naming no country is refused rather than quietly applied as a filter that matches nothing.
focusnullnonOptional location bias: results near this point rank higher.
housenumberstring | nullnonStructured component: house number, e.g. "10" or "221B". Only meaningful alongside `street`, a house number on its own excludes nearly everything and identifies nothing.
include_entrancesboolean | nullnonAlso return each place's `id` and its doors (`entrances`) as mapped in OpenStreetMap and tied to the place on evidence (default false). None is estimated today, and an empty list means no door is tied to the place, not that it has none. Needs the MapMap gateway.
langstring | nullnonLanguage of the place names to match and return, as a two-letter code. Defaults to "en", which is what makes English exonyms ("Munich", "Cologne", "Geneva") resolve to the place meant rather than a same-named town elsewhere. Set it to the language your query is written in; "default" asks for each p…
limitinteger | nullnonMaximum number of results (default 10): 1–10 on the hosted MapMap server, 1–50 on a self-hosted server that calls Photon directly.
postcodestring | nullnonStructured component: postcode in any spacing or case, "SW1A 2AA" and "sw1a2aa" are one query. A bare UK outward code ("SW1A") selects the whole district.
querystring | nullnonFree-text place query, e.g. "Dover ferry terminal". Required unless at least one structured component is supplied.
streetstring | nullnonStructured component: street name, e.g. "Downing Street". Matches the street of addresses and POIs (transliterated street names included) as well as the street itself.

get_job

Read an async job

Read an asynchronous job submitted with `submit_optimise_job`: its status, and once it has finished, its result inline, exactly the body the synchronous tool would have returned. Status is `queued`, `running`, `succeeded` or `failed`; the answer's `terminal` field says whether the job will ever leave the status it is in, so poll while that is false. POLLING IS FREE: the gateway meters the submission and not the reads, deliberately, because a poll that costs quota is a poll a caller rations, and a rationed poll is how a job that finished in ten seconds gets noticed four minutes later. Check every few seconds rather than guessing at a duration. `units_charged` is what the SUBMISSION drew, and `refunded` says whether a failure handed it back, a failed job shows both, because reporting zero would be a lie about what was charged. Webhooks are the alternative to polling and exist for humans wiring infrastructure, not for agents in a loop. A job belongs to the key that submitted it (or another key of the same identity); anyone else's id answers NOT FOUND rather than forbidden, because confirming an id exists is itself a disclosure. Requires the MapMap gateway.

ParamètreTypeRequisDescription
idstringouiThe job id returned by `submit_optimise_job`.

get_style

Get a hosted style

Fetch a hosted style's latest theme document (the editable source) and the URL of its latest compiled MapLibre style. Use the theme to inspect current palette and layer overrides before editing.

ParamètreTypeRequisDescription
style_idstringouiHosted style id, e.g. "midnight-fleet-a1b2c3".

get_usage

Check your API usage

Check what your own API key has spent, so you can decide mid-task whether to keep going. Reading it is free: it costs no quota. Optional `from` and `to` (YYYY-MM-DD UTC, inclusive, at most 92 days apart) bound the report; omitted, it covers the current month to date. Returns `days` (per-day, per-endpoint), `totals` per endpoint over the range, `total_units`, plus `month_used_units` against `monthly_quota_units` and the prepaid `balance_millipence` (thousandths of a penny). Everything is counted in UNITS, weighted quota units, where a heavier endpoint costs more than one unit per request, so never report these figures as a number of calls. When `identity_pooled` is true the quota is shared with the other keys belonging to the same owner, so these figures are not yours alone. The key that authenticates the call is the key reported on: there is no way to read another caller's usage. On the hosted endpoint, connect with your own key (a bearer `snk_` key or OAuth sign-in): an anonymous connection is refused rather than shown the server operator's usage. Needs the MapMap gateway (GATEWAY_URL + GATEWAY_API_KEY).

ParamètreTypeRequisDescription
fromstring | nullnonFirst day to report, `YYYY-MM-DD` (UTC) inclusive. Defaults to the first day of the current month. At most 92 days may separate `from` and `to`.
tostring | nullnonLast day to report, `YYYY-MM-DD` (UTC) inclusive. Defaults to today.

heritage_narration

Heritage lines along a route

Three to five short spoken lines an hour about the ground a route is on: one sentence, at the point the driver reaches the thing it is about, and then silence. Not a tour and not a chatbot. NOTHING IS GENERATED HERE: every line is a sentence a person wrote from a public-domain plaque inscription and a person reviewed, compiled into the gateway binary, so no model runs in this path and the lines are identical for every driver. Give `geometry_polyline6` from the `route` tool and, IMPORTANT, `duration_s` from the same answer: without it the silence budget falls back to a distance, and "four lines an hour" is a claim about time that a distance answers wrongly at both ends. Optional `min_gap_s`, `min_gap_m`, `max_offset_m` (default 60, hard ceiling 80), `max_lines` and `voice_format` ("opus" or "m4a", which adds each line's audio cache key and URL and NEVER synthesises). COVERAGE IS ONE CORRIDOR, deliberately: the Chelsea riverside, 18 reviewed lines over 5 km. EVERY OTHER ROUTE ANSWERS WITH NO LINES, and that is a correct answer rather than a failure. ALWAYS READ THE CENSUS, which is the record of WHAT WAS NOT SAID: no lines with every entry in `beyond_reach` means this feature does not cover the journey; no lines with entries in `silenced_by_budget` means the corridor is covered and the budget is holding them back. They are different answers and must never be relayed the same way. On the reference route the census reports 1 spoken and 17 silenced, which is the design working, n…

ParamètreTypeRequisDescription
duration_snumber | nullnonThat route's own duration, seconds: `duration_s` from the same answer. **Supply it.** Without it the silence budget falls back to a distance, and "three to five lines an hour" is a claim about time that a distance answers wrongly at both ends.
geometry_polyline6stringouiThe route shape, precision-6 encoded: `geometry_polyline6` straight out of the `route` tool's answer.
max_linesinteger | nullnonCeiling on how many lines come back, 1 to 50 (default 12).
max_offset_mnumber | nullnonHow near a plaque must come to the route before its line may be spoken, metres (default 60, hard ceiling 80).
min_gap_mnumber | nullnonLeast distance between two lines, metres (default 400). A floor under the time budget in every case.
min_gap_snumber | nullnonLeast time between two lines, seconds (default 900, which is four an hour). Applied only with `duration_s`.
voice_formatstring | nullnonContainer to address each line's audio clip in: `opus` or `m4a`. Given, every line gains a `clip` with its synthesis cache key and URL. It NEVER synthesises: the key is a pure function of the sentence, so asking here buys nothing.

list_place_categories

List place categories

List the canonical place categories you can pass as `category` to `nearby_places` and `search_along_route` (and browse on with `geocode`). Each entry is a `category` token (the exact value to send, e.g. "fuel", "charging_station", "hgv_parking"), the `aliases` that colloquially name it ("petrol station", "EV charger", "lorry park"), and a one-line `description` of what it covers. Read this before guessing a category: a token that is not on this list matches nothing, and quietly returns an empty result rather than an error. Cuisines, brands and names are NOT categories, search those as free text. Sorted by category and identical on every call. Local lookup, no network, no quota.

Aucun paramètre.

list_style_layers

List style bases and layers

List everything a MapMap style theme can style: the first-party named bases a style can start from (pass one as `create_style`'s `base`, or as the static-map API's `style=`), the named palette slots with their light/dark default colours, the skeleton layer ids (paint order) that `set_layer_paint` and `set_layer_layout` accept, what the less obvious layers draw (the footpath layers `road-path` and `road-path-*` for footways, cycleways, steps, bridleways, pedestrian streets and tracks, pedestrian squares `pedestrian-areas`) and the slot that colours each, the OpenMapTiles source-layers extra layers may reference, the insertion slots (`bottom`, `middle`, `top`) an extra layer may name, and the rules for a theme's own `sources` (your data by https URL). Attribution is enforced on every compiled style and cannot be themed away. Local lookup, no network; always works.

Aucun paramètre.

match_trace

Match a GPS trace to roads

Snap a recorded GPS trace to the road network and say what it actually travelled over. Provide `shape` (2 to 2000 recorded points, oldest first) or `encoded_polyline` (the same trace as a polyline6 string) (not both) plus the `costing` it was travelled under: "auto" (default), "truck", "bicycle", "pedestrian" or "motor_scooter". Costing decides which roads the trace may match onto, so a walk matched as "auto" snaps to the carriageway rather than the footpath. Returns the matched path as `geometry_polyline6` (the snapped roads, not your raw points) with its `distance_m` and `duration_s`, then the roll-ups: `by_road_class` and `by_admin` (distance and time, longest first), `by_surface` (distance), and `toll`, `bridge` and `tunnel` totals. This is how you turn a dashcam or telematics log into a report, which country and region the driving happened in, how much of it was motorway, how much was tolled, how much was unpaved. Honesty: the roll-ups are summed per matched road segment, so they need not add up to `distance_m` exactly, and segments the map records no surface or admin area for are left out of that breakdown rather than filed under a guess, an entry in `by_admin` with null codes is exactly that, counted and not attributed. Needs the MapMap gateway (GATEWAY_URL + GATEWAY_API_KEY); there is no direct-backend fallback.

ParamètreTypeRequisDescription
costingnullnonCosting model the trace was travelled under: `auto` (default), `truck`, `bicycle`, `pedestrian` or `motor_scooter`. It decides which roads the trace may be matched onto, so a walked trace matched as `auto` snaps to the carriageway rather than the path.
encoded_polylinestring | nullnonThe trace as a Google encoded polyline with six digits of decimal precision (polyline6), the geometry `route` and `match_trace` themselves return. Provide this or `shape`.
shapearray | nullnonThe trace as an ordered list of recorded points, oldest first. Between 2 and 2000 points. Provide this or `encoded_polyline`.

matrix

Travel time matrix

Compute a travel time/distance matrix between origins (rows) and destinations (columns). Costing "auto", "truck" (with optional `truck` profile as in `route`), "bicycle", "pedestrian" or "motor_scooter". Returns durations_s[i][j] in seconds and distances_m[i][j] in metres; null cells are unreachable pairs. Up to 10,000 cells per call (origins × destinations). Optional `exclude_polygons` for before/after scenarios ("close this bridge and recompute the matrix"): an array of polygons, each an array of [lon, lat] pairs forming one ring (longitude FIRST) whose intersecting roads are excluded from every cell's path finding. Applies to the Valhalla engine; unsupported on the GraphHopper engine, where it is ignored.

ParamètreTypeRequisDescription
costingnonCosting model: "auto" (default), "truck", "bicycle", "pedestrian" or "motor_scooter".
destinationsarray<any>ouiDestination locations (matrix columns).
exclude_polygonsarray | nullnonAreas to avoid, scenario analysis ("close this bridge and recompute the matrix"): an array of polygons, each an array of `[lon, lat]` pairs forming one exterior ring (GeoJSON-style, longitude FIRST). Roads intersecting any ring are excluded from every cell's path finding; a pair no path joins witho…
originsarray<any>ouiOrigin locations (matrix rows).
trucknullnonTruck profile (dimensions + ADR declaration). Requires costing "truck".

nearby_places

Nearby places

Find places near a point, nearest first with distance in metres, by category (cafes, fuel, EV charging, parking), by name or brand ("the nearest Lloyds bank", "nearest Sainsbury's"), or both. Use this instead of geocode whenever the question is about what is NEAR a location: geocode ranks a brand's branches everywhere and only biases by proximity, so it will happily return a Lloyds in another city over the one 100 m away. Provide `lat`, `lon` and at least one of `category` or `name`. `category` is matched against the map's lowercased OSM tag values (amenity/shop/tourism/…), e.g. "cafe", "fuel", "charging_station", "parking", "pharmacy", "supermarket", "hotel", "restaurant", "fast_food", "atm", "bakery", "hospital", "station"; common colloquial names are normalised ("coffee" -> cafe, "ev_charging" -> charging_station, "petrol" -> fuel, "chemist" -> pharmacy). `name` matches the place's name or alternative names word by word, case- and accent-insensitively, with the last word also matching as a prefix. Combine the two to disambiguate a brand, "Lloyds" plus "bank" excludes Lloyds Pharmacy. A category or name the map does not carry returns an empty list, never an error. Optional `radius_m` (default 2500, max 100000) bounds the straight-line search distance and `limit` (default 5, max 10) the result count. Each result has name, one-line label, lat/lon, address parts, distance_m, categories and a `details` object of display tags (opening_hours, website, phone, ...) when the map ca…

ParamètreTypeRequisDescription
categorystring | nullnonThe kind of place to find. The gateway matches it against the index's lowercased OSM tag values (the value of the POI's `amenity`/`shop`/`tourism`/`railway`/… tag), e.g. "cafe", "fuel", "charging_station", "parking", "pharmacy", "supermarket", "hotel", "restaurant", "fast_food", "atm", "bakery", "h…
fov_degnumber | nullnonField of view: the full width in degrees of a cone centred on `heading_deg`, outside which results are dropped, it is the FULL width, so 90 keeps only what lies within 45 degrees either side of dead ahead. Needs `heading_deg`, a cone has to point somewhere. The count of results removed is reported…
heading_degnumber | nullnonWhich way the user is facing, in degrees **clockwise from true north** (0 = north, 90 = east, 180 = south, 270 = west). Supply it and every result is also described from the user's point of view ("just ahead on your right"); omit it and results fall back to cardinal directions ("to the north-east")…
include_entrancesboolean | nullnonAlso return each place's `id` and its doors (`entrances`) as mapped in OpenStreetMap and tied to the place on evidence (default false). None is estimated today, and an empty list means no door is tied to the place, not that it has none. Needs the MapMap gateway.
latnumberouiLatitude of the search point in decimal degrees (−90 to 90).
limitinteger | nullnonMaximum number of results (1–10, default 5).
lonnumberouiLongitude of the search point in decimal degrees (−180 to 180).
namestring | nullnonThe name or brand of the place to find, "Lloyds", "Lloyds Bank", "Sainsbury's", for "where is the nearest X" questions. Every word must appear in the place's name or one of its alternative names, case- and accent-insensitively, with the last word also matching as a prefix ("Sains" finds Sainsbury's…
radius_minteger | nullnonMaximum straight-line distance of any result from the point, in metres (1–100000, default 2500).

nearby_stops

Nearby bus stops

England bus and coach stops near a point, nearest first. Pass `lat` and `lon` (WGS84), optional `radius_m` (1 to 2,000, default 500) and `limit` (1 to 50, default 10). Each stop carries its NaPTAN ATCO code `id` (pass it to `next_departures`), `name`, `indicator` (e.g. "Stop S"), `locality`, position, `distance_m` and `bearing_deg` from the point, and `lines`, the line names the Bus Open Data timetables have calling there. Bus and coach only: rail, tram, metro and ferry stops are not included, and coverage is England (plus stops just across a border that an England service calls at). Display data, never a journey plan: pass on the returned `label` and `coverage`. Requires the MapMap gateway; a deployment without the stops index answers a clear error. Display the returned `attribution` (NaPTAN and BODS, Open Government Licence v3.0).

ParamètreTypeRequisDescription
latnumberouiLatitude of the point, WGS84 degrees.
limitinteger | nullnonMost stops to return, 1 to 50 (default 10), nearest first.
lonnumberouiLongitude of the point, WGS84 degrees.
radius_minteger | nullnonSearch radius in metres, 1 to 2,000 (default 500).

next_departures

Next bus departures

Timetabled bus departures at one stop, from the Bus Open Data (BODS) timetables. Pass `stop` (the NaPTAN ATCO code `nearby_stops` returns), optional `at` (RFC 3339, default now; the index holds three service days from today), `window_minutes` (1 to 180, default 60) and `limit` (1 to 30, default 8). Each departure carries `line`, `destination`, `operator`, `scheduled_at` (local time) and `trip`, plus `live` when a vehicle on that line was seen in the live positions within 3 km and heading towards the stop (`vehicle`, `distance_m`, `age_s`). These are TIMETABLE times: `basis` is always "timetable", and a live entry is an observation, never an arrival time or a delay. MapMap does not predict arrivals: never present `scheduled_at` or `live` as one, and pass on the returned `label` and `coverage` verbatim. Requires the MapMap gateway; a deployment without the departures index answers a clear error. Display the returned `attribution` (NaPTAN and BODS, Open Government Licence v3.0).

ParamètreTypeRequisDescription
atstring | nullnonStart of the window, RFC 3339 (e.g. "2026-10-12T08:00:00+01:00"); default now. The index holds three service days from today.
limitinteger | nullnonMost departures to return, 1 to 30 (default 8).
stopstringouiThe stop's NaPTAN ATCO code, as `nearby_stops` returns it.
window_minutesinteger | nullnonWindow length, 1 to 180 minutes (default 60).

optimise_routes

Optimise fleet routes

Optimise multi-vehicle, multi-stop delivery plans (VRP). Provide `vehicles` (id, start/end, capacity, skills, time_window), `jobs` (id, location, service_s, delivery/pickup, skills, time_windows) and/or `shipments` (pickup+delivery pairs that ride the same vehicle). Costing "auto", "truck", "bicycle", "pedestrian" or "motor_scooter" (cargo-bike and courier fleets welcome): with a `truck` profile (dimensions + ADR declaration, as in `route`), the travel-time matrix respects dimensional and dangerous-goods restrictions, so every optimised route is truck-legal. Returns a summary, unassigned tasks and per-vehicle routes with ordered steps (arrival_s/duration_s in seconds, distance_m in metres). Fair use: at most 200 unique locations per problem, and no wider than the routing engine's matrix span (1,500 km on the hosted endpoint for motor costings, 400 km stock on a self-host). Past that, cluster the stops with `cluster` and optimise each group, or submit the whole problem to the asynchronous lane with `submit_optimise_job` (2,000 locations). Optional `territories` are named polygons ([{id, polygon}], GeoJSON [lon, lat] rings, LONGITUDE FIRST) that bound who serves what: a vehicle listing `territory_ids` may serve a task only if that task sits inside at least one of the territories it names, while a vehicle listing none is unrestricted and may serve anything, inside a round or outside every one. The response's `territories` block says which vehicle was eligible for what and names…

ParamètreTypeRequisDescription
avoid_zonesboolean | nullnonKeep the optimisation's travel-time matrix out of every zone the declared vehicle would be charged or banned in. Requires `emissions`.
costingnonCosting model for the travel-time matrix: "auto" (default), "truck", "bicycle", "pedestrian" or "motor_scooter".
emissionsnullnonThe fleet's emission declaration, for UK clean-air / low-emission zone assessment. On its own it annotates: the response's `zones` block names every zone containing one of the problem's own locations and what this vehicle would pay there. With `avoid_zones` it also steers the internal travel-time m…
jobsarray<any>nonSingle-stop jobs (at least one job or shipment overall).
relax_if_unassignednullnonRe-solve ONCE with these relaxations if the first solve leaves work unassigned, and say honestly which plan came back. At most one second solve, never beyond the caps you state, and the relaxed plan is returned only if it assigns MORE work than the first, giving away constraints for nothing is stri…
shipmentsarray<any>nonPickup+delivery pairs.
territoriesarray | nullnonFleet territories: named polygons that bound which vehicle may serve which stop, referenced by `vehicles[].territory_ids`. These are request data, caller-drawn rounds, validated per call and never stored. Nothing to do with clean-air zones or with the offline map packages of the same word.
trucknullnonTruck profile (dimensions + ADR declaration). Requires costing "truck"; the travel-time matrix then respects dimensional and dangerous-goods restrictions, so the whole plan is truck-legal.
vehiclesarray<any>ouiThe fleet (at least one vehicle, each with a start and/or end).

order_stops

Order stops

Put a single run's stops in the best visiting order ("order my errands"). Provide `start` {lat, lon} and `stops` (1-100 entries of {location, label?, service_s?}); optionally an `end` destination or `round_trip`: true to return to the start. Costing "auto" = car, "truck" = lorry (pass `truck` as in `route` for a truck-legal order). Returns the stops in visit order with arrival offsets in seconds, plus total duration and distance.

ParamètreTypeRequisDescription
costingnonCosting model: "auto" (default) or "truck".
endnullnonOptional fixed final destination. Mutually exclusive with `round_trip`; omitted (and not a round trip), the run ends at whichever stop the solver visits last.
round_tripbooleannonReturn to `start` after the last stop (default false).
startouiWhere the run starts.
stopsarray<any>ouiThe stops to put in the best visiting order (1–100).
trucknullnonTruck profile (dimensions + ADR declaration); requires costing "truck". The travel-time matrix then respects dimensional and dangerous-goods restrictions.

place_entrances

Entrances of a place

The doors of one place, as mapped in OpenStreetMap and tied to the place on evidence. Pass `place_id`, the `id` that `geocode`, `nearby_places` or `places_in_view` return with `include_entrances: true` (e.g. "osm:w123:poi"). Each entrance carries `lon`/`lat`, `kind` (the OpenStreetMap `entrance=*` value: main, yes, entry, service, staircase, emergency, exit, home, garage or other), `wheelchair`, `access`, `door`, `level`, `ref` and `name` as mapped, `osm_id`, `source`, `confidence` (high, medium or low, grading how sure the TIE between door and place is) and `basis` (own_outline, stop_area, address_match or sole_occupant: what tied them). Every door is OpenStreetMap-mapped (`source: osm`); none is estimated today. An EMPTY LIST MEANS NO DOOR IS TIED TO THE PLACE, NOT THAT IT HAS NONE: most places have no entrance mapped, and a door in a building several places share is tied to none of them unless its address says which, so never tell a user a place has no entrance. `note` says why a list is empty and `label` says all this for relaying. A missing `wheelchair` tag is unknown, not step-free. To route to a door, pass the place to `route` as `arrive_at`. Unknown ids are an error; a deployment without an entrance index answers that it has none. Requires the MapMap gateway (GATEWAY_URL + GATEWAY_API_KEY); see /docs/entrances.

ParamètreTypeRequisDescription
place_idstringouiA place id exactly as a place result reports it, e.g. `osm:w123:poi`: the `id` that `geocode`, `nearby_places` and `places_in_view` return when called with `include_entrances: true`.

places_in_view

Places in view

What is over THERE: given a position and the direction the user is facing, the places inside that cone, and whether the ground and the buildings in between let them actually be seen. Use this for "what is that over there", "is there a pub in that direction", "what am I looking at". Use `nearby_places` instead when the question is about what is NEAR a point rather than what is in a direction. Provide `lat`, `lon`, `bearing_deg` (degrees CLOCKWISE FROM TRUE NORTH: 0 north, 90 east, 180 south, 270 west) and at least one of `category` or `name`; `category=building` reaches named buildings. Optional `fov_deg` is the FULL width of the cone (default 60, so 30 degrees either side), `radius_m` the range (default 1000, max 5000), `eye_height_m` the observer's eye height (default 1.6). Each result carries `distance_m`, `bearing_deg`, a signed `angular_offset_deg` (negative left, positive right), a spoken `direction`, and a `visibility` block. READ THE VISIBILITY BLOCK BEFORE SAYING ANYTHING: `clear` means nothing in the data stands in the way, `occluded` names what does (a hill, or a building with its height), and `unknown` means NO check could run: with `unknown` say you cannot tell, never that it is visible. Read `basis` too: `terrain-only` in a town means hills were checked and buildings were not, which is weak. A non-zero `out_of_sector` means there ARE matching places nearby, just not in that direction, so say that rather than "nothing nearby". `coverage` names the datasets that a…

ParamètreTypeRequisDescription
bearing_degnumberouiWhich way the observer is facing, in degrees **clockwise from true north** (0 = north, 90 = east, 180 = south, 270 = west). Required: this tool answers "what is over there", and "there" has to point somewhere.
categorystring | nullnonThe kind of place to look for, from the same vocabulary `nearby_places` uses ("cafe", "pub", "fuel", "charging_station" …). Use "building" to ask what a named building over there is. At least one of `category` and `name` is required.
eye_height_mnumber | nullnonHeight of the observer's eye above the ground in metres (0–500, default 1.6, a standing adult). A driver's eye is nearer 1.2 m.
fov_degnumber | nullnonFull width in degrees of the cone centred on `bearing_deg` (1–360, default 60, so 30 degrees either side). The FULL width, not the half angle.
include_entrancesboolean | nullnonAlso return each place's `id` and its doors (`entrances`) as mapped in OpenStreetMap and tied to the place on evidence (default false). None is estimated today, and an empty list means no door is tied to the place, not that it has none. Needs the MapMap gateway.
latnumberouiLatitude of the observer in decimal degrees (−90 to 90).
limitinteger | nullnonMaximum number of results (1–25, default 5).
lonnumberouiLongitude of the observer in decimal degrees (−180 to 180).
namestring | nullnonA place name or brand to look for. At least one of `category` and `name` is required.
radius_minteger | nullnonMaximum straight-line range in metres (1–5000, default 1000).
visible_onlyboolean | nullnonWhen true, return only places whose visibility verdict is `clear`. Default false, which returns everything in the cone WITH its verdict, usually the better answer, because "it is there but you cannot see it from here" is worth saying.

plan_day

Plan a multi-stop day

Turn an itinerary into one navigable multi-stop route. Provide a `start` and `stops` (each a `location` {lat, lon} or a free-text `name` to geocode, plus optional `dwell_minutes` time at the stop), optional `depart_at` (RFC 3339) for absolute ETAs, `optimise: true` to reorder stops for the shortest day (VROOM solver), and `return_to_start`. Costing "auto", "truck" (with a `truck` profile the whole day respects dimensional/ADR restrictions), "bicycle", "pedestrian" or "motor_scooter". Returns the stops in visit order with per-leg duration/distance and arrival/departure times, totals, and the full route geometry (polyline6). Geocoded names carry a `resolution`, when `ambiguous` is true, check `alternatives` and re-run with an explicit location rather than trusting the guess. Returns `view_url`, a mapmap.ai link that draws the answer on a map (no key needed); the link carries the stop coordinates and names.

ParamètreTypeRequisDescription
costingnonCosting model: "auto" (default), "truck", "bicycle", "pedestrian" or "motor_scooter".
depart_atstring | nullnonDeparture time as RFC 3339 (e.g. "2026-07-18T09:00:00Z"); when given, every ETA is also returned as an absolute timestamp.
optimisebooleannonReorder the stops for the shortest day (VROOM solver; requires the optimisation sidecar). Default false: visit in the given order.
return_to_startbooleannonEnd the day back at the start (default false).
startouiWhere the day starts (name or location; `dwell_minutes` ignored).
stopsarray<any>ouiThe stops to visit (1–20). Visited in the given order unless `optimise` is true.
trucknullnonTruck profile (dimensions + ADR declaration). Requires costing "truck".

plan_errands

Plan errands against a deadline

Order a handful of errands against a hard arrival time, and say honestly whether they fit. This is the "pick up a prescription, get petrol, and be at the school by quarter past three" tool. Give `origin`, `destination` (+ `destination_name`), `arrive_by` (RFC 3339 with an offset: convert "quarter past three" yourself), optional `depart_at`, and 1 to 5 `errands`. Each errand is EITHER a `category` (a kind of place: "pharmacy", "fuel", "supermarket", or a colloquial phrase the server normalises; use `list_place_categories` for the vocabulary) OR a `place` {lat, lon} the driver already knows ("the school", "the nursery"). Resolve a named place with `geocode` first and pass the coordinate: never invent one. Optional `dwell_minutes` per errand (default 5). The server chooses the order and the actual shops, exhaustively, over engine-computed travel times -- do NOT attempt the ordering or the arithmetic yourself. IMPORTANT: `feasible: false` is an ANSWER, not an error to retry. It names the errand that costs the most (`blocking_errand`), says how late the whole chain would be (`over_by_s`), and returns the stops of the chain that DOES fit with `dropped` naming what had to go. Tell the driver what to drop. Every stop is a real indexed place carrying its id: never mention a shop the answer did not return. `hours` is "open_on_the_tag" (the map's tag covers your arrival, which is evidence and not a promise) or "unknown" (most places carry no hours at all); a place the tag proves shut i…

ParamètreTypeRequisDescription
arrive_bystringouiThe hard arrival time, RFC 3339 with an offset ("2026-09-21T15:15:00+01:00"). Convert "quarter past three" to an absolute instant in the driver's own offset before calling.
depart_atstring | nullnonWhen they set off, RFC 3339. Defaults to now.
destinationouiWhere they have to be by `arrive_by`.
destination_namestring | nullnonWhat to call the destination in the answer ("the school").
errandsarray<any>ouiThe errands, in any order: the answer decides the order. One to five.
max_detour_minutesnumber | nullnonHow far off the direct route a candidate place may sit, as a detour in minutes (default 12, at most 45).
originouiWhere the driver sets off from.

plan_ev_route

Plan an EV journey

Plan a whole electric-vehicle journey, charge stops included. Give `origin` and `destination` (plus optional `waypoints`) and a `vehicle`, a published profile ("small_hatch", "saloon", "suv", "van") and/or inline figures (battery_kwh, mass_kg, drag_area_m2, aux_kw, connectors), with `start_soc` (default 0.9), `min_arrival_soc` (default 0.1), `reserve_soc` (default 0.1, the floor the charge must never drop below mid-route), optional `connectors` and `min_kw` filters and `ambient_temperature_c`. Energy comes from a published road-load physics model over the route's own legs; charge times are integrated over the vehicle's charging curve capped by the charge point, NOT energy divided by peak power, which is the single biggest error in naive EV planners. Returns the stops with arrive/depart state of charge, charge time and detour, a per-leg state-of-charge trace, and the journey's driving and charging time. IMPORTANT: when no plan exists, a charger desert, a connector mismatch, a gap wider than the car's range, the answer comes back with `feasible: false`, a `reason` and the furthest point on the route the car can actually reach. That is an ANSWER, not an error to retry: report the reason and never describe it as a plan. `gradient_data` says whether elevation was available: "absent" means consumption was modelled on the flat and under-reads a hilly route. There is no national charge-point registry, so ALWAYS show the returned `coverage_note`, an infeasible plan means "none from t…

ParamètreTypeRequisDescription
ambient_temperature_cnumber | nullnonAmbient temperature in °C. Derates traction energy from a published study; cabin heating belongs in the vehicle's `aux_kw`.
connectorsarray | nullnonKeep only charge points offering at least one of these connector standards: "type2", "type1", "ccs", "chademo", "tesla", "domestic", "other". This narrows the vehicle's own set, never widens it.
destinationouiWhere it ends.
max_detour_minutesnumber | nullnonHow far off the route a charge point may sit, as a detour in minutes (default 15, at most 120).
min_arrival_socnumber | nullnonLowest acceptable state of charge on arrival (default 0.1).
min_kwnumber | nullnonKeep only charge points with a usable connector rated at least this many kW (e.g. 50 for rapid charging only).
originouiWhere the journey starts.
reserve_socnumber | nullnonThe floor the state of charge must never fall below mid-route (default 0.1). Distinct from the arrival figure.
start_socnumber | nullnonState of charge at the start, 0–1 (default 0.9).
vehiclenullnonThe vehicle. Omitted ⇒ the published "saloon" default, and the answer says which vehicle it used.
waypointsarray | nullnonIntermediate points the route must pass through, in order (at most 8). Charge stops are inserted around them.

reachable_area

Reachable area

Compute the area reachable from an origin within one or more travel-time budgets, walkability/cyclability rings. Costing "pedestrian" answers "how far can I walk in 15 minutes?", "bicycle" the cycling equivalent; "auto", "truck" and "motor_scooter" work too (e.g. delivery coverage). `contours_minutes` lists the ring boundaries in minutes (1 to 4 values, each up to 120); set `polygons` true for filled polygons ready to render as a map fill layer instead of contour lines. Returns a GeoJSON FeatureCollection, one feature per contour. The origin is first moved onto the nearest road the travel mode can use (ferries excluded, at most 5 km away) and the rings are drawn from there: `snapped_origin` {lat, lon, distance_m} on the collection and on every feature's properties says where. An origin with no road within 5 km (open sea, desert, an unmapped area) is refused with "no roads near this point" rather than answered with a speck, and that refusal is not billed; move it onto land near a road. Optional `exclude_polygons` for before/after scenarios ("close this bridge and recompute reachability"): an array of polygons, each an array of [lon, lat] pairs forming one ring, longitude FIRST, whose intersecting roads are excluded from the reachability search. Applies to the Valhalla engine; unsupported on the GraphHopper engine, where it is ignored.

ParamètreTypeRequisDescription
contours_minutesarray<number>ouiContour boundaries in minutes of travel time, e.g. [5, 10, 15] for 5/10/15-minute rings. 1 to 4 values (the routing engine's limit), each between 0 and 120 minutes.
costingnonTravel mode: "auto" (default), "truck", "bicycle", "pedestrian" or "motor_scooter".
exclude_polygonsarray | nullnonAreas to avoid, scenario analysis ("close this bridge and recompute reachability"): an array of polygons, each an array of `[lon, lat]` pairs forming one exterior ring (GeoJSON-style, longitude FIRST). Roads intersecting any ring are excluded from the reachability search. Applies to the Valhalla en…
originouiOrigin the reachable area is computed from.
polygonsboolean | nullnonReturn filled polygons instead of contour linestrings (default false). Polygons draw directly as a MapLibre fill layer.

replan_routes

Re-plan a fleet mid-shift

Re-plan a fleet part-way through its shift. Send the day back; nothing is stored. MapMap holds NO dispatch state, no plan, no vehicle position, no completion log, so a re-plan is not a delta against something we remember: you pass the day's `optimise_routes` problem in full, plus `progress` (per vehicle: `completed_stop_ids` IN THE ORDER SERVED, an optional `current_position`, and `unavailable: true` for a breakdown or an end of hours) and/or `changes` (`cancel_job_ids`, `add_jobs`, `add_shipments`), and get a fresh plan for what is left. That costs bandwidth and buys the absence of a server-side plan that can go stale, leak, or fall out of step with the telematics platform that actually owns the truth, and it makes a re-plan reproducible: the same body always yields the same answer. Completed stops are LOCKED by construction: they are removed from the problem entirely and each vehicle starts from where it actually is, so the solver cannot move a stop that has already happened, a guarantee the solver cannot break, rather than a hint it is free to ignore. At least one progress entry or one change is required. A re-plan has NO CLOCK and no memory of the shift so far: time windows are solved from the start of each vehicle's `time_window`, not from now, and `max_tasks`, `max_travel_time`, breaks and `capacity` apply to the remaining route as written. Send what each vehicle has LEFT (a `time_window` that starts at the current time, limits and capacity reduced by what has been use…

ParamètreTypeRequisDescription
avoid_zonesboolean | nullnonKeep the optimisation's travel-time matrix out of every zone the declared vehicle would be charged or banned in. Requires `emissions`.
changesnullnonChanges to the work itself. Optional, on the same condition.
costingnonCosting model for the travel-time matrix: "auto" (default), "truck", "bicycle", "pedestrian" or "motor_scooter".
emissionsnullnonThe fleet's emission declaration, for UK clean-air / low-emission zone assessment. On its own it annotates: the response's `zones` block names every zone containing one of the problem's own locations and what this vehicle would pay there. With `avoid_zones` it also steers the internal travel-time m…
jobsarray<any>nonSingle-stop jobs (at least one job or shipment overall).
progressarray<any>nonPer-vehicle progress. Optional, but at least one progress entry or one change is required, a re-plan that reports nothing new is the original problem.
relax_if_unassignednullnonRe-solve ONCE with these relaxations if the first solve leaves work unassigned, and say honestly which plan came back. At most one second solve, never beyond the caps you state, and the relaxed plan is returned only if it assigns MORE work than the first, giving away constraints for nothing is stri…
shipmentsarray<any>nonPickup+delivery pairs.
territoriesarray | nullnonFleet territories: named polygons that bound which vehicle may serve which stop, referenced by `vehicles[].territory_ids`. These are request data, caller-drawn rounds, validated per call and never stored. Nothing to do with clean-air zones or with the offline map packages of the same word.
trucknullnonTruck profile (dimensions + ADR declaration). Requires costing "truck"; the travel-time matrix then respects dimensional and dangerous-goods restrictions, so the whole plan is truck-legal.
vehiclesarray<any>ouiThe fleet (at least one vehicle, each with a start and/or end).

report_map_issue

Report a map issue

Report that the live world disagrees with the map, a closed road, a wrong or missing restriction, a bad speed limit, a missing road, a wrong one-way, or changed access. Use it when you observe the mismatch mid-task. Provide `location` {lat, lon}, a `category` (road_closed, wrong_restriction, wrong_speed_limit, missing_road, wrong_oneway, access_changed, other) and optionally a `description`, the OSM `way_id` and an `evidence_url`. This is a first-party observation: it is QUEUED for human/agent review and NEVER changes routing immediately or edits any map. Returns the queued report_id.

ParamètreTypeRequisDescription
categoryouiWhat kind of mismatch this is.
descriptionstring | nullnonFree-text detail of what was observed on the ground, e.g. "barrier across the lane, diversion signed via the B4009". Bounded length.
evidence_urlstring | nullnonA URL backing the observation (photo, notice, news item), when one exists. Bounded length.
locationouiWhere the mismatch was observed (WGS84 decimal degrees).
way_idinteger | nullnonThe OSM way id the observation concerns, when the caller knows it. Optional, the report stands on its own as a first-party observation and is never tied to OSM data beyond this hint.

reverse_geocode

Reverse geocode coordinates

Turn coordinates into the nearest places: addresses, POIs and localities with distance in metres. The inverse of geocode. Provide `lat` and `lon`; returns up to `limit` (default 5, max 10) results, nearest first, each with name, one-line label, lat/lon, type, address parts and distance_m, plus categories and a `details` object of display tags (opening_hours, website, phone, wikipedia, ...) on POI hits when the index carries them. Every result also carries `bearing_deg` and a spoken `direction`. Pass `heading_deg` (degrees clockwise from true north, 0 = north, 90 = east) and results are described from where the user stands, "ahead and slightly to your right, about 80 metres", with a signed `relative_bearing_deg` (negative left, positive right); without a heading the phrasing falls back to cardinals ("to the north-east"), so this works with or without a compass. Add `fov_deg` to keep only what lies within that cone of the heading, it is the FULL width, so 90 keeps what lies within 45 degrees either side of dead ahead; anything dropped is counted in `out_of_view`. Prefer reading `direction` aloud over coordinates.

ParamètreTypeRequisDescription
fov_degnumber | nullnonField of view: the full width in degrees of a cone centred on `heading_deg`, outside which results are dropped, it is the FULL width, so 90 keeps only what lies within 45 degrees either side of dead ahead. Needs `heading_deg`, a cone has to point somewhere. The count of results removed is reported…
heading_degnumber | nullnonWhich way the user is facing, in degrees **clockwise from true north** (0 = north, 90 = east, 180 = south, 270 = west). Supply it and every result is also described from the user's point of view ("just ahead on your right"); omit it and results fall back to cardinal directions ("to the north-east")…
latnumberouiLatitude in decimal degrees (−90 to 90).
limitinteger | nullnonMaximum number of results (1–10, default 5).
lonnumberouiLongitude in decimal degrees (−180 to 180).

route

Plan a route

Compute a turn-by-turn route between origin and destination (optionally via waypoints). Costing "auto" = car, "truck" = lorry, "bicycle", "pedestrian" = walking, "motor_scooter" = moped. Pass `truck` {height_m, width_m, length_m, gross_weight_t, hazmat, tunnel_code} to apply dimensional limits and the ADR dangerous-goods tunnel matrix to the search; `pedestrian` {use_lit 0-1, type "wheelchair"|"blind", max_hiking_difficulty 1-6, use_hills 0-1, max_grade_pct 1-90, surface_quality "avoid"|"ignore"} for lit-street walking, wheelchair routing and trail limits. A wheelchair route through the MapMap gateway returns a `grade` block (maximum grade, ascent and descent sampled from a 30 m elevation model, the `use_hills` preference sent, and `cap.enforced` for a `max_grade_pct`, which the engine accepts but does not enforce yet: say so) and, where the deployment has a surface graph, a `surface_quality` block: `applied: true` means ways rated smoothness bad or worse in OpenStreetMap were avoided in the named region, a preference from ratings where they exist that says nothing about kerbs, widths, steps or inclines; `applied: false` gives the `reason`. Relay both caveats and never describe such a route as suitable for every user; `bicycle` {bicycle_type, use_roads 0-1, use_living_streets 0-1, avoid_bad_surfaces 0-1, use_hills 0-1} for quiet-ride and surface preferences. Returns distance (m), duration (s), maneuvers, polyline6 geometry and the ADR costing that was applied. Any of truck,…

ParamètreTypeRequisDescription
arrive_atnullnonEnd at a place's door rather than its middle: `"entrance"` (the one place with mapped doors within 25 m of `destination`), or `{place_id, entrance_kind, wheelchair}`. The destination moves to the best door mapped in OpenStreetMap for the costing (on foot or in a wheelchair a `wheelchair=yes` door w…
avoidarray | nullnonRoad features to avoid as a PREFERENCE. Rendered as the costing's willingness factor set to zero, a thumb on the scale, not a ban. The engine's own reference is explicit that a value of zero is not guaranteed to avoid the feature entirely, and it does not: asking to avoid tolls across the Dartford…
bicyclenullnonBicycle options (bicycle type, road/surface/hill preferences). Requires costing "bicycle".
costingnonCosting model: "auto" (default), "truck", "bicycle", "pedestrian" or "motor_scooter".
destinationouiRoute destination.
emissionsnullnonThe vehicle's emission declaration, for UK clean-air / low-emission zone assessment. Given, the response's `zones` block names every zone the route enters and what THIS vehicle pays there, with the publishing authority cited. Without it a zone can only be named, never priced. Needs the MapMap gatew…
excludearray | nullnonRoad features to exclude outright, rendered as the costing's hard exclusion flag. Two things follow from that and both matter: a hard exclusion can return NO ROUTE rather than a detour (excluding tunnels on a Rotherhithe crossing has no answer), and the flags depend on the routing engine's `allow_h…
exclude_polygonsarray | nullnonAreas to avoid, scenario analysis ("close this bridge and re-route"): an array of polygons, each an array of `[lon, lat]` pairs forming one exterior ring (GeoJSON-style, longitude FIRST). Roads intersecting any ring are excluded from the search. When no route avoids them the answer is "no path": th…
landmarksboolean | nullnonName landmarks in the turn instructions (default false): each manoeuvre that passes a recognisable place, a petrol station, a supermarket, a household-name chain, gains a `landmark_instruction` like "Turn right just after the Shell garage" beside the engine's own street-name instruction, which is n…
originouiRoute origin.
pedestriannullnonPedestrian options (lit-street preference, wheelchair/blind type, hiking difficulty). Requires costing "pedestrian".
rationaleboolean | nullnonExplain the route (default false): re-routes with each declared truck constraint (truck costing) or avoidance-side routing preference (auto, bicycle, pedestrian, motor_scooter) relaxed and reports the ones that actually changed the route as `rationale.avoided[]`. Opt-in, it costs up to 1 + N extra…
scenicboolean | nullnonAsk whether there is a prettier way (default false, `auto` costing only). The route in `geometry_polyline6` is NEVER swapped: what comes back is a peer offer beside it, in `scenic`, carrying the plain sentence that justifies it. No sentence, no offer: a route that scores well but cannot support one…
trucknullnonTruck profile (dimensions + ADR declaration). Requires costing "truck"; when present, ADR dangerous-goods costing options are merged into the request.
waypointsarray | nullnonOptional intermediate stops, visited in order between origin and destination.

route_observations

Describe what a route passes

What a journey PASSES, in sentences ready to be read aloud, each with its position along the route. The named rivers and canals it crosses, the road it runs on and for how far, the settlements it goes through, the protected landscapes it enters and how high the road climbs: the things a passenger who knew the area would say. NONE OF THIS IS IN A ROUTE: a route is a list of movements and a river crossing is not a movement, so do not try to read it out of `route`'s answer. Give `geometry_polyline6` straight from the `route` tool, plus optional `units` ("miles" default, or "kilometers"), `min_gap_m` and `max_observations`. Each observation carries `at_m` (WHERE it belongs (delivered anywhere else it is trivia, not an observation), a `kind`, a `say` sentence to relay verbatim, and a `basis` naming the map layer and tag the claim rests on. THE SILENCE BUDGET IS THE DESIGN: `min_gap_m` is a floor, not a target, and when a route yields more than `max_observations` the gap WIDENS on its own so the survivors stay spread over the whole journey rather than clustering where the map happened to be richest. Inside a window the rarer kind wins. So a short list on a long route is the budget working, not thin data. READ `coverage` BEFORE REPORTING AN EMPTY LIST: an empty `observations` with `tiles_read` of 0 means NO DATA WAS READ, which is not the same claim as quiet countryside, and `uncovered_m` says how much of the route could not be seen at all. Two things it will never say, deliberatel…

ParamètreTypeRequisDescription
geometry_polyline6stringouiThe route shape, precision-6 encoded: `geometry_polyline6` straight out of the `route` tool's answer. Nothing else is accepted: there is no origin/destination form, because this tool annotates a route somebody already chose rather than computing one.
max_observationsinteger | nullnonCeiling on how many observations come back, 1 to 200 (default 40).
min_gap_mnumber | nullnonLeast distance along the route between two observations, metres (default 2000). A FLOOR, not a target: when the route holds more than `max_observations`, the gap widens past this on its own so the survivors stay spread over the whole journey.
unitsstring | nullnonUnits for the spoken distances: `miles` (default) or `kilometers`. `kilometres` and `km` are accepted too.

search_along_route

Search along a route

Find places (POIs) along a route with the REAL extra travel time of stopping at each, never a straight-line guess. Provide `origin` + `destination` (a route is computed) or an existing route's `geometry_polyline6`, plus a free-text `query` ("coffee", "EV charger", "truck stop") and `max_detour_minutes` (default 10). For a category intent ("fuel", "EV charger", "coffee") pass `category` instead of relying on words alone: it takes the same vocabulary as `nearby_places` (lowercased OSM tag values such as "fuel", "cafe", "charging_station", "parking", "pharmacy"), and common colloquial phrases are normalised server-side ("petrol station" and "gas station" to fuel, "coffee" to cafe, "EV charger" to charging_station). `query` alone also promotes a pure category phrase to the same browse, so "fuel" finds fuel stations rather than places whose NAME starts "Ful"; anything else stays free-text name matching. When a browse ran, the response echoes the tokens used in `matched_categories`. Candidates near the route corridor are priced through the routing engine with your costing: detour = (origin→place) + (place→destination) − (origin→destination). Costing "auto", "truck" (with a `truck` profile the detours respect dimensional/ADR restrictions), "bicycle", "pedestrian" or "motor_scooter". Returns results sorted by detour with detour_minutes, detour_km, along_route_position (0-1) and off_route_m; at most 25 candidates are priced per call (candidate_cap).

ParamètreTypeRequisDescription
categorystring | nullnonExplicit place category ("fuel", "cafe", "charging_station", same vocabulary as nearby_places). Colloquial phrases are normalised server-side; prefer this over query for category intents.
costingnonCosting model for the route and detour matrix: "auto" (default), "truck", "bicycle", "pedestrian" or "motor_scooter".
destinationnullnonRoute destination.
geometry_polyline6string | nullnonAn existing route geometry as an encoded polyline6 (the `route` tool's `geometry_polyline6`). Provide either this or `origin` + `destination`, not both.
max_detour_minutesnumber | nullnonLargest acceptable detour in minutes (default 10, at most 120).
max_resultsinteger | nullnonMaximum results (default 5, at most 25).
originnullnonRoute origin (with `destination`, when no geometry is given).
querystringouiFree-text POI query, e.g. "coffee", "EV charger", "truck stop".
trucknullnonTruck profile (dimensions + ADR declaration). Requires costing "truck"; the detours then respect dimensional/ADR restrictions.

set_layer_layout

Set a layer layout property

Set one MapLibre layout property on one skeleton layer of a hosted style (e.g. layer_id "road-path", property "line-cap", value "round"; null removes the property) and publish the result as a new immutable style version. Pair it with set_layer_paint for line patterns: dotted footpaths are road-path line-dasharray [0, 2] plus line-cap round. Layer ids come from list_style_layers. Returns the new version and style URL.

ParamètreTypeRequisDescription
layer_idstringouiSkeleton layer id, e.g. "road-path". Call `list_style_layers` for the accepted ids.
propertystringouiMapLibre layout property name, e.g. "line-cap", "line-join" or "visibility".
style_idstringouiHosted style id.
valueouiThe layout value (any MapLibre-valid JSON, e.g. "round"), or null to remove the property and fall back to the skeleton's.

set_layer_paint

Set a layer paint property

Set one MapLibre paint property on one skeleton layer of a hosted style (e.g. layer_id "road-major", property "line-width", value 4 or an expression array; null removes the property, e.g. line-dasharray null draws the dashed road-path solid) and publish the result as a new immutable style version. Layer ids come from list_style_layers. Returns the new version and style URL.

ParamètreTypeRequisDescription
layer_idstringouiSkeleton layer id, e.g. "road-major". Call `list_style_layers` for the accepted ids.
propertystringouiMapLibre paint property name, e.g. "line-width" or "fill-color".
style_idstringouiHosted style id.
valueouiThe paint value (any MapLibre-valid JSON: number, colour string or expression array), or null to remove the property (for example `line-dasharray` null draws a dashed skeleton layer solid).

set_palette

Recolour a style palette

Recolour one or more palette slots of a hosted style (e.g. {"water": "#0b2038", "roadMajor": "#8a6d3b"}) and publish the result as a new immutable style version. Slot names come from list_style_layers; colours are CSS (#rgb/#rrggbb/#rrggbbaa/rgb()/hsl()). Returns the new version and style URL.

ParamètreTypeRequisDescription
coloursobjectouiPalette overrides: slot name → CSS colour (e.g. {"water": "#0b2038"}). Call `list_style_layers` for the slot names.
style_idstringouiHosted style id.

set_temporary_closure

Set a temporary road closure

OPERATOR WRITE, ADMIN ONLY. Asserts a short-lived closure (`assert: {kind: closed}`) or speed (`{kind: speed_override, speed_kph}`, 1 to 120) on named OSM `way_ids` (1 to 20) and `direction` (forward, backward or both, default both), for `ttl_secs` (60 to 86400), with a `reason` and an optional `evidence_url`. The record expires on its own, ranks below official closures and is logged with the reason. NEVER CALL THIS WITHOUT A PERSON'S EXPLICIT APPROVAL OF THIS EXACT CLOSURE IN THIS CONVERSATION: draft it, show it, stop, and call it only after a yes. Available only where the operator runs sn-mcp locally with SN_CAMERA_INCIDENTS_ENABLED=true and SN_ADMIN_TOKEN set; everywhere else it refuses and says why. Whether a live traffic writer applies it is reported in `applied_by_live_writer`; false means the record is stored but no road changes.

ParamètreTypeRequisDescription
assertoui`closed` or a speed in km/h (1..=120).
directionnonCarriageway, default `both`.
evidence_urlstring | nullnonEvidence link, if any.
reasonstringouiWhy, for the audit log and the incidents endpoint note.
ttl_secsintegerouiLifetime, seconds, 60..=86400.
way_idsarray<integer>ouiOSM way ids to assert on; at most 20.

space_weather_now

Space weather now

The planetary Kp index and the NOAA SWPC OVATION aurora forecast right now. No input. Returns `kp` (0 to 9) with its time, the forecast's valid time, the peak aurora probability and `aurora_png_url` (a 360 by 181 probability grid, percent per pixel, column 0 at 180 W, row 0 at 90 N) when the forecast is under an hour old; `status` is `unavailable` when it is older and nothing should be drawn. A FORECAST about 30 to 90 minutes ahead, not an observation; never present it as a sighting or a guarantee. Requires the MapMap gateway. Display the returned `attribution`; no endorsement by NOAA is implied.

Aucun paramètre.

start_navigation

Start a navigation session

Start turn-by-turn guidance that MapMap runs for you: for a client that can post its position but runs no navigation engine of its own (a voice assistant, glasses, a wearable, a robot, an agent relaying a phone's location). Pass `origin` and `destination`, each `{lat, lon}` or `{place_id}` (a `geocode` id), optional `costing` ("auto" default, "truck", "bus", "motorcycle", "motor_scooter", "bicycle", "pedestrian"), a `truck` profile with costing "truck" (dimensions and the ADR declaration, as on `route`), `landmarks: true` for turns phrased against recognisable places, `language` (e.g. "en-GB") and `units` ("kilometers" or "miles", for the engine's own text; every number here is metres and seconds). To end at a building's door rather than its middle, pass `arrive_at`: "entrance" (the best door of the place at the destination) or `{place_id?, entrance_kind?, wheelchair?}` as on `route` ("point", the default, ends at the destination as given); only doors mapped in OpenStreetMap are chosen, none is estimated, the answer's `arrival` names the door or says `applied: false` with the reason (the session then ends at the destination as given), and every reroute heads for the same door. Returns a `session_id`, the `route` summary, the `first_instruction` to read out, `expires_at` and `privacy`. Then call `check_navigation_progress` with each new position and `end_navigation` on arrival. A SESSION LIVES IN THE GATEWAY'S MEMORY ONLY: it ends after 2 hours with no progress call, when `en…

ParamètreTypeRequisDescription
arrive_atnullnonWhere the session ends: "point" (default, the destination's own coordinates), "entrance" (the best door of the place at the destination), or `{place_id?, entrance_kind?, wheelchair?}`, exactly as on `route`. A destination given by `place_id` names the place. Only doors mapped in OpenStreetMap are c…
costingnon"auto" (default), "truck", "bus", "motorcycle", "motor_scooter", "bicycle" or "pedestrian".
destinationouiWhere it ends.
landmarksboolean | nullnonLandmark phrasing on turns ("Turn right just after the Shell garage"), on the first route and every reroute. Default false.
languagestring | nullnonInstruction language, e.g. "en-GB" or "de-DE".
originouiWhere the journey starts: usually where the traveller is now.
trucknullnonTruck profile (dimensions and ADR declaration), as on `route`. Requires costing "truck".
unitsnullnon"kilometers" (default) or "miles", for the engine's own instruction text. Every number this tool returns is in metres and seconds.

submit_integration_retro

Send an integration retro

Send MapMap a structured integration retro (problems, gotchas, wins, docs gaps). Call at most once, after your MapMap integration works or you stop trying, and only if the developer has approved sending feedback to MapMap. Sends ONLY the structured fields in this schema to MapMap: there is no field for a transcript, a prompt, source code, file contents or coordinates. The free-text fields are short and capped, but they are still free text: do NOT paste code, credentials, customer names or personal data into them. Provide `what_built` (required), `problems` [{area: sdk|api|mcp|docs|billing|self-host|other, description, workaround_found}], `gotchas`, `wins`, `docs_gaps`, and optionally `agent_name` and `sdk_version`.

ParamètreTypeRequisDescription
agent_namestring | nullnonThe submitting agent's name, e.g. "Claude Code" (at most 100 bytes).
docs_gapsarray<string>nonDocumentation gaps hit (at most 20 entries × 500 bytes).
gotchasarray<string>nonSurprises/traps worth documenting (at most 20 entries × 500 bytes).
problemsarray<any>nonProblems hit during the integration (at most 20).
sdk_versionstring | nullnonMapMap SDK version integrated against, when known (at most 50 bytes).
what_builtstringouiWhat was built with MapMap, in one or two sentences (required, at most 500 bytes).
winsarray<string>nonWhat went well (at most 20 entries × 500 bytes).

submit_optimise_job

Submit an async job

Submit a problem too large to solve inside one request to the asynchronous lane, and get a job id back. Set `kind` to "optimise", "replan", "matrix" or "coverage". For the first three, pass `problem` in EXACTLY the shape the matching synchronous tool takes, `optimise_routes` input, `replan_routes` input, or `matrix` input. Moving a working synchronous call onto this lane changes nothing but which tool you call it with. A field that tool's input does not have is REFUSED by name rather than dropped: the HTTP API accepts some the MCP tools have not surfaced yet, and a job queued without a constraint you asked for is worse than one that was never queued. "coverage" plans one drive that passes along EVERY street in an area at least once, in the legal direction, split into outings (the Chinese postman problem on the real road network): survey capture, street sweeping, gritting, refuse rounds. It has no synchronous tool; its `problem` is the POST /v1/jobs/coverage body: exactly one of `bbox` ([min_lon, min_lat, max_lon, max_lat]) or `polygon` (GeoJSON), and optionally `costing` ("auto" or "truck"), `optimise` ("distance", "time" or "balanced"), `road_classes` {include, exclude}, `include_private`, `turn_penalties` {avoid_left, avoid_right, avoid_u_turn} in metres per turn, `chunk_km` (outing length, default 15; outings land as close to it as the streets allow) or instead `chunk_time_s` (outing time, 900 to 21,600 s; both is refused: each outing's `trip_time_s`, with `chunk_loops` i…

ParamètreTypeRequisDescription
kindouiWhich problem this is. It selects both the body shape below and the ceiling the submission is judged against.
problemouiThe problem itself, in exactly the shape the synchronous tool takes , `optimise_routes` input for `optimise`, `replan_routes` input for `replan`, `matrix` input for `matrix`. Moving a working synchronous call onto this lane changes nothing but the tool you call it with. `coverage` has no synchronou…
webhook_urlstring | nullnonOptional HTTPS URL to POST a signed `{job_id, kind, status, result_url}` notification to when the job finishes. The RESULT is never pushed, the notification says where to fetch it. Requires a webhook signing secret on the key; without one the submission is refused rather than delivered unsigned. An…

validate_geodata

Validate a dataset's coordinate system

Check whether a dataset's DECLARED coordinate reference system actually describes its own coordinates, before you draw it on a map. Catches the failures that are otherwise silent: swapped lat/lon axes, degrees labelled as metres, and Web Mercator or another projection mislabelled with a UTM or national-grid code. Pass the declared CRS (e.g. "EPSG:4326") and a sample of the raw coordinates as {x, y} in the dataset's OWN units, deliberately not named lon/lat, because whether they are degrees is the question. Returns a verdict (consistent / suspect / impossible), what is wrong in plain language, and where the numbers actually point when read another way. This is a sanity check, not a reprojection: it never transforms coordinates. Local computation: no network call, no quota.

ParamètreTypeRequisDescription
coordinatesarray<any>ouiA sample of the dataset's coordinates. A few dozen is plenty; the check is about ranges and spans, not volume.
declared_crsstringouiThe CRS the dataset claims, e.g. `"EPSG:4326"`, `"EPSG:32610"`, `"EPSG:3857"`, `"EPSG:27700"`.

verify_places

Verify places and itineraries

Check whether places (and itineraries) an AI mentioned are real, findable and physically possible. Pass structured `claims` (reliable, and the only path that supports itinerary feasibility) or free `text` (best-effort quoted-phrase extraction). Each claim resolves to exactly one of three verdicts, never a boolean: "verified" (matched a real place, with its stable id and the source/date of the evidence), "contradicted" (a specific, dated, sourced fact rules it out, currently only an itinerary leg the routing engine proves cannot be driven in the stated time, with the computed travel time as evidence), or "unverified" (no evidence either way). This tool NEVER asserts that a named real business does not exist or has closed, that would be a defamation risk with no upside; a missing match is always "unverified". Claims sharing increasing `sequence` values and both carrying `claimed_time` (ISO 8601) form itinerary legs checked for feasibility via `matrix`, catching e.g. "breakfast in Bath, 10am meeting in Edinburgh". Max 20 claims per request. A claim takes only `id`, `name`, `locality`, `sequence` and `claimed_time`; any other field (e.g. `near`) is refused naming the accepted ones, so put disambiguating context such as a town in `locality`. The response's `summary` field is a concise plain-text digest (also returned as this tool result's text content) so clients that drop structured/non-text content blocks still see the verdicts.

ParamètreTypeRequisDescription
claimsarray | nullnonStructured claims, the reliable path, and the only path that supports itinerary feasibility. Mutually exclusive with `text`. Max 20 per request.
costingnonCosting for feasibility legs: "auto" (default), "truck", "bicycle", "pedestrian" or "motor_scooter".
textstring | nullnonFree text to extract place claims from (best-effort heuristic: quoted phrases and Title Case runs after "at/in/near/to/from/ visiting", not NLP or an LLM call, and it does not attempt itinerary feasibility since there are no explicit times to anchor legs to). Mutually exclusive with `claims`. Max 8…

weather_along_route

Weather along a route

Forecast weather along a route, each sample read for the hour you actually reach it rather than the weather right now. Pass the route's `shape` (an encoded polyline6, the `route` tool's geometry_polyline6), optional `depart_at` (RFC 3339, default now), the route's `duration_s` (from `route`; omitted, an 80 km/h average is assumed and `duration_source` says so) and optional `sample_interval_m` (default 25,000, 5,000 to 100,000, at most 40 samples). Each sample carries its ETA, temperature, rain, snowfall, precipitation type and probability, wind and gust speed, visibility, the WMO weather code and `severe` (thunderstorm and heavy precipitation codes only). It is a FORECAST, not an observation: read on a 0.05 degree grid (about 5.5 km) at the nearest hour, up to 16 days ahead, and samples past that horizon or without data come back `available: false` with a reason, never painted dry. `summary` is one sentence (where rain or snow starts and for how far, the strongest gust, samples without data) and always ends by saying it is advisory, never a routing guarantee: keep that qualifier when you pass it on. Requires the MapMap gateway; a deployment without a weather source answers a clear error. Display the returned `attribution` with the forecast, linked to `attribution_url`, with `licence_url` (CC BY 4.0) linked; `derived_fields` names the sample fields MapMap derives rather than Open-Meteo supplies.

ParamètreTypeRequisDescription
depart_atstring | nullnonDeparture time, RFC 3339 (e.g. "2026-10-12T14:00:00Z"); defaults to now. Forecasts reach about 16 days ahead; samples past that answer unavailable.
duration_snumber | nullnonThe route's duration in seconds, used to work out when you reach each sample. Pass the `route` tool's duration; omitted, a generic 80 km/h average is assumed and `duration_source` says so.
sample_interval_mnumber | nullnonDistance between samples in metres (default 25,000, clamped to 5,000 to 100,000; at most 40 samples per route).
shapestringouiThe route shape as an encoded polyline6 (the `route` tool's `geometry_polyline6`).

weather_frames

Weather forecast frames

The NOAA GFS forecast frames MapMap publishes for drawing weather on a map: 17 frames (0 to 48 hours every 3 hours) of the newest run, each with URLs for the global rain, temperature, cloud, gust and sea-level pressure PNG fields (1440 by 721, value-encoded; decode with `encodings`), the wind field (PNG plus JSON ranges) and XYZ tile templates for rain, temperature and isobars. Optional `run` (YYYYMMDDHH) and `fields`. The URLs need the caller's own MapMap key. A FORECAST, not an observation, processed by MapMap from NOAA GFS 0.25 degree data (regridded and quantised): never describe it as original NOAA data or imply NOAA endorsement. `status` says whether the newest run is fresh. Requires the MapMap gateway. Display the returned `attribution`.

ParamètreTypeRequisDescription
fieldsarray | nullnonWhich fields to return URLs for, any of `rain`, `temp`, `cloud`, `gust`, `mslp`, `wind`, `isobars`. Default: all.
runstring | nullnonA forecast run as YYYYMMDDHH (UTC), e.g. "2026101700". Default: the newest run.

Compatibilité clients

Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://mcp.mapmap.ai/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http mapmap https://mcp.mapmap.ai/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : mapmap ; URL : https://mcp.mapmap.ai/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : mapmap ; Server URL : https://mcp.mapmap.ai/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "mapmap": {
      "url": "https://mcp.mapmap.ai/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "mapmap": {
      "type": "http",
      "url": "https://mcp.mapmap.ai/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "mapmap": {
      "url": "https://mcp.mapmap.ai/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "mapmap": {
      "httpUrl": "https://mcp.mapmap.ai/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.mapmap]
url = "https://mcp.mapmap.ai/mcp"

Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.