Geolocation MCP Server

An MCP server that provides fast and up-to-date IP geolocation data.

Local serverstdio

What is the Geolocation MCP server?

An MCP server that provides fast and up-to-date IP geolocation data. That is what the geolocation mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

GeoLite2 DBs are subject to the GeoLite2 EULA.

The tools it exposes

The server publishes 2 tools. What each one is for:

  • getGeoLocationData — single IP lookup
  • getGeoLocationDataBulk — batch lookup, failed IPs don't block the rest

Getting it running

The server ships on a container image as 7mza/geolocation-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Geolocation's toolset — getGeoLocationData, getGeoLocationDataBulk — is a fair guide to whether it matches your workflow. It is maintained by 7mza; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Geolocation's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
getGeoLocationDatasingle IP lookup
getGeoLocationDataBulkbatch lookup, failed IPs don't block the rest

How to install the Geolocation MCP server

{
  "mcpServers": {
    "geolocation": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "7mza/geolocation-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Geolocation to getGeoLocationData.
  • Use Geolocation to getGeoLocationDataBulk.

Frequently asked questions

It connects Geolocation to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (getGeoLocationData, getGeoLocationDataBulk) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Geolocation directly.