
Location intelligence gateway across 10 providers (OpenStreetMap, OSRM, Google, Yelp, Foursquare, US Census, Kakao, Naver, Baidu, your own CSV): place search, geocoding, directions + distance matrices, travel-time isochrones, and commercial-area analysis (category density, ratings, demographics). Multi-provider merge + dedup with per-field provenance, cost budgets, and a policy engine that enforces each provider’s caching/attribution terms. Works with zero API keys. npx -y @geowirehq/mcp
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Inspect callable tools, capabilities, and parameters exposed to AI agents by Geowire.
search_placesNatural-language + coordinate/region place search
get_placeDetails by `provider:providerPlaceId` reference
geocode_addressAddress → coordinates (+ normalized address)
reverse_geocodeCoordinates → nearest address
get_directionsRoute between waypoints (distance, time, legs) — no key (OSRM)
distance_matrixN×M travel distances/times — rank candidates by drive time — no key
Give any AI agent real-world location intelligence in 5 minutes — no API key required.
One interface for place search, directions, and area/market analysis across every map provider.
GeoWire is an open-source geo intelligence gateway that sits between AI agents and map/place data providers (OpenStreetMap, Google, Yelp, Foursquare, US Census, your own data) and exposes them through a single MCP server, REST API, and SDK. One interface for place search, geocoding, directions & distance matrices, and commercial-area analysis (density, ratings, demographics) — with provider fallback, multi-provider merge + dedup, cost budgets, and a policy engine that enforces each provider's caching/attribution terms.
Published on npm — MCP · REST · CLI · SDK all functional. 10 providers, 8 operations.
Honest by design: OpenStreetMap (the zero-key default) is a great geocoder — strong on place names, addresses, and landmarks — but thin on category words ("coffee", "pharmacy"), ratings, and hours. For US/Western commercial data, add a Google, Yelp, or Foursquare key (BYOK) — GeoWire merges them and tells you which source every field came from. Directions run key-free on OpenStreetMap routing (OSRM); US demographics come from the Census (free key).
Contents: Why · Quickstart · MCP tools · REST · Anatomy of a response · Config · Providers · Recipes & examples · Roadmap · Architecture
| Direct integration | Single-provider MCP | GeoWire | |
|---|---|---|---|
| Unified place schema | ❌ per-provider code | ❌ | ✅ |
| Provider fallback on failure | ❌ | ❌ | ✅ |
| Multi-provider merge + dedup | ❌ | ❌ | ✅ |
| Cost budgets & routing | ❌ | ❌ | ✅ |
| Works without any API key | ❌ | depends | ✅ (OSM by default) |
| Self-hosted | — | depends | ✅ |
| Your own place data as a provider | ❌ | ❌ | ✅ |
| Transparent provenance (which source, what cost) | ❌ | ❌ | ✅ (every response) |
Not a Google replacement — it uses Google. The thing no single provider can do: merge your own store data + Google + OSM into one deduped record, with per-field provenance (your name is authoritative, Google adds ratings, OSM adds coordinates). Real run below:
Once your agent can find places, it can reason about areas. One analyze_area
call turns a point + radius into a commercial-district read — category density,
competition, the rating landscape, and (in the US) demographics:
Same gateway also does directions & distance matrices and travel-time isochrones — key-free via OSRM — so an agent can rank candidates by drive time and answer catchment questions like "what's within a 15-minute drive of this address?" See Recipes.
Add this to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):
Then ask: "Where is the Golden Gate Bridge?", "Find coffee within 2 km of
37.7749, -122.4194 (San Francisco).", or "How do I drive from downtown SF to
Fisherman's Wharf?" Works with zero API keys — OpenStreetMap + OSRM routing
are the defaults. Add "env": { "GOOGLE_MAPS_API_KEY": "..." } (or YELP_API_KEY)
for ratings, reviews, and hours, and "CENSUS_API_KEY" for area demographics.
See more MCP client configs.
Add --json to any command for the full response (results + provenance meta).
Or with docker compose up (see docker-compose.yml). API docs at /docs.
Full embedded-SDK guide: examples/typescript-sdk.md.
| Tool | Description |
|---|---|
search_places | Natural-language + coordinate/region place search |
get_place | Details by provider:providerPlaceId reference |
geocode_address | Address → coordinates (+ normalized address) |
reverse_geocode | Coordinates → nearest address |
get_directions | Route between waypoints (distance, time, legs) — no key (OSRM) |
distance_matrix | N×M travel distances/times — rank candidates by drive time — no key |
analyze_area | Commercial-area analysis: category density, competition, rating landscape, demographics |
get_isochrone | Travel-time reachability polygon ("what's within a 15-min drive") — no key (OSRM) |
get_demographics | Population / age / income for a coordinate's area (US Census, free key) |
list_geo_providers | Active providers, capabilities, status (agent self-awareness) |
Every response includes both a human-readable summary and structuredContent
(schema-valid JSON).
| Method | Path | |
|---|---|---|
| POST | /v1/places/search | search |
| GET | /v1/places/{ref} | place details (provider:id) |
| GET | /v1/geocode?address= | geocode |
| GET | /v1/reverse-geocode?lat=&lon= | reverse geocode |
| POST | /v1/directions | directions between waypoints (no key) |
| POST | /v1/distance-matrix | N×M travel distance/time matrix (no key) |
| POST | /v1/analyze-area | commercial-area analysis (density, competition, ratings, demographics) |
| POST | /v1/isochrone | travel-time reachability polygon (no key) |
| GET | /v1/demographics?lat=&lon= | area demographics (US Census, free key) |
| GET | /v1/providers | list providers |
| GET | /v1/health | health check |
| GET | /metrics | Prometheus metrics |
| GET | /docs | Swagger UI (OpenAPI 3.1) |
| POST | /mcp | MCP over Streamable HTTP |
Optional Bearer auth: set GEOWIRE_API_KEYS=key1,key2.
No black box. Every response carries a meta block: which providers were
used / skipped / failed (and why), dedup counts, cache status, estimated
cost, and per-field sourcing — so you always know where each value came from.
After a merge, sources[].fields shows (say) the phone came from Google while
the coordinates came from OSM. Walkthrough: docs/recipes.md.
geowire.config.yaml:
Keys come from the environment (${VAR}), never committed in plaintext.
| Provider | Key? | Capabilities |
|---|---|---|
@geowirehq/provider-nominatim (OpenStreetMap) | none | search, geocode, reverseGeocode |
@geowirehq/provider-osrm (OpenStreetMap routing) | none | route, distanceMatrix |
@geowirehq/provider-google (Maps Platform) | BYOK | search, geocode, reverseGeocode, getPlace, route, distanceMatrix |
@geowirehq/provider-kakao (카카오맵, KR) | BYOK KAKAO_REST_API_KEY | search, geocode, reverseGeocode |
@geowirehq/provider-naver (네이버 지역검색, KR) | BYOK NAVER_CLIENT_ID+NAVER_CLIENT_SECRET | search, geocode |
@geowirehq/provider-baidu (百度地图, CN) | BYOK BAIDU_MAP_AK | search, geocode, reverseGeocode |
@geowirehq/provider-foursquare (global POI) | BYOK FOURSQUARE_API_KEY | search, getPlace |
@geowirehq/provider-yelp (US/Western business, ratings & reviews) | BYOK YELP_API_KEY | search, getPlace |
@geowirehq/provider-census (US demographics) | BYOK CENSUS_API_KEY (free) | demographics |
@geowirehq/provider-internal (your CSV) | none | search |
Regional providers make Korea (Kakao/Naver) and China (Baidu) coverage first-class where OSM is thin and Google has gaps — Baidu returns BD-09 coordinates, which GeoWire converts to WGS84 automatically. Merge them all + your own store data into one deduped record.
Providers aren't interchangeable; they're complementary. When merge combines
duplicates, GeoWire doesn't just pick the highest-priority provider's whole record —
it sources each field from the provider that's authoritative for it. Every
provider declares its strengths in its manifest (fieldAuthority), so one merged
place can carry OSM's coordinates, Google's reviews, and Kakao's local name at once:
| Provider | Authoritative for | Role |
|---|---|---|
| Nominatim / OSM | location, address | base map geometry & addresses |
business (rating, hours, reviews), contact | rich business data | |
| Foursquare | business (photos, price), categories | global POI specialist |
| Kakao / Naver / Baidu | name, address | country-specific local names |
| Internal (your CSV) | name, contact, business | your own data is the source of truth |
sources[].fields in every response records which provider contributed which field.
This is the "Stripe for Maps" idea in code: you get one clean place record, and each
part of it comes from whoever knows it best. (Reviews/photos are provider originals —
the policy engine enforces each provider's storage terms; Google originals aren't cached.)
Want another provider? See CONTRIBUTING.md — "Write a provider in 30 minutes".
v0.1 is deliberately "It works" scope. Honest about what's not in it yet:
| Area | Shipped | Planned |
|---|---|---|
| Operations | search, geocode, reverse-geocode, get-place, directions, distance-matrix, area analysis, isochrones | autocomplete (typed, not wired) |
| Strategies | first-success, merge, cost-aware, weighted, fastest | — (all 5 shipped) |
| Field sourcing | role-based merge (each provider's authoritative fields) | per-field config overrides |
| Routing providers | OSRM (no key), Google Routes (BYOK) | Mapbox, Valhalla, HERE |
| Routing | explicit country, free-first cost ordering | country inference from coordinates |
| Analysis | category density / competition / rating landscape, US demographics, activity proxy, isochrones (travel-time catchment) | real foot-traffic (paid data), exact isochrones (ORS/Valhalla), Korea demographics (SGIS) |
| Cache | in-memory (LRU) | Redis adapter |
| Providers | OSM, OSRM, Google, Yelp, Foursquare, Census, Kakao, Naver, Baidu, your CSV | Mapbox, HERE, TomTom, … (community PRs welcome) |
| Rate limiting | per-provider (OSM 1 req/s) | global / per-endpoint |
Monorepo packages: schema · provider-sdk · provider-testkit · core ·
providers/* · mcp · apps/server · cli.
Apache-2.0. GeoWire's code license is separate from the terms of third-party map/place data providers — usage of Google, Mapbox, HERE, Kakao, Naver, etc. is governed by each provider's own terms. OSM data is under ODbL; GeoWire's policy engine enforces attribution and caching limits per provider.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/geowire-geowire)<a href="https://allmcps.com/mcp/geowire-geowire"><img src="https://allmcps.com/api/badge/geowire-geowire?style=directory" alt="Geowire on AllMCPs" /></a>