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.

Functions

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}}'
    Sign in to run
    Responsereturns OsmPlace | null
    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;
    }
  • 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}}'
    Sign in to run
    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;
    }