bbox-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAX_H3_CELLS | No | Safety cap for H3 grid generation | 50000 |
| OVERPASS_API_URL | No | Custom Overpass endpoint. By default, rotates between overpass-api.de and kumi.systems. | |
| MAPBOX_ACCESS_TOKEN | No | Enables natural language location search (e.g. "San Francisco") |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_boundsA | Get converted coordinates for a bounding box or natural-language location search (powered by Nominatim with configurable Photon & optional Mapbox fallbacks). Supports parsing WKT, GeoJSON, ogrinfo extent, Web Mercator tiles ('z/x/y'), single points ('lat,lng'), and raw coordinate strings, plus optional metric buffering. |
| get_h3_indicesA | Get Uber H3 cell indices for a polygon (including interior holes), location boundary, or bounding box at a target resolution. When a WKT/GeoJSON polygon or named location boundary is provided, fills the exact polygon geometry (subtracting interior holes) rather than just its bounding rectangle. |
| generate_share_urlA | Generates a URL that links to the visual Bounding Box tool to display these coordinates on a map. Supports WKT, GeoJSON, ogrinfo extent, tile 'z/x/y', and raw coordinate strings as input. |
| reverse_geocodeA | Reverse geocode latitude and longitude coordinates to discover context, place name, address components, and OSM details ('what is here?'). |
| search_overpassA | Execute an Overpass QL query to find POIs, roads, or other OSM features within an admin boundary area, bounding box, or radius. The server wraps your query in spatial filters, detects Overpass runtime errors, and returns structured JSON with provenance, completeness metadata, distance calculations, and a map link. SEARCH MODES:
COMMON TAG EXAMPLES:
|
| list_osm_tagsA | Discovery tool to look up the correct OpenStreetMap tags for any category. Uses built-in category index and live Taginfo API fallback to prevent tag hallucination. |
| aggregate_overpass_h3A | Executes an Overpass query and bins the results into H3 hexagons at a specified resolution to analyze spatial density. Plots the top density hotspots on the shareable verification map. |
| calculate_routeA | Calculate real-world travel distance, duration, turn-by-turn summary (with maneuver coordinates), GeoJSON route geometry, and route bounding box between two locations or coordinate pairs using OpenStreetMap routing (FOSSGIS / OSRM, or configurable OSRM_API_URL). Supports optional intermediate 'waypoints' and requesting 'alternatives' (up to 3 OSRM routes for side-by-side comparison with check_traffic_controls). |
| get_elevationA | Query terrain elevation in meters above sea level using the Open-Meteo 90m Copernicus DEM API (free for non-commercial use; commercial use requires a paid key or self-hosted ELEVATION_API_URL). Supports 4 modes: 'points' (discrete coordinates), 'grid' (N×N bbox sample statistics), 'line_of_sight' (3D terrain intervisibility with WGS84 Earth curvature & atmospheric refraction between two points), and 'profile' (cumulative elevation gain/loss and max grade % along a route_geometry or path). |
| spatial_calcA | Perform deterministic offline geometric calculations on bounding boxes, points, polygons, and 3D camera frustums (zero network calls): 'relation' (intersects, contains, overlap area %, union & intersection bbox between two geometries), 'point_in_geometry' (check if a point is inside a bbox or WKT/GeoJSON polygon respecting interior holes), 'distance_bearing' (WGS84 ellipsoidal Vincenty distance, initial/final bearings, geodesic midpoint, and ENU vector between two points), 'split_grid' (subdivide a bbox into an N x M grid), or 'camera_footprint' (3D ray-ellipsoid intersection to project a drone/aerial camera frustum onto the WGS84 ground polygon). |
| check_traffic_controlsA | Check OpenStreetMap for traffic signals (traffic lights) and stop signs at a junction, within a radius of a coordinate/place, across a bounding box/area, or along a route corridor. Returns explicit booleans (has_traffic_signal, has_stop_sign), junction classification (control_type: 'traffic_signals' | 'stop_sign' | 'both' | 'none'), separate counts, exact coordinates, and a shareable verification map. MODES:
|
| search_placesA | Query Overture Maps global Places dataset (88M+ POIs merged from Meta, Microsoft, Foursquare, and others) directly via GeoParquet range requests. Returns rich commercial POI metadata often missing in OSM: existence confidence scores (0-1), brand & Wikidata IDs, websites, phones, emails, socials, structured addresses, operating status, taxonomy categories, and contributing data sources. Either 'location' or 'bbox' is required. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Most tools target clearly distinct resources (routing, elevation, H3 indexing, geocoding, traffic controls, tag lookup). A few boundaries are softer: search_places vs search_overpass (different datasets but same 'find POIs' intent), aggregate_overpass_h3 vs get_h3_indices (both H3, one for density binning of Overpass results, one for pure cell enumeration), and get_bounds vs generate_share_url, which both accept the same zoo of coordinate formats. Descriptions do clarify these, so misselection is unlikely but possible.
Almost all names follow a snake_case verb_noun pattern (search_places, calculate_route, get_elevation, check_traffic_controls, get_bounds, get_h3_indices, list_osm_tags, reverse_geocode, search_overpass, generate_share_url). The deviations are minor: spatial_calc is noun-based rather than verb_noun, and aggregate_overpass_h3 appends a format suffix to an otherwise verb_noun name.
12 tools is comfortably within a well-scoped range for a geospatial analysis server and each tool maps to a real capability (search, route, elevation, geometry, H3, geocode, tags, sharing). generate_share_url is arguably a cross-cutting utility that many other tools already partially cover by returning map links, which makes the set slightly heavier than strictly necessary.
The surface covers a full analysis lifecycle: POI search (Overture and OSM), routing, elevation in four modes, offline geometry math, H3 indexing/aggregation, forward and reverse geocoding, tag discovery, traffic controls, and shareable map output. Gaps are modest: no batch/multi-address geocoding, no isochrone or origin-destination matrix tool, and forward geocoding is buried inside get_bounds rather than exposed directly.