Skip to main content
Glama
canada-geogratis-geolocator

canada-geogratis-geolocator

README.md
# canada-geogratis-geolocator-mcp

Canadian geospatial place lookup and geocoding server over Model Context Protocol (MCP) powered by Natural Resources Canada GeoGratis. Logistics planners, GIS teams, and insurance analysts can locate places, autocomplete official names, geocode postal codes, and inspect National Topographic System (NTS) mapsheets with zero API keys and zero sign-up. It connects right away.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

```text
https://canada-geogratis-geolocator-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `locate_canada_geogratis_place` | Geocode Canadian cities, streets, waterways, and landmarks with WGS84 coordinates and bounding boxes |
| `suggest_canada_geogratis_names` | Autocomplete official Canadian place names and geographic features from Natural Resources Canada |
| `geocode_canada_postal_code` | Resolve a Canadian 3-character FSA or 6-character postal code to WGS84 coordinates and bounding box |
| `lookup_canada_nts_mapsheet` | Look up a Canadian National Topographic System (NTS) 1 to 50k or 1 to 250k mapsheet footprint |
| `search_canada_province_features` | Search Canadian geographic features scoped to a specific province or territory |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "canada-geogratis-geolocator": {
      "url": "https://canada-geogratis-geolocator-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every upstream request queries `geogratis.gc.ca/services/geolocation/en/` with a polite `User-Agent` header (`mcpstamp-canada-geogratis-geolocator/1.0.1 (hello@mcpstamp.com)`) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.

## More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.canada-geogratis-geolocator-mcp) with hosted commercial servers and priority endpoints.

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

Most tools have clearly distinct inputs: postal codes, NTS mapsheets, autocomplete suggestions, and named place search are each unique. However, locate_canada_geogratis_place and search_canada_province_features both perform attribute/name searches over the same GeoGratis feature data, differing mainly by an administrative filter, so an agent could reasonably hesitate between them.

Naming Consistency5/5

All five tools follow the same snake_case verb_canada_<qualifier>_<noun> pattern, with consistent verb-first ordering (locate, suggest, geocode, lookup, search). The repeated 'canada' namespace token reinforces predictability without causing confusion.

Tool Count5/5

Five tools sit comfortably in the well-scoped range for a focused Canadian geolocation server. Each tool maps to a distinct data source or identifier type (place name, autocomplete, postal code, NTS mapsheet, province-scoped search) and none appears redundant.

Completeness3/5

Forward geocoding is well covered across names, postal codes, and mapsheets, but there is no reverse geocoding (coordinates to place) and no tool to enumerate provinces/territories or list features within a bounding box, which are common geolocator workflows. These are notable gaps rather than minor ones for an agent relying on the server end-to-end.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues