Skip to content

OSM Tagging Schema MCP

osm-tagging-schema-mcp

A Model Context Protocol server that gives AI agents access to the OpenStreetMap tagging schema from @openstreetmap/id-tagging-schema. An agent can validate tags, query values, search and read presets, compare tag sets and get suggestions.

The answers come from the schema data only: the server does not query OSM and has no AI inside. It has no user interface, so you need an MCP client such as Claude Code. To edit the map by hand, use iD or JOSM.

Add the server to Claude Code:

Terminal window
# npx
claude mcp add --transport stdio osm-tagging-schema -- npx -y @gander-tools/osm-tagging-schema-mcp
# Docker
claude mcp add --transport stdio osm-tagging-schema -- docker run -i --rm ghcr.io/gander-tools/osm-tagging-schema-mcp:latest

This is a proof of concept. It works well for format conversion, comparing tag sets, reading presets and values, and validating popular tags. It is weak at detecting deprecated tags and at search (typos, multiple words, keys with a colon). See the limitations of each tool.