GnistAI GnistAI
Log in

Nominatim Geocoding

Forward and reverse geocoding — address to coordinates and coordinates to address.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 3 tools tools 3 3 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Geography

Data source: OpenStreetMap Nominatim

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/nominatim/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (3)

geocode_address

Convert an address or place name to geographic coordinates.

Forward geocoding: searches OpenStreetMap for matching places and returns
coordinates, display name, and structured address components.

Args:
query: Address or place name (e.g. "Buckingham Palace", "Karl Johans gate 22, Oslo").
limit: Maximum results (1-20, default 5).

ParameterTypeRequiredDescription
querystringrequired
limitintegeroptional (default: 5)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "geocode_address",
    "arguments": {
      "query": "example"
    }
  }
}
reverse_geocode

Convert geographic coordinates to a human-readable address.

Reverse geocoding: looks up what's at the given latitude/longitude and
returns the full address with structured components.

Args:
lat: Latitude (-90 to 90, e.g. 59.9139 for Oslo).
lon: Longitude (-180 to 180, e.g. 10.7522 for Oslo).

ParameterTypeRequiredDescription
latnumberrequired
lonnumberrequired
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "reverse_geocode",
    "arguments": {
      "lat": 1.0,
      "lon": 1.0
    }
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/nominatim/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "geocode_address", "arguments": {"query": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/nominatim/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "geocode_address",
    "arguments": {
      "query": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Geography)

Resources