0n3
MCP servers · OpenStreetMap · MCP server

Connect Codex CLI to OpenStreetMap

One line gives Codex CLI your OpenStreetMap account as tools: 13 endpoints, notes, traces, map data, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.

Get the line for Codex CLIConnect OpenStreetMap first

Three steps

  1. Create a free 0n3 account and connect OpenStreetMap. Paste a key or sign in; it lands in your vault, encrypted.
  2. Install 0n3 into Codex CLI. OpenAI's helper in your Terminal. Paste two lines.
  3. Ask Codex CLI: whoami. Then: "Search notes in OpenStreetMap".
First, paste this in Terminal and press Enter
export ON3_TOKEN="<your 0n token>"

This tells your computer your 0n3 key.

The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.

What Codex CLI can then do in OpenStreetMap

Notes · Map notes: read them, leave one where the map is wrong5
Search notesGET /notes/search.json
Notes in areaGET /notes.json
Get a noteGET /notes/{id}.json
Create a notePOST /notes.json
Comment notePOST /notes/{id}/comment.json
Traces · GPS traces uploaded to the account2
My tracesGET /user/gpx_files.json
Get a traceGET /gpx/{id}/details
Map data · Raw map data for a small bounding box, or one element by id1
MapGET /map.json
Account · The signed-in mapper and what this connection may do0
The signed-in mapper and what this connection may do
More · Everything else this app exposes.5
MeGET /user/details.json
PermissionsGET /permissions.json
NodeGET /node/{id}.json
WayGET /way/{id}.json
RelationGET /relation/{id}.json

OpenStreetMap in other AI clients

Claude Code + OpenStreetMapMCP server + skillClaude (desktop & claude.ai) + OpenStreetMapconnectorChatGPT + OpenStreetMapconnector · GPT actionGrok Bot (xAI) + OpenStreetMapcustom connectorGemini CLI + OpenStreetMapMCP serverCursor + OpenStreetMapMCP serverVS Code (Copilot) + OpenStreetMapMCP serverWindsurf + OpenStreetMapMCP server

Codex CLI with other apps

Hostinger363 endpointsPipedrive310 endpointsTelegram132 endpointsResend67 endpointsSquare57 endpointsLinkedIn50 endpointsSlack45 endpointseBay42 endpointsCRM35 endpointsFigma32 endpointsCloudConvert32 endpointsMicrosoft 36526 endpoints