OpenStreetMap — find places and addresses (geocoding) API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read OpenStreetMap — find places and addresses (geocoding). No OpenStreetMap — find places and addresses (geocoding) API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/openstreetmap.md and add Bowmark's OpenStreetMap — find places and addresses (geocoding) MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-openstreetmap https://api.bowmark.ai/mcp/site/openstreetmapPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-openstreetmap": {
"url": "https://api.bowmark.ai/mcp/site/openstreetmap"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-openstreetmap","type":"http","url":"https://api.bowmark.ai/mcp/site/openstreetmap"}'Run this in a terminal.
codex mcp add bowmark-openstreetmap --url https://api.bowmark.ai/mcp/site/openstreetmapIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/openstreetmapIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/openstreetmapAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/openstreetmapFunctions
Open a function to see its parameters and run it with your own API key.
reverseGeocodeTurns a latitude/longitude into the OpenStreetMap place and address there (Nominatim /reverse), or null over open water.POST /v1/sites/openstreetmap/reverseGeocode
Parameters
Detail 0-18: 3 country, 10 city, 18 building (default).
curl -X POST https://api.bowmark.ai/v1/sites/openstreetmap/reverseGeocode \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"lat":48.8584,"lon":2.2945}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.openstreetmap.reverseGeocode({ lat: 48.8584, lon: 2.2945 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.openstreetmap.reverseGeocode({"lat": 48.8584, "lon": 2.2945}))Responsereturns OsmPlace | nullinterface OsmPlace { osmType: "node" | "way" | "relation" | null; osmId: number | null; osmUrl: string | null; // openstreetmap.org page for the object name: string | null; displayName: string; // the full one-line address lat: number; lon: number; category: string | null; type: string | null; address: Record<string, string>; // house_number, road, city, postcode, country, country_code, … tags: Record<string, string>; // extra OSM tags: website, opening_hours, phone, wikidata, … boundingBox: [number, number, number, number] | null; // [south, north, west, east] importance: number | null; }searchPlacesSearches OpenStreetMap by place name, address or landmark (Nominatim /search), returning matches with coordinates, full address, OSM id and tags.POST /v1/sites/openstreetmap/searchPlaces
Parameters
1-40, default 10.
ISO alpha-2, comma-separated: "gb", "de,at".
curl -X POST https://api.bowmark.ai/v1/sites/openstreetmap/searchPlaces \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"Eiffel Tower","limit":3}}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.openstreetmap.searchPlaces({ query: "Eiffel Tower", limit: 3 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.openstreetmap.searchPlaces({"query": "Eiffel Tower", "limit": 3}))Responsereturns OsmPlace[]interface OsmPlace { osmType: "node" | "way" | "relation" | null; osmId: number | null; osmUrl: string | null; // openstreetmap.org page for the object name: string | null; displayName: string; // the full one-line address lat: number; lon: number; category: string | null; type: string | null; address: Record<string, string>; // house_number, road, city, postcode, country, country_code, … tags: Record<string, string>; // extra OSM tags: website, opening_hours, phone, wikidata, … boundingBox: [number, number, number, number] | null; // [south, north, west, east] importance: number | null; }