Geocoding for AI agents, with no API key
gridpin-mcp is an MCP server: your agent gets geocode, reverse and batch tools that run on your machine. Nothing to sign up for.
Add it to your agent
$ claude mcp add gridpin -- uvx gridpin-mcp
{
"mcpServers": {
"gridpin": { "command": "uvx", "args": ["gridpin-mcp"] }
}
}
Tools: list_countries, download_sheet, geocode, reverse, batch. The agent downloads a country file once, checked against the signed release; after that, queries never leave the machine.
Files are stored in ~/.cache/gridpin. For another directory, put GRIDPIN_HOME in the server’s "env" entry: some clients start the server with only a few environment variables, so one exported in your shell does not reach it. The larger country files can take longer to download than a client allows for one tool call; uvx --from gridpin-mcp gridpin-fetch fr in a terminal downloads one beforehand.
Where it is listed
Package: gridpin-mcp on PyPI; MCP Registry: io.github.gridpin/gridpin-mcp; setup guide for agents: llms-install.md.