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
| Name | Type | Required | Description |
|---|---|---|---|
qids | array | no | Wikidata Q-ids to reconcile, up to ${MAX_ENTITIES} — an array of strings or a comma/pipe-joined |
items | string | no | |
sparql | string | no | A SPARQL SELECT that binds ?item to the Wikidata items to reconcile (up to ${MAX_SPARQL_ROWS} used) — |
osm_filter | string | yes | OSM tag filter(s) candidates must carry, as key=value, e.g. “power=plant” — or several alternatives |
languages | string | no | |
radius_m | number | no | Search 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_s | number | no | Timeout 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.