Official MCP server for IP geolocation, security, ASN, abuse, timezone, astronomy, and user-agent.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by IPGeolocation.io MCP Server.
lookup_ipLocation, timezone, currency, ASN for one IP
get_my_ipPublic IP of the machine running the server
lookup_currencyCurrency and country metadata for one IP
get_timezoneTimezone by name, location, IP, airport code, or UN/LOCODE
convert_timezoneConvert time between two locations
get_astronomySunrise, sunset, moonrise, moonset, twilight, moon phase for one date
Official MCP server for IPGeolocation.io. Includes 16 MCP tools: IP geolocation, threat/VPN/proxy detection, timezone lookups and conversions, sunrise/sunset/moon data, ASN details, abuse contacts, and user-agent parsing. Seven tools work on the free plan (1,000 credits/day). Paid plans unlock all 16 plus bulk endpoints (up to 50,000 items per call; default 1,000, configurable via IPGEOLOCATION_MCP_MAX_BULK_ITEMS).
Works with Claude Desktop, Cursor, Windsurf, VS Code, Codex, Cline, Glama, and any other MCP client.
| Item | Value |
|---|---|
| Package | ipgeolocation-io-mcp |
| Version | 2.0.0 |
| Transport | stdio |
| Node.js | >=22 |
Cursor users can install in one click:
Add this to your MCP client config (see Install by Client below for the exact config file path for your client):
Restart your client.
Test it: ask "Where is 8.8.8.8 located?"
npx available in your terminalget_my_ip works without an API key. Everything else requires one.
Sign up for a free IPGeolocation API key
Start a new Codex session after adding the server.
Add to claude_desktop_config.json:
Restart Claude Desktop after saving. We also ship manifest.json for clients that support MCP Bundles.
Open MCP Servers panel > Configure > Advanced MCP Settings. Add to cline_mcp_settings.json:
Restart Cline after saving.
One-click install:
Or add to .cursor/mcp.json manually:
Restart Cursor after saving.
Add to ~/.codeium/windsurf/mcp_config.json:
Restart Windsurf after saving.
Add to your VS Code settings.json:
Restart VS Code after saving.
You can try the server on Glama directly. Only IPGEOLOCATION_API_KEY is required. Leave other environment variable fields empty unless you want to change cache, timeout, or output limits.
If you don't have a key yet, create a free IPGeolocation API key.
Use this config:
Try these after setup:
| Prompt | Expected tool |
|---|---|
| Where is 8.8.8.8 located? | lookup_ip |
| For IP 49.12.212.42, give me security verdict, company, ASN, and city. | lookup_ip with fields and include=security |
| Is 2.56.12.11 safe to allow and what is the abuse contact email? | lookup_ip with include=security,abuse |
| For AS1, list upstream ASN numbers only. | lookup_asn with include=upstreams |
| Convert 2026-03-07 09:30 from New York to Tokyo time. | convert_timezone |
| Give sunrise times for Karachi from 2026-03-10 to 2026-03-15. | get_astronomy_time_series |
| Parse this user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 | parse_user_agent |
1,000 credits per day. These 7 tools are available:
| Tool | Credits | What it does |
|---|---|---|
lookup_ip | 1 | Location, timezone, currency, ASN for one IP |
get_my_ip | 0 | Public IP of the machine running the server |
lookup_currency | 1 | Currency and country metadata for one IP |
get_timezone | 1 | Timezone by name, location, IP, airport code, or UN/LOCODE |
convert_timezone | 1 | Convert time between two locations |
get_astronomy | 1 | Sunrise, sunset, moonrise, moonset, twilight, moon phase for one date |
get_astronomy_time_series | 1 | Daily astronomy data for a date range (up to 90 days) |
All 16 tools. Paid plans also add network, company, and extended asn fields to lookup_ip, plus the include parameter for security, abuse, hostname, liveHostname, hostnameFallbackLive, user_agent, geo_accuracy, dma_code, or *.
| Tool | Credits | What it does |
|---|---|---|
bulk_lookup_ip | 1 per IP | Batch geolocation, up to 50,000 IPs (default 1,000) |
check_security | 2 | VPN, proxy, Tor, bot, spam, and threat flags |
bulk_security_check | 2 per IP | Batch threat checks |
lookup_company | 1 | Company name and ASN holder for one IP |
lookup_network | 1 | Route prefix, connection type, anycast status |
parse_user_agent | 1 | Parse one UA string into browser, device, OS, engine |
bulk_parse_user_agent | 1 per UA | Batch UA parsing, up to 50,000 strings (default 1,000) |
lookup_asn | 1 | ASN details, peers, upstreams, downstreams, routes, WHOIS |
get_abuse_contact | 1 | Abuse contact emails, phone, address, route |
Credit math for lookup_ip with include:
| Combination | Total credits |
|---|---|
| Base lookup | 1 |
include=security | 3 |
include=abuse | 2 |
include=* | 4 |
include=security&fields=security | 2 |
include=abuse&fields=abuse | 1 |
For current plan details and pricing, see the IPGeolocation pricing page.
Single IP or domain lookup. Free and paid. 1 credit.
Use this when you need location, timezone, currency, or ASN for one IP address. On paid plans you can add include modules to pull security, abuse, or hostname data in the same call, which avoids extra requests.
Free plan returns base location, country metadata, currency, timezone, and basic ASN. Paid plans add network, company, extended ASN, and the include parameter. Note that domain lookups require a paid plan.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ipgeolocation-io-mcp-server)<a href="https://allmcps.com/mcp/ipgeolocation-io-mcp-server"><img src="https://allmcps.com/api/badge/ipgeolocation-io-mcp-server?style=directory" alt="IPGeolocation.io MCP Server on AllMCPs" /></a>