About Osmmcp
Osmmcp is an MCP server published by NERVsystems in the Maps category: openStreetMap MCP server providing precision geospatial tools for LLMs via Model Context Protocol. Features geocoding, routing, nearby places, neighborhood analysis, EV charging stations, and more. Conduid read 28 tools from its source: analyze_commute, analyze_neighborhood, bbox_from_points, centroid_points, enrich_emissions, explore_area and 22 more. No package is published for it, so it installs from a source checkout.
The repository has 33 stars and 4 forks, is licensed MIT, and its last commit was on 8 Oct 2026. The latest release is v0.1.2 (31 May 2025). It follows v0.1.1 (20 May 2025), and the 3 most recent releases go back to v0.1.0 (16 May 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include geocoding, ev-charging, anthropic-claude, geospatial and maps.
Install
git clone https://github.com/NERVsystems/osmmcpTools (28)
analyze_commuteAnalyze transportation options between home and work locations| Parameter | Type | Description |
|---|---|---|
| home_latitude * | number | The latitude coordinate of the home location |
| home_longitude * | number | The longitude coordinate of the home location |
| transport_modes | array | Transport modes to analyze (car, cycling, walking) |
| work_latitude * | number | The latitude coordinate of the work location |
| work_longitude * | number | The longitude coordinate of the work location |
analyze_neighborhoodEvaluate neighborhood livability for real estate and relocation decisions| Parameter | Type | Description |
|---|---|---|
| include_price_data | boolean | Whether to include pricing and real estate data in the analysis |
| latitude * | number | The latitude coordinate of the neighborhood center |
| longitude * | number | The longitude coordinate of the neighborhood center |
| neighborhood_name | string | Optional name of the neighborhood (if known) |
| radius | number | Search radius in meters (max 2000) |
bbox_from_pointsCreate a bounding box that encompasses all given geographic coordinates| Parameter | Type | Description |
|---|---|---|
| points * | array | Array of latitude/longitude points to include in the bounding box |
centroid_pointsCalculate the geographic centroid (mean center) of a set of coordinates| Parameter | Type | Description |
|---|---|---|
| points * | array | Array of latitude/longitude points to calculate centroid from |
enrich_emissionsEnrich route options with CO2 emissions, calorie burn, and cost estimates| Parameter | Type | Description |
|---|---|---|
| options * | array | Array of route options with mode and distance (and optional duration) |
explore_areaExplore an area and get comprehensive information about it| Parameter | Type | Description |
|---|---|---|
| latitude * | number | The latitude coordinate of the area's center point |
| longitude * | number | The longitude coordinate of the area's center point |
| radius * | number | Search radius in meters (max 5000) |
filter_tagsFilter OSM elements by specified tags| Parameter | Type | Description |
|---|---|---|
| elements * | array | Array of OSM elements to filter |
| tags * | object | Tags to filter by, with key-value pairs where values are an array of acceptable values |
find_charging_stationsFind electric vehicle charging stations near a location| Parameter | Type | Description |
|---|---|---|
| latitude * | number | The latitude coordinate of the center point |
| limit | number | Maximum number of results to return |
| longitude * | number | The longitude coordinate of the center point |
| radius | number | Search radius in meters (max 10000) |
find_nearby_placesFind points of interest near a specific location| Parameter | Type | Description |
|---|---|---|
| category | string | Optional category filter (e.g., restaurant, hotel, park) |
| latitude * | number | The latitude coordinate of the center point |
| limit | number | Maximum number of results to return |
| longitude * | number | The longitude coordinate of the center point |
| radius | number | Search radius in meters (max 50000) |
find_parking_facilitiesFind parking facilities near a specific location| Parameter | Type | Description |
|---|---|---|
| include_private | boolean | Whether to include private parking facilities |
| latitude * | number | The latitude coordinate of the center point |
| limit | number | Maximum number of results to return (max 50) |
| longitude * | number | The longitude coordinate of the center point |
| radius | number | Search radius in meters (max 5000) |
| type | string | Optional type filter (e.g., surface, underground, multi-storey) |
find_route_charging_stationsFind electric vehicle charging stations along a route between two locations| Parameter | Type | Description |
|---|---|---|
| buffer_distance | number | Distance in meters to search on either side of the route (max 5000) |
| end_latitude * | number | The latitude coordinate of the destination |
| end_longitude * | number | The longitude coordinate of the destination |
| limit | number | Maximum number of results to return |
| start_latitude * | number | The latitude coordinate of the starting point |
| start_longitude * | number | The longitude coordinate of the starting point |
find_schools_nearbyFind educational institutions near a specific location| Parameter | Type | Description |
|---|---|---|
| latitude * | number | The latitude coordinate of the center point |
| limit | number | Maximum number of results to return |
| longitude * | number | The longitude coordinate of the center point |
| radius | number | Search radius in meters (max 5000) |
| school_type | string | Optional school type filter (e.g., elementary, secondary, university, college) |
geo_distanceCalculate the distance between two geographic coordinates| Parameter | Type | Description |
|---|---|---|
| from * | object | The starting point as {latitude, longitude} |
| to * | object | The ending point as {latitude, longitude} |
geocode_addressConvert an address or place name to geographic coordinates| Parameter | Type | Description |
|---|---|---|
| address * | string | The address, place name, or coordinate to geocode. Accepts MGRS (e.g., '54SVK2747201448'), UTM (e.g., '47N 485986 2197460'), DMS, or place names. For addresses, include city/country for best results. |
| region | string | Optional region context to improve results for ambiguous queries (e.g., 'Singapore'). Will be automatically appended to short queries. |
get_map_imageRetrieve and display an OpenStreetMap image for analysis| Parameter | Type | Description |
|---|---|---|
| latitude * | number | The latitude coordinate |
| longitude * | number | The longitude coordinate |
| zoom | number | Zoom level (1-19, higher values show more detail) |
get_routeCalculate a route between two points| Parameter | Type | Description |
|---|---|---|
| alternatives | boolean | Whether to return alternative routes |
| end_lat * | number | Ending point latitude |
| end_lon * | number | Ending point longitude |
| profile | string | Routing profile (driving, walking, cycling) |
| start_lat * | number | Starting point latitude |
| start_lon * | number | Starting point longitude |
get_route_directionsGet detailed turn-by-turn directions for a route between locations| Parameter | Type | Description |
|---|---|---|
| end_lat * | number | The latitude of the destination |
| end_lon * | number | The longitude of the destination |
| mode | string | Transportation mode: car, bike, foot |
| start_lat * | number | The latitude of the starting point |
| start_lon * | number | The longitude of the starting point |
get_versionGet the version and build information of the OSM MCP serviceosm_query_bboxQuery OpenStreetMap data within a bounding box with tag filters| Parameter | Type | Description |
|---|---|---|
| bbox * | object | Bounding box object with required fields: minLat (number), minLon (number), maxLat (number), maxLon (number). Example: {"minLat": 37.77, "minLon": -122.42, "maxLat": 37.78, "maxLon": -122.41} |
| tags * | object | Tags to filter by as key-value string pairs. Use '*' as value to match any value for a key. Example: {"amenity": "restaurant", "cuisine": "*", "name": "Pizza"}. Common keys: amenity, shop, leisure, highway, building, name, cuisine, brand |
polyline_decodeDecode an encoded polyline string into a series of geographic coordinates| Parameter | Type | Description |
|---|---|---|
| polyline * | string | The encoded polyline string to decode |
polyline_encodeEncode a series of geographic coordinates into a polyline string| Parameter | Type | Description |
|---|---|---|
| points * | array | Array of latitude/longitude points to encode |
reverse_geocodeConvert geographic coordinates to a human-readable address| Parameter | Type | Description |
|---|---|---|
| latitude * | number | The latitude coordinate as a decimal between -90 and 90 |
| longitude * | number | The longitude coordinate as a decimal between -180 and 180 |
route_fetchFetch a route between two points using OSRM routing service| Parameter | Type | Description |
|---|---|---|
| end * | object | The ending point as {latitude, longitude} |
| mode | string | Travel mode (car, bike, foot) |
| start * | object | The starting point as {latitude, longitude} |
route_sampleSample points along a route at specified intervals| Parameter | Type | Description |
|---|---|---|
| interval * | number | Sampling interval in meters (must be > 0) |
| polyline * | string | The encoded polyline string representing the route |
search_categoryFind places of a specific category within a bounding box| Parameter | Type | Description |
|---|---|---|
| category * | string | Category to search for (e.g., restaurant, hotel, park) |
| east_lon * | number | Eastern boundary longitude |
| limit | number | Maximum number of results to return |
| north_lat * | number | Northern boundary latitude |
| south_lat * | number | Southern boundary latitude |
| west_lon * | number | Western boundary longitude |
sort_by_distanceSort OSM elements by distance from a reference point| Parameter | Type | Description |
|---|---|---|
| elements * | array | Array of OSM elements to sort |
| ref * | object | Reference point to measure distances from |
suggest_meeting_pointSuggest an optimal meeting point for multiple people| Parameter | Type | Description |
|---|---|---|
| category | string | Type of meeting point to suggest (restaurant, cafe, etc.) |
| limit | number | Maximum number of suggestions to return |
| locations * | array | Array of participant locations |
tile_cacheManage and access cached map tiles| Parameter | Type | Description |
|---|---|---|
| action * | string | Action to perform: 'list', 'get', 'stats' |
| x | number | Tile X coordinate (required for 'get' action) |
| y | number | Tile Y coordinate (required for 'get' action) |
| zoom | number | Tile zoom level (required for 'get' action) |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.3K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by go.sum.
- ✓No dynamic code executionScanned 59 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPpkg/server/server.go:106, pkg/server/http_transport.go:79
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 32 callspkg/core/http.go:35, pkg/core/osrm.go:90, pkg/core/osrm.go:221
- Writes or deletes files
- 6 callspkg/tools/routes.go:482, pkg/tools/routes.go:486, pkg/tools/routes.go:494
- Lockfile
- go.sum
Pattern matches on the source text of 59 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 2.3K words, fetched a month ago. The original in the repository is authoritative.
Read full README