AgentStack
MCP verified MIT Self-run

Geolocation Mcp

mcp-7mza-geolocation-mcp · by 7mza

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

No reviews yet
0 installs
8 views
0.0% view→install

Install

$ agentstack add mcp-7mza-geolocation-mcp

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.0.1 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.0.1. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Geolocation Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

GeoLocation MCP Server

Fast and up-to-date IP geolocation data for LLMs

Demo

For public IPv4 / IPv6 address:

  • Flags: isDatacenter, isTorExitNode, isVPN
  • City name, region ISO code, latitude/longitude, accuracy radius, postal code, timezone
  • Country name, ISO code, EU membership/GDPR
  • ASN number, ISP/organization name, network CIDR

MCP tools

| Tool | Description | | ------------------------ | --------------------------------------------- | | getGeoLocationData | single IP lookup | | getGeoLocationDataBulk | batch lookup, failed IPs don't block the rest |

Data sources

| Data | Source | Refresh | | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | -------------------- | | City / ASN | GeoLite2 via P3TERX/GeoLite.mmdb | on startup if absent | | Tor exit nodes | Tor Project | daily | | VPN / Datacenter ranges | X4BNet/listsvpn | daily |

Usage

# named volume so DBs persist across restarts
docker run -p 8891:8080 -v geolocation_data:/home/nonroot/.geolocation-mcp 7mza/geolocation-mcp:latest

or with compose

services:
  geolocation-mcp:
    image: 7mza/geolocation-mcp:latest
    ports:
      - '8891:8080'
    restart: unless-stopped
    volumes:
      - geolocation_data:/home/nonroot/.geolocation-mcp
volumes:
  geolocation_data:
    name: geolocation_data

Connect your LLM:

# example for claude
claude mcp add --transport http geolocation http://localhost:8891/mcp

Test with MCP inspector:

npm i && npm run mcp
# transport: streamable
# url: http://localhost:8891/mcp

Build from source

Requires SDKMAN and nvm.

nvm use && npm i && sdk env install

JVM:

./gradlew clean ktlintFormat ktlintCheck build
./gradlew bootRun

Native:

./gradlew clean ktlintFormat ktlintCheck build -PgenerateMetadata
./gradlew buildImage
docker run -p 8891:8080 -v geolocation_data:/home/nonroot/.geolocation-mcp 7mza/geolocation-mcp:latest

License

GeoLite2 DBs are subject to the GeoLite2 EULA.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.0.1 Imported from the upstream source.