# osm-mcp

Geocoding, walking/driving/cycling distances, route optimization, isochrones and POI search on OSM

- **Type:** MCP server
- **Trust:** 85/100 (A), scored on the package rubric
- **Verification:** verified (build provenance)
- **Version:** 0.3.1
- **Author:** io.github.ni-c
- **License:** MIT
- **npm:** osm-mcp
- **Source:** https://github.com/ni-c/osm-mcp
- **Compatible clients:** claude-code, cursor, copilot, gemini (basis: transport)

## Trust

85/100 (A), scored on the package rubric
- Publisher verified: no
- Build provenance: verified attestation
- npm trusted publishing (OIDC): yes
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 34 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-09-01T21:44:57.014Z
- **Version scanned:** 0.2.0
- **CVEs:** none found by OSV at scan time

## Tools

11 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `geocode` — Converts a place name or address into coordinates using OpenStreetMap.
- `reverse_geocode` — Converts coordinates into the nearest address or place name (Nominatim).
- `straight_line_distance` — Great-circle ("as the crow flies") distance between two places.
- `map_link` — Generates openstreetmap.org links to open in a browser: a marker link
- `find_nearby_pois` — Finds points of interest near a location, sorted by distance.
- `poi_details` — Fetches the full OpenStreetMap record of one element — all tags
- `suggest_meeting_point` — Suggests a fair place to meet for people starting from different
- `route` — Calculates the real-world travel distance and time between two or more
- `route_matrix` — Computes travel times and distances from every origin to every
- `optimize_route` — Finds the best order to visit a set of stops (traveling-salesman
- `isochrone` — Shows how far you can get from a place within a time or distance

## Install

**Verdict: install** — No blocking findings and no open coverage gaps — safe to install as configured.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"osm\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"osm-mcp\"\n      ],\n      \"env\": {\n        \"ORS_API_KEY\": \"<YOUR_ORS_API_KEY>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `ORS_API_KEY` — Ors API Key (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 1 credential (0 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Moderate blast radius — holds an api key; runs on your machine.
- Floor 23, ceiling 23 (tier: moderate)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/osm-mcp
- Install plan: https://forgeregistry.com/api/v1/packages/osm-mcp/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/osm-mcp
- HTML page: https://forgeregistry.com/registry/osm-mcp
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
