Configure HTTP features per client
On deployments that expose HTTP feature controls, set supported overrides for a Model Context Protocol (MCP) client without changing server defaults. For example, a mapping client can request GeoJSON route geometry while another client keeps the deployment defaults.
Send feature overrides
Send one X-FEATURE-CONTROL header with a JSON object. Use exact uppercase flag names and JSON true or false values, not strings. Omitted keys keep server defaults.
X-FEATURE-CONTROL: {"ALLOW_GEOJSON_RETURN":true}
X-HERE-API-Key: <YOUR_HERE_API_KEY>| Flag | Effect when true |
|---|---|
ENABLE_APP_VISUALIZATION | Enables data-visualization to display results on an interactive map. |
ENABLE_RENDER_MAP_IMAGE | Enables render-map-image to render a static map image. |
ENABLE_PUBLIC_TRANSIT_ROUTE | Enables public-transit-route to plan trips by public transit. |
ENABLE_GET_GEOMETRY | Enables get-geometry to retrieve and cache area boundaries and lets discover search within that cached geometry. |
ENABLE_GET_ROUTE_FROM_POLYLINE | Enables get-route-from-polyline to import and cache a route from an encoded polyline. |
ENABLE_GET_CACHED_ARTIFACT | Enables get-cached-artifact to retrieve the JSON cached under an artifact ID. |
ENABLE_ADVANCED_EV_OPTIONS | Exposes advanced EV consumption and charging options in the calculate-route input schema. |
ENABLE_ROUTE_RICH_DESCRIPTION | Adds a description naming places along the route when available. |
ENABLE_ROUTE_CHARACTERISTICS | Lets callers request route characteristics such as curvature, road surface, elevation, tunnels, and bridges. |
ROUTE_CHARACTERISTICS_DETAILS | Adds coverage and a breakdown by characteristic to the summary when route characteristics are requested. |
ALLOW_GEOJSON_RETURN | Lets callers request route geometry as GeoJSON using the polyline return option. |
RETURN_PLACES_ID | Includes HERE place IDs in geocode, discover, and find-route-stops results when available. |
RETURN_PLACES_DETAILED_CATEGORIES | Includes detailed place categories in geocode, discover, and find-route-stops results when available. |
MATRIX_ROUTING_TIER, numeric route-characteristics settings, and other unlisted keys can only be configured on the server deployment.
Apply settings to HTTP requests
- Stateful connections: Send the feature and HERE credential headers on
initialize. Later requests reuse the settings throughMcp-Session-Id; normal authentication requirements still apply. Start a new session to change the settings. - Stateless MCP (protocol version
2026-07-28): Send the feature and HERE credential headers on every request that needs the settings, includingtools/listandtools/call.
The header name is case-insensitive, and flag names are case-sensitive. Send one header containing at most 4 KB of printable ASCII. JSON that isn't valid, duplicate keys or headers, unsupported keys, and legacy per-flag X-FEATURE-* headers return HTTP 400 after credential checks.
When migrating from per-flag headers, replace them with X-FEATURE-CONTROL in your client and gateway forwarding configuration. Initialize a fresh session after the change.
Next steps
- For the MCP session lifecycle and authentication steps, see Connect with OAuth credentials.
- To learn what each tool accepts and returns, see HERE Location Reasoning tools reference.
Updated 44 minutes ago