bbox-mcp-server
bbox-mcp-server is a free, no-API-key MCP server that gives AI agents 12 geospatial tools — place/POI search, routing, elevation, H3 grids, and geometry math — with shareable map links for verification.
Bounding boxes & projections (
get_bounds): parse raw coords, points,z/x/ytiles, WKT, GeoJSON, orogrinfoextents; buffer in meters; reproject to 3,900+ EPSG codes; output in 9 formats (WKT, GeoJSON, KML, CSV, Leaflet, Overpass, OGC, STAC).H3 hex grids (
get_h3_indices): generate cells for a bbox or exact polygon (with holes) at resolution 0–15, with compaction, summary-only mode, and optional hex geometry.Map links (
generate_share_url): turn any geometry into a shareable interactive map URL.Reverse geocoding (
reverse_geocode): resolve lat/lng to place name, address components, and OSM details.OSM search (
search_overpass): run Overpass QL selectors inside an admin boundary, bbox, or radius; count-only fast mode, pagination, distance sorting, geometry return.Commercial POIs (
search_places): query Overture Maps (88M+ places) for confidence scores, brands, phones, websites, emails, socials, addresses, and operating status.Tag discovery (
list_osm_tags): look up correct OSM tags by category via curated index plus Taginfo fallback.Density analysis (
aggregate_overpass_h3): bin OSM results into H3 hexagons and plot hotspots.Routing (
calculate_route): driving/walking/cycling routes with waypoints, up to 3 alternatives, turn-by-turn steps, geometry, detour factor, and bearing.Elevation (
get_elevation): point/grid sampling, 3D line-of-sight with Earth curvature, and route grade profiles from 90m Copernicus DEM.Offline geometry math (
spatial_calc): intersections/containment, point-in-polygon, Vincenty distance & bearing, grid subdivision, and 3D camera frustum footprints — zero network calls.Traffic controls (
check_traffic_controls): detect traffic signals and stop signs at a junction, in an area, or along a route corridor.
Enables natural language location lookup via Mapbox's geocoding API, allowing users to specify areas by name (e.g., 'Seattle') without needing explicit coordinates.
Provides tools for querying OpenStreetMap data through the Overpass API, enabling searches for points of interest, roads, and other mapped features within a specified area, as well as H3-based spatial aggregation.
🌍 bbox-mcp-server
FREE Geospatial tools for AI agents, with results you can inspect on a map.
Search OpenStreetMap & Overture Maps Places, convert coordinates, generate H3 grids, calculate routes, and sample terrain elevation. 12 MCP tools, no API keys required to get started. Spatial results include shareable links to the interactive map.
Try asking
“Find cafes near Times Square.”
“Find commercial coffee shops near Times Square with confidence scores, websites, and phone numbers.”
“Find me pizza near the Colosseum?”
“Eiffel Tower to the Louvre: walk or bike? Compare the routes.”
“Where are Manhattan’s coffee hotspots?”
“EV road trip: find chargers within 5km of Monterey.”
“How high up is Denver, really?”
“Find the route with the fewest traffic lights from Times Square to Central Park.”
Related MCP server: Magic Lane MCP Server
Quick start
Requires Node.js 18+. Add this to your MCP client configuration:
{
"mcpServers": {
"bbox": {
"command": "npx",
"args": ["-y", "bbox-mcp-server"]
}
}
}Client | Configuration file |
Claude Desktop |
|
Cursor |
|
Windsurf |
|
VS Code (GitHub Copilot) |
|
Tools
Tool | What it does |
| Find, buffer, convert, and project bounding boxes across formats and coordinate systems. |
| Generate H3 cells for a bounding box or exact polygon boundary, including holes. |
| Create a shareable map link for a bounding box. |
| Resolve coordinates to an address and OpenStreetMap details. |
| Find or count OSM features within an area, bounding box, or radius. |
| Query Overture Maps Places POIs directly with confidence scores, brands, phones, websites, and addresses. |
| Find OSM tags by category using curated suggestions and Taginfo fallback. |
| Group OSM query results into H3 hexagons for density analysis. |
| Get driving, walking, or cycling routes with optional waypoints, alternatives, and geometry. |
| Get elevation for points, sample terrain grids, analyze 3D line-of-sight with Earth curvature, or compute route elevation/grade profiles using the 90m Copernicus DEM. |
| Calculate geometry relations, point containment, WGS84 ellipsoidal distance/bearing, grid subdivisions, and 3D camera frustum footprints offline. |
| Check traffic signals and stop signs at a junction, in a bbox/radius, or along a route. |
Your MCP client discovers each tool's full parameter and output schemas automatically. H3 tools use resolution (0–15).
Inputs and outputs
Tools with a location parameter accept place names. Tools with a bbox parameter auto-detect raw coordinates, single points, z/x/y tiles, WKT, GeoJSON, GeoJSON bboxes, and ogrinfo extents.
Coordinate order: raw bboxes default to lat1,lng1,lat2,lng2; points use lat,lng. Use GeoJSON or WKT to avoid ambiguity, for example {"bbox":[-74.006,40.712,-73.985,40.758]} in west/south/east/north order. coord_order on get_bounds controls formatted output only.
get_bounds supports 3,900+ bundled projections via epsg and nine output formats: csv, wkt, geojson-bbox, geojson-polygon, leaflet, overpass, ogc-bbox, kml, and stac-bbox.
For Overpass searches, supply a selector such as nwr["amenity"="cafe"]; the server adds spatial filters. Set radius_meters for an explicit distance or omit it to search the area. Use list_osm_tags to find selectors by category.
For commercial POIs with confidence scores, brands, phone numbers, and websites, search_places queries Overture Maps GeoParquet files directly via HTTP range requests (no Python runtime required).
Configuration
Place search uses Nominatim with Photon fallback; a Mapbox token is optional. Defaults work without configuration.
Add an env object alongside command and args in your server configuration.
Variable | Purpose / default |
| Identify your application and contact; defaults to the server name, version, and repository URL. |
| Optional contact email for Nominatim requests. |
| Geocoder endpoint; defaults to |
| Fallback geocoder; defaults to |
| Optional additional geocoding fallback. |
| Custom Overpass endpoint(s); defaults rotate across public instances. |
| Preferred routing endpoint; defaults use public OSRM services. |
| Elevation endpoint; defaults to |
| H3 generation cap; defaults to |
| Custom Overture Maps STAC root catalog URL; defaults to |
| Preferred cloud mirror for Overture GeoParquet files ( |
| Row-group scan safety cap per |
For developers
Successful calls return readable content and structuredContent matching the tool's output schema, including provenance, complete, and warnings. Spatial tools also return share_url. Errors use isError: true; structured logs go to stderr, keeping stdout reserved for MCP.
To run from source:
npm install
npm test
npm startnpm test builds the server and runs the test suite.
Data and service use
Data © OpenStreetMap contributors and Overture Maps Foundation (CDLA-Permissive-2.0). Public services have usage limits: avoid bulk scraping and frequent polling, and configure your own endpoints for shared or heavy workloads.
Nominatim and FOSSGIS routing limit requests to 1 per second. Nominatim also requires application identification, caching, and attribution. The server's per-process queue does not cover traffic across multiple instances.
Photon's public endpoint is a demo service without availability guarantees.
Open-Meteo's free API is for non-commercial use. Elevation grids return sample statistics, not guaranteed terrain-wide extrema or slopes.
Available Tools
12 toolsaggregate_overpass_h3ARead-onlyIdempotent
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.
Inputs: query (required), resolution (required), bbox, location, +3 more. Returns: complete, warnings, share_url, hex_counts, +9 more
calculate_routeARead-onlyIdempotent
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).
Inputs: origin (required), destination (required), profile, waypoints, +2 more. Returns: steps, origin, profile, complete, +16 more
check_traffic_controlsARead-onlyIdempotent
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:
Junction / Coordinate: pass a point in 'bbox' (e.g. '40.7580,-73.9855') with optional 'radius_meters' (defaults to 35m).
Bounding box / Area: pass a bbox or 'location' (without 'radius_meters') to count or list all traffic signals and stop signs inside.
Route corridor (by endpoints): pass 'origin' and 'destination' (plus optional 'profile': driving/walking/cycling) to route via OSRM and inspect traffic controls along the route in one call.
Route corridor (by geometry): pass 'route_geometry' (the GeoJSON LineString from calculate_route) with optional 'radius_meters' (defaults to 20m) to evaluate traffic signals and stop signs along a route in travel order.
Inputs: bbox, limit, offset, origin, +9 more. Returns: limit, counts, offset, complete, +19 more
get_boundsARead-onlyIdempotent
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.
Inputs: bbox, epsg, zoom, format, +4 more. Returns: epsg, center, format, area_km2, +12 more
get_elevationARead-onlyIdempotent
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).
Inputs: bbox, mode, origin, points, +8 more. Returns: bbox, mode, samples, complete, +9 more
get_h3_indicesARead-onlyIdempotent
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.
Inputs: resolution (required), bbox, compact, location, +3 more. Returns: cells, compact, geojson, complete, +9 more
list_osm_tagsARead-onlyIdempotent
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.
Inputs: category (required). Returns: tags, source, category, complete, +3 more
reverse_geocodeARead-onlyIdempotent
Reverse geocode latitude and longitude coordinates to discover context, place name, address components, and OSM details ('what is here?').
Inputs: lat (required), lng (required), zoom. Returns: bbox, type, class, center, +8 more
search_overpassARead-onlyIdempotent
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:
Location / Admin Area: when 'location' resolves to an OSM boundary polygon (e.g. 'Manhattan', 'Seattle'), searches inside exact boundary polygon.
Bounding box (default): searches a rectangular area.
Circle: searches within an exact radius when 'radius_meters' is provided.
Fast Count: set 'count_only: true' to get instant element counts without downloading full element payloads.
COMMON TAG EXAMPLES:
Restaurants:
nwr["amenity"="restaurant"]Pizza:
nwr["amenity"="fast_food"]["cuisine"="pizza"]Supermarkets:
nwr["shop"="supermarket"]Parks:
nwr["leisure"="park"]Hospitals:
nwr["amenity"="hospital"]EV Charging:
nwr["amenity"="charging_station"]Gyms:
nwr["leisure"="fitness_centre"]Banks:
nwr["amenity"="bank"]
Inputs: query (required), bbox, limit, offset, +7 more. Returns: limit, osm3s, counts, offset, +18 more
search_placesARead-only
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.
Inputs: bbox, limit, query, offset, +8 more. Returns: bbox, count, limit, query, +15 more
spatial_calcARead-onlyIdempotent
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).
Inputs: bbox_a (required), operation (required), cols, rows, +9 more. Returns: to, bbox, cols, from, +42 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Maintenance
Related MCP Connectors
Pay-per-call GIS tools for AI agents: coordinates, measurement, reprojection, elevation, terrain.
Routing, geocoding, places, matrix and map tools for location-aware AI workflows.
Place search, routes and spatial reasoning for AI agents, with real-world addresses.
Geocoding, routing, isochrones, traffic, weather, and place search for AI agents. 19 MCP tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceGeospatial API tools for AI agents — geocoding, reverse geocoding, routing, isochrone, distance matrix, static maps, H3 hexagons, elevation, GPS map-matching, point-in-polygon, address normalisation, timezone lookup, and batch geocoding. Built on OpenStreetMap infrastructure. Cost-effective alternative to Google Maps API.18MIT

Magic Lane MCP Serverofficial
AlicenseBqualityCmaintenanceEnables AI agents to become geospatially intelligent assistants with tools for location search, smart routing, round trip planning, reverse geocoding, isochrone analysis, route visualization, geofence management, and interactive map display.820 npm8Apache 2.0- AlicenseNot gradedqualityDmaintenanceProvides 15 geospatial utility tools for AI agents, covering coordinate transformation, spatial data validation, elevation/terrain, viewshed analysis, and drone flight planning.1MIT
- AlicenseNot gradedqualityCmaintenanceProvides geographic coordinate geometry tools for computing midpoints, centroids, bounding boxes, and point-in-bbox tests, enabling spatial calculations via natural language queries.52 npmMIT