Nominatim

live Geography

Forward and reverse geocoding using OpenStreetMap Nominatim

3 tools
0ms auth
free tier 50 calls/day

Tools

search_address required: query

Forward geocode a free-form address or place name using OpenStreetMap Nominatim. Returns matching places with coordinates.

Parameters
Name Type Description
query req string Free-form address or place name to search for (e.g. "Eiffel Tower, Paris").
limit opt number Maximum number of results to return. Defaults to 5, max 50.
Try it
reverse_geocode required: lat, lon

Reverse geocode a latitude/longitude coordinate pair to a human-readable address using OpenStreetMap Nominatim.

Parameters
Name Type Description
lat req number Latitude in decimal degrees (e.g. 48.8584).
lon req number Longitude in decimal degrees (e.g. 2.2945).
Try it
lookup required: ids

Look up one or more OpenStreetMap objects by their OSM IDs (e.g. "N123456,W654321,R111"). Prefix N=node, W=way, R=relation.

Parameters
Name Type Description
ids req string Comma-separated list of OSM IDs with type prefix (e.g. "N123456,W654321"). N=node, W=way, R=relation.
Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/nominatim/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/nominatim/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_address","arguments":{"query": "hello"}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_address", {"query":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("forward and reverse geocoding using openstreetmap nominatim");

Related packs

Other Pipeworx packs in the same categories (Geography):