Osm Tagging Schema MCP logo

Osm Tagging Schema MCP

Queries OpenStreetMap tagging schema data through MCP tools for validation, search, presets, conversion, and tag comparison.

Install Osm Tagging Schema MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "osm-tagging-schema-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@gander-tools/osm-tagging-schema-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @gander-tools/osm-tagging-schema-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 7d ago.

Overview

The osm-tagging-schema-mcp MCP server exposes OpenStreetMap tagging knowledge through deterministic MCP tools backed by the official id-tagging-schema package. It runs over stdio by default or HTTP, and does not make network requests to OpenStreetMap or use an embedded AI model. Reach for it when an AI agent needs to inspect presets, validate popular tags, compare tag sets, convert tag formats, or retrieve known values. Its coverage is based on schema data, so deprecated-tag detection and search have documented gaps.

Use cases

  • Validate popular OpenStreetMap key-value tags
  • Search schema presets and tag definitions
  • Compare two OpenStreetMap tag sets
  • Convert flat tags to JSON and back
  • Retrieve allowed values for a tag key

Key features

  • Schema-backed tag validation
  • Preset and tag search
  • Deprecated tag replacement suggestions
  • Tag-set comparison
  • Flat and JSON tag conversion
  • Preset and allowed-value lookup

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

4/8 checks healthy over the last 46d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · @gander-tools/osm-tagging-schema-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars8Stargazers on the source repository.
npm downloads931Package downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Osm Tagging Schema MCP works

What osm-tagging-schema-mcp does

The osm-tagging-schema-mcp MCP server connects AI agents to the OpenStreetMap iD tagging schema distributed by @openstreetmap/id-tagging-schema. It exposes structured operations for examining presets, fields, translations, deprecated tags, and allowed values. The project currently targets schema version 7 and is described as a proof of concept, so it is better suited to assisted workflows than to treating every result as a complete statement about current OSM practice.

No user interface is included. An MCP-compatible host calls the tools and interprets their responses; the server itself supplies deterministic results from its bundled schema data.

How it works

The process communicates over stdio by default and also supports HTTP. Each request is evaluated against the schema packaged with the server. There is no live OSM lookup, OSM API access, or AI reasoning inside the process.

Validation can check whether a key is known, whether a value is accepted by the matching field, and whether a key or value is deprecated. Suggested replacements may be returned for deprecated entries. Collection validation applies the same general rules to multiple tags.

Setup and configuration

The package can be launched with npx and is documented for use with Claude Code over stdio. The documented package name is @gander-tools/osm-tagging-schema-mcp. A Docker-based Claude Code setup is also shown using the published image ghcr.io/gander-tools/osm-tagging-schema-mcp.

Because the server can run over stdio or HTTP, the MCP host must be configured with the transport and launch details appropriate to the chosen deployment.

Tools and capabilities

The osm-tagging-schema-mcp MCP server provides tools covering several distinct tasks:

  • validate_tag checks individual key-value pairs against schema fields.
  • validate_tag_collection validates a group of tags using the same validation behavior.
  • suggest_improvements looks for a matching preset and possible improvements.
  • get_tag_values returns known values for a tag key.
  • search_tags searches schema keys and related matches.
  • search_presets searches available presets.
  • get_preset_details retrieves information for a preset identifier.
  • compare_tags compares two tag sets without deciding whether either set is correct.
  • flat_to_json and json_to_flat convert between flat tag text and JSON representations.

The conversion tools preserve values containing semicolons, spaces, equals signs, Unicode, colons, and slashes. Invalid inputs produce readable errors or empty results rather than crashing the server, according to the project’s documented testing.

Limitations and notes

The osm-tagging-schema-mcp MCP server does not represent all tags found in the wild or documented on the OSM wiki. Validation accepts custom tags, so typos and foreign values can pass as valid. It detects only a portion of wiki-deprecated tags, and the project records known false deprecation results for railway=platform and railway=station.

Search is another weak area: typo tolerance is absent despite the fuzzy-search description, colon-containing keys may be missed, and multi-word preset searches can return no result. Ranking is limited, and some popular tags do not have presets. compare_tags only compares supplied sets; it does not judge whether a tag is valid. Flat-to-JSON conversion accepts duplicate keys and control characters silently, while JSON-to-flat preserves input order instead of sorting keys.

Use the results as schema-backed guidance for an agent workflow, not as a complete OSM tagging authority.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Osm Tagging Schema MCP

osm-tagging-schema-mcp is an MCP server that connects AI agents to the OpenStreetMap id-tagging-schema package. Its main tools validate tags, search tags and presets, retrieve preset details and values, suggest improvements, compare tag sets, and convert flat tag data to JSON or back.

Install it with the documented `npx` package command or run the published Docker image through an MCP host. The README specifically shows stdio registration commands for Claude Code using `@gander-tools/osm-tagging-schema-mcp`; it does not document required environment variables.

Yes, the README identifies Claude Desktop as an intended AI-system integration. Configure the server as an MCP process using its stdio transport, or use its HTTP transport where supported by the host.

The main limitations are incomplete coverage of wiki and real-world tags, weak deprecated-tag detection, and search gaps involving typos, multi-word queries, and colon-containing keys. Custom tags may be accepted as valid, and comparisons do not determine whether tags are correct.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOsm Tagging Schema MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/osm-tagging-schema-mcp?style=directory)](https://allmcps.com/mcp/osm-tagging-schema-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/osm-tagging-schema-mcp"><img src="https://allmcps.com/api/badge/osm-tagging-schema-mcp?style=directory" alt="Osm Tagging Schema MCP on AllMCPs" /></a>