reconcile_wikidata_osm

Pack: geo-reconcile · Endpoint: https://gateway.pipeworx.io/geo-reconcile/mcp

Reconcile a set of Wikidata items against OpenStreetMap features of a given tag — the join Wikidata<->OSM

Parameters

NameTypeRequiredDescription
qidsarraynoWikidata Q-ids to reconcile, up to ${MAX_ENTITIES} — an array of strings or a comma/pipe-joined
itemsstringno
sparqlstringnoA SPARQL SELECT that binds ?item to the Wikidata items to reconcile (up to ${MAX_SPARQL_ROWS} used) —
osm_filterstringyesOSM tag filter(s) candidates must carry, as key=value, e.g. “power=plant” — or several alternatives
languagesstringno
radius_mnumbernoSearch radius in metres around each item\x27s coordinate, ${MIN_RADIUS_M}-${MAX_RADIUS_M} (default ${DEFAULT_RADIUS_M}). An OSM feature carrying a matching wikidata= tag is still recognised as “matched” even if it falls outside this radius — the tag is ground truth.
overpass_timeout_snumbernoTimeout passed to the Overpass query itself, ${MIN_OVERPASS_TIMEOUT_S}-${MAX_OVERPASS_TIMEOUT_S} seconds

Example call

Arguments

{
  "qids": [
    "Q162887",
    "Q3650523",
    "Q4501177"
  ],
  "osm_filter": "power=plant",
  "languages": "ka,ru,en",
  "radius_m": 2000
}

curl

curl -X POST https://gateway.pipeworx.io/geo-reconcile/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"reconcile_wikidata_osm","arguments":{"qids":["Q162887","Q3650523","Q4501177"],"osm_filter":"power=plant","languages":"ka,ru,en","radius_m":2000}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('reconcile_wikidata_osm', {
  "qids": [
    "Q162887",
    "Q3650523",
    "Q4501177"
  ],
  "osm_filter": "power=plant",
  "languages": "ka,ru,en",
  "radius_m": 2000
});

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "geo-reconcile": {
      "url": "https://gateway.pipeworx.io/geo-reconcile/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 10, 2026