io.github.gridpin/gridpin-mcp·Travel & maps

GridPin offline geocoder

Offline geocoding and reverse geocoding from one local file per country. No API key, no rate limit.

Stars
0
Version
0.1.0
License
Apache-2.0
Review
Passed
Language
Rust
Last commit
2h ago
Forks
0
Open issues
0
Registry update
Oct 15, 2026
duckdb-extensiongeocodergeocodinggismcp-serverofflineoverture-mapspythonreverse-geocodingrust

Connect

pypi
Terminal
$claude mcp add gridpin-mcp \  -e GRIDPIN_HOME=<gridpin-home> \  -- uvx gridpin-mcp==0.1.0

Environment variables

  • GRIDPIN_HOME

    Directory for downloaded country sheets (default: ~/.cache/gridpin)

Security review

Review passed

Reviewed 2h ago.

metadata
scanned
packages
1 checked

No findings.

Tools

This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.

gridpin-mcp — offline geocoding for AI agents

An MCP server that lets an agent geocode addresses with GridPin: one memory-mapped file per country, read on your machine. No API key, no rate limit, and no query leaves the machine. The only network step is downloading a country sheet once, verified against the signed GridPin release.

Countries (release v0.4.0): Brazil, France, Germany, Italy, Netherlands, Serbia, Spain.

Add it to an agent

Claude Code:

$ claude mcp add gridpin -- uvx gridpin-mcp

Any client that reads an mcpServers config (Claude Desktop, Cursor, ...):

{ "mcpServers": { "gridpin": { "command": "uvx", "args": ["gridpin-mcp"] } } }

Tools

ToolWhat it does
list_countriescovered countries, sheet sizes, which are downloaded
download_sheetfetch one country sheet (32-677 MB) once, verify its SHA-256; the only tool that uses the network
geocodeaddress text -> ranked candidates with lat, lon, precision, confidence
reversecoordinates -> nearest indexed addresses with distance_m
batchup to 1000 addresses of one country per call, in input order

Results are the same as the GridPin CLI, Python and DuckDB return. Treat street or city precision as approximate.

Download a sheet without MCP

$ pip install gridpin-mcp
$ gridpin-fetch fr          # prints the path, e.g. ~/.cache/gridpin/v0.4.0/france.bin
import gridpin
from gridpin_mcp import sheets

path = sheets.download("fr")   # no-op when already downloaded
gridpin.Geocoder(str(path)).geocode("1 rue de la Paix, Paris", 1)

Sheets go to $GRIDPIN_HOME, else $XDG_CACHE_HOME/gridpin, else ~/.cache/gridpin. Sizes and SHA-256 of every sheet are pinned in the package from the signed release attestation; a download that does not match is discarded.

License

Apache-2.0. Sheet data: see attributions.

From the server's repository — third-party content, read it before running anything it suggests.

More in Travel & maps

Listing from the official MCP Registry · repository facts from GitHub, 2h ago.