OpenStreetMap Nominatim Geocoding Search (nominatim_osm_search): Deterministic MCP & Cached JSON Guide
Connect AI agents and backend pipelines to OpenStreetMap Nominatim Geocoding Search (https://nominatim.openstreetmap.org) via https://devour-fin.fastmesh.dev/v1/organs/nominatim_osm_search/invoke and https://mcp.fastmesh.dev/mcp. Upstream JSON payloads are parsed deterministically with a 30-day cross-tenant cache.
1. Direct REST & MCP Invocation
curl -fsSL -X POST "https://devour-fin.fastmesh.dev/v1/organs/nominatim_osm_search/invoke" \
-H "Content-Type: application/json" \
-d '{"params": {"query": "Washington DC", "limit": 2}}'
JSON-RPC 2.0 MCP call via https://devour-fin.fastmesh.dev/mcp or SuperBus https://mcp.fastmesh.dev/mcp (local upstream port 9053):
{
"jsonrpc": "2.0",
"id": 34,
"method": "tools/call",
"params": {
"name": "nominatim_osm_search",
"arguments": {
"query": "Washington DC",
"limit": 2
}
}
}
2. Deterministic Normalized Output Contract
{
"ok": true,
"slug": "nominatim_osm_search",
"superbus_id": "fingov:nominatim_osm_search",
"hand_id": "fingov_nominatim_osm_search_v1",
"source": "OpenStreetMap Nominatim Geocoding Search",
"verified": true,
"auth_mode": "public_no_auth",
"response_format": "json",
"cache_ttl_days": 30,
"cache_hit": true,
"upstream_calls": 0,
"charged_micros": 0,
"zero_charge_on_empty": true,
"decimal_fields": [
"lat",
"lon",
"importance"
],
"receipt_sha256": "sha256_verified_evidence_digest",
"sample_schema_fields": [
"[].place_id",
"[].osm_type",
"[].osm_id",
"[].lat",
"[].lon",
"[].display_name",
"[].class",
"[].type"
]
}
3. Covered Official Endpoints & Cache Policy
| Organ Slug | Official Source | Format | Cache TTL | Decimal Fields |
|---|---|---|---|---|
nominatim_osm_search | OpenStreetMap Nominatim Geocoding Search | JSON | 30 days | lat, lon, importance |
4. Engineering Guarantees & Anti-Fake-200 Controls
- SuperBus & Organ Identity: Exposed as MCP tool nominatim_osm_search (fingov:nominatim_osm_search on SuperBus, hand_id: fingov_nominatim_osm_search_v1) from OpenStreetMap Foundation.
- Upstream Endpoint: https://nominatim.openstreetmap.org/search?q={query}&format=json&limit={limit} (verified HTTP 200, auth: public_no_auth).
- Empty-Result $0 Rule: Treat top-level [] as empty ($0 billing, do not cache).
- Header & Rate Policy: Strict <= 1 request/sec and descriptive User-Agent mandatory; cache results 30d. Required headers: {"User-Agent": "FinGovMCP/1.0 (+https://devour-fin.fastmesh.dev; compliance-bot@fastmesh.dev)"}.
- Cache & Second-Hit Economics: Verified hits are cached for 30 days; repeat hits consume 0 upstream requests.
- Decimal Fields: Lossless decimal.Decimal parsing on: lat, lon, importance.
5. Prepaid Credit Tiers (Never Expire) & Agent Manifests
Start with the 5-second Try-Now explorer at devour-fin.fastmesh.dev or unlock high-volume cached throughput with Starter ($19), Pro ($79), or Scale ($249) prepaid packs.
skill.md · llms.txt · openapi.json · GET /v1/organs · sitemap.xml
Related FinGov & Regulatory MCP Guides
FastMesh FinGov Deterministic Engine (devour-fin.fastmesh.dev) ·
SuperBus: https://mcp.fastmesh.dev/mcp · Support: ops@fastmesh.dev