G
gridpin/gridpin
Offline geocoder: a country in a file. Forward and reverse geocoding with Python, CLI, DuckDB and an MCP server for AI agents. No server, no API key.
SECURITY.md ✓
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
- 复制上面的命令
- 粘成
claude_desktop_config.json里mcpServers的一项(本地服务器用 command + args,示例见 客户端接法) - 重启客户端
取自该仓库的安装命令
claude mcp add gridpin -- uvx gridpin-mcp, details in mcp/README.md.
解析自我们于 2026-10-26 抓取的该仓库 README;我们未执行过。
这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 4 ★ · gridpin/gridpin · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-10-23 · 最近见到 2026-11-14 · 共见到 26 次 · 被 23 个来源列出
- 评分构成
- 综合分 2,300 · 4 ★ · 23 个来源 · mcp
- 安装
claude mcp add gridpin -- uvx gridpin-mcp, details in mcp/README.md.
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
claude mcp add gridpin -- uvx gridpin-mcp, details in mcp/README.md.。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
gridpin/gridpin;我们收录于 2026-10-23;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# GridPin
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
A country in a file — offline forward and reverse geocoding.
## Quick start
console
$ pip install gridpin gridpin-mcp
$ gridpin-fetch fr # France sheet, 365 MB, checked against the signed release; prints its path
python
import gridpin
from gridpinmcp import sheets
g = gridpin.Geocoder(str(sheets.download("fr"))) # no-op once the sheet is downloaded
g.geocode("1 rue de la Paix, Paris", 1)
No install: try it in Colab
— the Serbia sheet, forward, reverse and batch geocoding in five minutes.
Countries: us de fr it es nl br rs (gridpin-fetch --list). For AI agents there is an
MCP server — claude mcp add gridpin -- uvx gridpin-mcp, details in mcp/README.md.
Everything after the download runs offline.
If GridPin is useful to you, a star on GitHub helps other people find it.
GridPin is an offline geocoder: a country in a data file, memory-mapped and ready in milliseconds, with no server, no database import, and no network. It resolves addresses to coordinates (forward) and coordinates to the nearest indexed address (reverse — approximate: streets are indexed by centroid, so each result carries its distancem). On a single arm64 laptop core, measured on the France sheet: exact address lookups run at ~3,000/s, reverse geocoding at ~1,800/s, and typo-tolerant fuzzy matching much slower — tens of milliseconds per query, so batch it across cores when you feed it messy input. The engine and every query run fully offline — not a byte of what you geocode leaves your machine; the only network step is you downloading a sheet yourself, and a downloaded sheet carries no query data. Because you compute results locally from openly licensed data, you may store them forever, which hosted geocoding APIs typically forbid. If you have considered self-hosting Nominatim (a beefy server, days of import) or an on-prem geocoder license, the alternative here is: download one file, open it on any laptop.
## Install
CLI — prebuilt binaries for Linux x8664 (x8664-unknown-linux-gnu),
macOS Apple Silicon (aarch64-apple-darwin) and Windows x8664
(x8664-pc-windows-msvc) are attached to every
GitHub release; other targets
(Intel macOS, Linux arm64/musl, Windows arm) build from source:
console
$ base=https://github.com/gridpin/gridpin/releases/download/v0.5.0
$ curl -fsSLO "$base/gridpin-aarch64-apple-darwin.tar.gz"
$ curl -fsSLO "$base/gridpin-release-signers"
$ curl -fsSLO https://dl.gridpin.dev/v0.5.0/attestation.json
$ curl -fsSLO https://dl.gridpin.dev/v0.5.0/attestation.json.sig
# the trust root comes from the OTHER channel — see "Verifying a release" for why
$ ssh-keygen -Y verify -f gridpin-release-signers -I gridpin-release \
-n gridpin-g02 -s attestation.json.sig .zip from the releases page: it is built for DuckDB 1.5.5 only. It is a loadable
extension, so authenticate it before you load it — same three lines as the CLI archive above,
with gridpinext- .zip as the asset name:
console
$ ssh-keygen -Y verify -f gridpin-release-signers -I gridpin-release \
-n gridpin-g02 -s attestation.json.sig coordinates, top 3 candidates
$ gridpin query france.bin "1 rue de la Paix Paris" -k 3
# reverse: coordinates -> nearest indexed address (approximate; each hit carries distancem)
## Quick start
console
$ pip install gridpin gridpin-mcp
$ gridpin-fetch fr # France sheet, 365 MB, checked against the signed release; prints its path
python
import gridpin
from gridpinmcp import sheets
g = gridpin.Geocoder(str(sheets.download("fr"))) # no-op once the sheet is downloaded
g.geocode("1 rue de la Paix, Paris", 1)
No install: try it in Colab
— the Serbia sheet, forward, reverse and batch geocoding in five minutes.
Countries: us de fr it es nl br rs (gridpin-fetch --list). For AI agents there is an
MCP server — claude mcp add gridpin -- uvx gridpin-mcp, details in mcp/README.md.
Everything after the download runs offline.
If GridPin is useful to you, a star on GitHub helps other people find it.
GridPin is an offline geocoder: a country in a data file, memory-mapped and ready in milliseconds, with no server, no database import, and no network. It resolves addresses to coordinates (forward) and coordinates to the nearest indexed address (reverse — approximate: streets are indexed by centroid, so each result carries its distancem). On a single arm64 laptop core, measured on the France sheet: exact address lookups run at ~3,000/s, reverse geocoding at ~1,800/s, and typo-tolerant fuzzy matching much slower — tens of milliseconds per query, so batch it across cores when you feed it messy input. The engine and every query run fully offline — not a byte of what you geocode leaves your machine; the only network step is you downloading a sheet yourself, and a downloaded sheet carries no query data. Because you compute results locally from openly licensed data, you may store them forever, which hosted geocoding APIs typically forbid. If you have considered self-hosting Nominatim (a beefy server, days of import) or an on-prem geocoder license, the alternative here is: download one file, open it on any laptop.
## Install
CLI — prebuilt binaries for Linux x8664 (x8664-unknown-linux-gnu),
macOS Apple Silicon (aarch64-apple-darwin) and Windows x8664
(x8664-pc-windows-msvc) are attached to every
GitHub release; other targets
(Intel macOS, Linux arm64/musl, Windows arm) build from source:
console
$ base=https://github.com/gridpin/gridpin/releases/download/v0.5.0
$ curl -fsSLO "$base/gridpin-aarch64-apple-darwin.tar.gz"
$ curl -fsSLO "$base/gridpin-release-signers"
$ curl -fsSLO https://dl.gridpin.dev/v0.5.0/attestation.json
$ curl -fsSLO https://dl.gridpin.dev/v0.5.0/attestation.json.sig
# the trust root comes from the OTHER channel — see "Verifying a release" for why
$ ssh-keygen -Y verify -f gridpin-release-signers -I gridpin-release \
-n gridpin-g02 -s attestation.json.sig .zip from the releases page: it is built for DuckDB 1.5.5 only. It is a loadable
extension, so authenticate it before you load it — same three lines as the CLI archive above,
with gridpinext- .zip as the asset name:
console
$ ssh-keygen -Y verify -f gridpin-release-signers -I gridpin-release \
-n gridpin-g02 -s attestation.json.sig coordinates, top 3 candidates
$ gridpin query france.bin "1 rue de la Paix Paris" -k 3
# reverse: coordinates -> nearest indexed address (approximate; each hit carries distancem)
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/gridpin-gridpin-tree-main-mcp/)
- 来源
- awesome · https://github.com/gridpin/gridpin/tree/main/mcp
- 按领域浏览
- MCP 服务
- Traction
- 4 ★(父仓库总星标,不是这一条自己的)
- 收录来源
- 23 个独立来源
- 收录于
- 今天
- 安全策略
- 该仓库根目录有
SECURITY.md(我们只核文件存在,未核内容)
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。