ipgeolocation-io-mcp

ipgeolocation-io-mcp

IPGeolocation

IP geolocation, VPN detection, timezone & astronomy data, ASN lookups for Claude Desktop, Cursor & other MCP clients via

Official MCP server for IPGeolocation.io providing IP geolocation, VPN/proxy detection, timezone conversions, astronomy data, ASN lookups, and user-agent parsing.

4354 views2Local (stdio)

About ipgeolocation-io-mcp

ipgeolocation-io-mcp is a community-built MCP server published by IPGeolocation that provides AI assistants with tools and capabilities via the Model Context Protocol. IP geolocation, VPN detection, timezone & astronomy data, ASN lookups for Claude Desktop, Cursor & other MCP clients via It is categorized under other. This server exposes 16 tools that AI clients can invoke during conversations and coding sessions.

How to install

You can install ipgeolocation-io-mcp in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

ipgeolocation-io-mcp is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Tools (16)

lookup_ip

Get location, timezone, currency, and ASN data for an IP address or domain

get_my_ip

Get the public IP address of the machine running the server

lookup_currency

Get currency and country metadata for an IP address

get_timezone

Get timezone information by name, location, IP, airport code, or UN/LOCODE

convert_timezone

Convert time between two different timezones

IPGeolocation.io MCP Server

SafeSkill 89/100

npm version GitHub release MCP Registry Glama Node.js License

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 1,000 items per call).

Works with Claude Desktop, Cursor, Windsurf, VS Code, Codex, Cline, Glama, and any other MCP client.

ItemValue
Packageipgeolocation-io-mcp
Version1.0.17
Transportstdio
Node.js>=18

Quick Start

  1. Create a free IPGeolocation API key

  2. Cursor users can install in one click:

    Add to Cursor

  3. Add this to your MCP client config (see Install by Client below for the exact config file path for your client):

{
  "mcpServers": {
    "ipgeolocation": {
      "command": "npx",
      "args": ["-y", "ipgeolocation-io-mcp"],
      "env": {
        "IPGEOLOCATION_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
  1. Restart your client.

  2. Test it: ask "Where is 8.8.8.8 located?"

Table of Contents

Install by Client

Requirements

  • Node.js 18 or later
  • npx available in your terminal
  • An IPGeolocation.io API key for most tools

get_my_ip works without an API key. Everything else requires one.

Sign up for a free IPGeolocation API key

Codex CLI

codex mcp add ipgeolocation --env IPGEOLOCATION_API_KEY=<YOUR_API_KEY> -- npx -y ipgeolocation-io-mcp
codex mcp list

Start a new Codex session after adding the server.

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "ipgeolocation": {
      "command": "npx",
      "args": ["-y", "ipgeolocation-io-mcp"],
      "env": {
        "IPGEOLOCATION_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Restart Claude Desktop after saving. We also ship manifest.json for clients that support MCP Bundles.

Cline

Open MCP Servers panel > Configure > Advanced MCP Settings. Add to cline_mcp_settings.json:

{
  "mcpServers": {
    "ipgeolocation": {
      "command": "npx",
      "args": ["-y", "ipgeolocation-io-mcp"],
      "env": {
        "IPGEOLOCATION_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Restart Cline after saving.

Cursor

One-click install:

Add to Cursor

Or add to .cursor/mcp.json manually:

{
  "mcpServers": {
    "ipgeolocation": {
      "command": "npx",
      "args": ["-y", "ipgeolocation-io-mcp"],
      "env": {
        "IPGEOLOCATION_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Restart Cursor after saving.

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "ipgeolocation": {
      "command": "npx",
      "args": ["-y", "ipgeolocation-io-mcp"],
      "env": {
        "IPGEOLOCATION_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Restart Windsurf after saving.

VS Code / GitHub Copilot

Add to your VS Code settings.json:

{
  "mcp": {
    "servers": {
      "ipgeolocation": {
        "command": "npx",
        "args": ["-y", "ipgeolocation-io-mcp"],
        "env": {
          "IPGEOLOCATION_API_KEY": "<YOUR_API_KEY>"
        }
      }
    }
  }
}

Restart VS Code after saving.

Glama

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.

Any Other MCP Client

Use this config:

{
  "command": "npx",
  "args": ["-y", "ipgeolocation-io-mcp"],
  "env": {
    "IPGEOLOCATION_API_KEY": "<YOUR_API_KEY>"
  }
}

Verify It Works

Try these after setup:

PromptExpected 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.36parse_user_agent

Tools by Plan

Free Plan

1,000 credits per day. These 7 tools are available:

ToolCreditsWhat it does
lookup_ip1Location, timezone, currency, ASN for one IP
get_my_ip0Public IP of the machine running the server
lookup_currency1Currency and country metadata for one IP
get_timezone1Timezone by name, location, IP, airport code, or UN/LOCODE
convert_timezone1Convert time between two locations
get_astronomy1Sunrise, sunset, moonrise, moonset, twilight, moon phase for one date
get_astronomy_time_series1Daily astronomy data for a date range (up to 90 days)

Paid Plans

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 *.

ToolCreditsWhat it does
bulk_lookup_ip1 per IPBatch geolocation for up to 1,000 IPs
check_security2VPN, proxy, Tor, bot, spam, and threat flags
bulk_security_check2 per IPBatch threat checks
lookup_company1Company name and ASN holder for one IP
lookup_network1Route prefix, connection type, anycast status
parse_user_agent1Parse one UA string into browser, device, OS, engine
bulk_parse_user_agent1 per UABatch UA parsing for up to 1,000 strings
lookup_asn1ASN details, peers, upstreams, downstreams, routes, WHOIS
get_abuse_contact1Abuse contact emails, phone, address, route

Credit math for lookup_ip with include:

CombinationTotal credits
Base lookup1
include=security3
include=abuse2
include=*4
include=security&fields=security2
include=abuse&fields=abuse1

For current plan details and pricing, see the IPGeolocation pricing page.

Tool Reference

lookup_ip

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.

ParameterRequiredDescription
ipNoIPv4, IPv6, or domain. Domain lookup requires a paid plan.
langNoResponse language. Non-English requires a paid plan.
includeNoExtra modules: security, abuse, hostname, liveHostname, hostnameFallbackLive, user_agent, geo_accuracy, dma_code, or *

README truncated. View full README on GitHub.

Alternatives

Related Skills

Browse all skills
drawio-diagrams-enhanced

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

916
pptx

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

133
video-downloader

Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.

50
docx

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

38
skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

23
stock-analyzer

Provides comprehensive technical analysis for stocks and ETFs using RSI, MACD, Bollinger Bands, and other indicators. Activates when user requests stock analysis, technical indicators, trading signals, or market data for specific ticker symbols.

22