OpenStreetMap for Gemini CLI
io.github.ni-c/osm-mcp
Geocoding, walking/driving/cycling distances, route optimization, isochrones and POI search on OSM
client:Gemini CLI
transport:stdio
runtime:npm
Install OpenStreetMap in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"osm-mcp": {
"command": "npx",
"args": [
"-y",
"osm-mcp"
],
"env": {
"OSM_USER_AGENT": "<OSM_USER_AGENT>",
"ORS_API_KEY": "<ORS_API_KEY>",
"OSM_ALLOW_TOOLS": "<OSM_ALLOW_TOOLS>",
"OSM_DENY_TOOLS": "<OSM_DENY_TOOLS>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs