data
OpenStreetMap CLI for AI Agents
Use the OpenStreetMap CLI from KosmoKrator to call OpenStreetMap tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.OpenStreetMap CLI Setup
OpenStreetMap can be configured headlessly with `kosmokrator integrations:configure openstreetmap`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure openstreetmap --enable --read allow --write ask --json
kosmokrator integrations:doctor openstreetmap --json
kosmokrator integrations:status --json Credentials
Authentication type: No credentials none. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.
No credentials are required.
Command Patterns
The generic command is stable across every integration. The provider shortcut is shorter for humans.
kosmo integrations:call openstreetmap.openstreetmap_nominatim_search '{}' --json kosmo integrations:openstreetmap openstreetmap_nominatim_search '{}' --json Discovery
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs openstreetmap --json
kosmo integrations:docs openstreetmap.openstreetmap_nominatim_search --json
kosmo integrations:schema openstreetmap.openstreetmap_nominatim_search --json
kosmo integrations:search "OpenStreetMap" --json
kosmo integrations:list --json Automation Contexts
The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.
CLI Functions
Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.
openstreetmap.openstreetmap_nominatim_search
Search for places by free-form or structured address query.
read - Parameters
- none
kosmo integrations:call openstreetmap.openstreetmap_nominatim_search '{}' --json kosmo integrations:openstreetmap openstreetmap_nominatim_search '{}' --json openstreetmap.openstreetmap_nominatim_reverse
Reverse geocode latitude and longitude.
read - Parameters
- none
kosmo integrations:call openstreetmap.openstreetmap_nominatim_reverse '{}' --json kosmo integrations:openstreetmap openstreetmap_nominatim_reverse '{}' --json openstreetmap.openstreetmap_nominatim_lookup
Look up address details by OSM object IDs.
read - Parameters
- none
kosmo integrations:call openstreetmap.openstreetmap_nominatim_lookup '{}' --json kosmo integrations:openstreetmap openstreetmap_nominatim_lookup '{}' --json openstreetmap.openstreetmap_nominatim_details
Get detailed Nominatim place information.
read - Parameters
- none
kosmo integrations:call openstreetmap.openstreetmap_nominatim_details '{}' --json kosmo integrations:openstreetmap openstreetmap_nominatim_details '{}' --json openstreetmap.openstreetmap_nominatim_status
Check Nominatim service status.
read - Parameters
- none
kosmo integrations:call openstreetmap.openstreetmap_nominatim_status '{}' --json kosmo integrations:openstreetmap openstreetmap_nominatim_status '{}' --json openstreetmap.openstreetmap_overpass_query
Execute an Overpass QL query.
read - Parameters
- none
kosmo integrations:call openstreetmap.openstreetmap_overpass_query '{}' --json kosmo integrations:openstreetmap openstreetmap_overpass_query '{}' --json openstreetmap.openstreetmap_overpass_status
Check Overpass API status.
read - Parameters
- none
kosmo integrations:call openstreetmap.openstreetmap_overpass_status '{}' --json kosmo integrations:openstreetmap openstreetmap_overpass_status '{}' --json openstreetmap.openstreetmap_object_url
Build a stable OpenStreetMap node, way, or relation URL.
read - Parameters
- none
kosmo integrations:call openstreetmap.openstreetmap_object_url '{}' --json kosmo integrations:openstreetmap openstreetmap_object_url '{}' --json openstreetmap.openstreetmap_map_url
Build a stable OpenStreetMap map URL for coordinates.
read - Parameters
- none
kosmo integrations:call openstreetmap.openstreetmap_map_url '{}' --json kosmo integrations:openstreetmap openstreetmap_map_url '{}' --json Function Schemas
Use these parameter tables when building CLI payloads without calling integrations:schema first.
openstreetmap.openstreetmap_nominatim_search 0 parameters
kosmo integrations:schema openstreetmap.openstreetmap_nominatim_search --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
openstreetmap.openstreetmap_nominatim_reverse 0 parameters
kosmo integrations:schema openstreetmap.openstreetmap_nominatim_reverse --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
openstreetmap.openstreetmap_nominatim_lookup 0 parameters
kosmo integrations:schema openstreetmap.openstreetmap_nominatim_lookup --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
openstreetmap.openstreetmap_nominatim_details 0 parameters
kosmo integrations:schema openstreetmap.openstreetmap_nominatim_details --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
openstreetmap.openstreetmap_nominatim_status 0 parameters
kosmo integrations:schema openstreetmap.openstreetmap_nominatim_status --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
openstreetmap.openstreetmap_overpass_query 0 parameters
kosmo integrations:schema openstreetmap.openstreetmap_overpass_query --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
openstreetmap.openstreetmap_overpass_status 0 parameters
kosmo integrations:schema openstreetmap.openstreetmap_overpass_status --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
openstreetmap.openstreetmap_object_url 0 parameters
kosmo integrations:schema openstreetmap.openstreetmap_object_url --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
openstreetmap.openstreetmap_map_url 0 parameters
kosmo integrations:schema openstreetmap.openstreetmap_map_url --json | Parameter | Type | Required | Description |
|---|---|---|---|
| No parameters. | |||
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults with
integrations:configure. Add --force only for trusted automation that should bypass that policy.