# Geo Reconcile [Health: Active]

**Category:** 🗺️ Location Services  
**Repository:** https://github.com/pipeworx-io/mcp-geo-reconcile  
**GitHub Stars:** 0  
**npm Downloads (last month):** 790  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/geo-reconcile

## Description
Wikidata <-> OpenStreetMap reconciliation.

## Tools
Capabilities this server exposes over MCP:

- **reconcile_wikidata_osm** — Reconcile a set of Wikidata items against OpenStreetMap features of a given tag — the join Wikidata<->OSM community mapping efforts need before editing anything. Give either explicit Q-ids ("qids") or a SPARQL query that selects them ("sparql", must bind ?item to a wd:Q... URI — used to discover an arbitrary class, e.g. "every power station in country X"), plus an OSM tag filter ("osm_filter", e.g. "power=plant"). Fetches each item's coordinate (P625) and labels in the requested languages, searches OSM within radius_m of each, and scores candidates on THREE signals: an existing `wikidata=` tag (ground truth when present), cross-lingual name agreement, and distance. Returns one of four DISTINCT states per item: "matched" (confident link + evidence), "ambiguous" (2+ plausible candidates, ALL returned with scores — never auto-resolved), "unmatched" (the OSM search completed and found nothing plausible), or "error" (the search did NOT complete — no Wikidata coordinate, the item didn't resolve, or the Overpass call failed/timed out/was capped). "error" is never collapsed into "unmatched": a failed lookup is not evidence a thing is missing from OSM. Read-only — this does not write to Wikidata, Wikipedia or OpenStreetMap.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "geo-reconcile": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-geo-reconcile"]
  }
}
```

## Documentation

## What Geo Reconcile does

Geo Reconcile checks whether Wikidata items correspond to nearby OpenStreetMap features. It is designed for reconciliation work that precedes linking records or editing either dataset. The tool can process an explicit list of Wikidata Q-ids or discover items from a caller-supplied SPARQL SELECT query. A selector only needs to bind `?item` to Wikidata entities; labels and coordinates are retrieved separately.

For each resolved item, the service obtains the P625 coordinate and labels in the requested languages. It then searches OpenStreetMap for features matching an OSM tag filter, such as `power=plant`, within a configured radius. Candidate scoring combines three signals: an existing `wikidata=` tag, agreement between names across languages, and geographic distance.

The operation does not write to Wikidata, Wikipedia, or OpenStreetMap. It provides evidence for a human or another workflow to assess.

## How it works

The `reconcile_wikidata_osm` call accepts either `qids` or `sparql`, along with `osm_filter`. Optional inputs control the label languages, search radius, and Overpass timeout. Wikidata API requests resolve labels and coordinates, while the Wikidata Query Service is used only when a SPARQL selector is supplied. An Overpass query searches a bounding box covering the resolved item coordinates.

Each item receives one of four separate states:

- `matched` indicates a confident link with supporting evidence.
- `ambiguous` returns every plausible candidate with scores instead of choosing automatically. It also covers conflicts where multiple OSM features carry the same Wikidata identifier.
- `unmatched` means the OSM search completed but found no plausible feature.
- `error` means the lookup did not complete, for example because the item lacked a coordinate, could not be resolved, or Overpass failed, timed out, or returned a capped result.

An OSM `wikidata=` tag for a different item is treated as negative evidence. Such candidates are excluded from positive matching and exposed through `nearby_conflicting_tags`, helping identify cases where Wikidata and OSM represent different geographic granularities.

## Setup and configuration

A hosted MCP endpoint is available at `https://gateway.pipeworx.io/geo-reconcile/mcp`. Add that URL as the `geo-reconcile` MCP server in a client that supports remote MCP connections. The README gives configuration examples for Claude Desktop, Cursor, and Windsurf.

A full Pipeworx gateway connection is also available at `https://gateway.pipeworx.io/mcp`. The pack endpoint lists the reconciliation tool alongside shared Pipeworx meta-tools; the gateway endpoint exposes the broader catalog directly. The exact tool scope is reported by the connection’s `initialize` response.

The package `@pipeworx/mcp-geo-reconcile` provides a local stdio bridge that can be started with `npx`. It forwards requests to the hosted gateway and therefore needs network access; it does not provide offline operation. The service is keyless: Wikidata, the Wikidata Query Service, and public Overpass services do not require API keys.

## Tools and capabilities

### `reconcile_wikidata_osm`

Use this tool to reconcile a selected set of Wikidata items against OSM features matching a tag filter. It supports:

- Q-id lists or SPARQL-based item discovery
- Requested label languages
- Configurable geographic radius
- Configurable Overpass timeout
- Candidate scores and evidence
- Separate handling of ambiguity, absence, and lookup failure
- Read-only access to all three upstream data services

The OSM request can fail over across public Overpass instances. Results may indicate a capped search when the response limit prevents a complete absence determination.

## Limitations and notes

A Wikidata item without a P625 coordinate cannot be geographically searched and is reported as `error`, not `unmatched`. Likewise, an Overpass response containing a runtime remark or timeout is treated as a failed search even if it uses HTTP 200 or contains no elements.

The feature response is capped at 4,000 elements. When that cap is reached, otherwise empty results are reported as errors because the search cannot establish that the area contains no suitable feature. Ambiguous candidates are never automatically resolved, and conflicting Wikidata tags can indicate that one OSM feature represents an aggregate or differently scoped entity.

The service depends on live network access to Wikidata and public Overpass infrastructure. Its first proving case involved Georgian power stations, but the reconciliation logic accepts general Wikidata item selections and OSM tag filters.

_Full upstream README: https://allmcps.com/mcp/geo-reconcile/readme_

