JUHE API Marketplace
ip2location avatar
MCP Server

mcp-ip2location-io

Official IP2Location.io MCP server to obtain the geolocation, proxy and network information of an IP address utilizing IP2Location.io API.

12
GitHub Stars
11/22/2025
Last Updated
MCP Server Configuration
1{
2 "name": "ip2locationio",
3 "command": "uv",
4 "args": [
5 "--directory",
6 "/path/to/ip2locationio/src",
7 "run",
8 "server.py"
9 ],
10 "env": {
11 "IP2LOCATION_API_KEY": ""
12 }
13}
JSON13 lines
  1. Home
  2. MCP Servers
  3. mcp-ip2location-io

README Documentation

IP2Location.io MCP server

This is a simple Model Context Protocol (MCP) server implementation for IP2Location.io API. It will return a detailed geolocation information for any given IPv4 or IPv6 address.

Features

  • Comprehensive Geolocation Data: Retrieves a wide range of information, including country, region, city, latitude, longitude, ZIP code, time zone, and more.
  • Network Details: Provides network-related data such as ASN, ISP, domain, and network speed.
  • Security Insights: Detects proxy information, including proxy type and provider.
  • Simple Integration: Built as a FastMCP tool, allowing for easy integration into compatible systems.
  • Asynchronous: Utilizes httpx for non-blocking asynchronous API requests.

Requirement

This MCP server supports to query without an API key, with a limitation of 1,000 queries per day. You can also sign up for a free API key and enjoy up to 50,000 queries per month.

The setup also use uv, which can be install by following the guide.

Setup

Follow the steps to use this MCP server with Claude Desktop:

  1. Download the repository to your local.
  2. Setup the uv package manager, you can once again refer to the guide to do so.
  3. Make sure you have installed the Claude Desktop, if you haven't, kindly download from here for Windows and MacOS users, or follow this guide for Linux user.
  4. Open the claude_desktop_config.json in your choice of editor, if you do not having one yet, follow this guide to create one.
  5. Add the following to your claude_desktop_config.json:
{
  "mcpServers": {
    "ip2locationio": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/ip2locationio/src",
        "run",
        "server.py"
      ],
      "env": {
        "IP2LOCATION_API_KEY": "<YOUR API key HERE>"
      }
    }
  }
}
  1. Remember to replace the /path/to/ip2locationio path with your actual path to IP2Location.io MCP server in local.
  2. To get your API key, just login to your dashboard and get it from there. Replaced the <YOUR API key HERE> in above with your actual API key.
  3. Restart the Claude Desktop after save the changes, and you should see it appear in the Search and tools menu.

Usage

Just enter your query about the IP in a chat in Claude Desktop. Some of the example query will be:

  • Where is the location of (IP)?
  • Where is (IP) located?
  • What is the coordinate of (IP)?

For instance, below is the result of the IP 8.8.8.8:

The output of the IP 8.8.8.8

In Claude Desktop, the model will automatically generate the output based on the result returned by IP2Location.io MCP server.

Environment Variable

IP2LOCATION_API_KEY

The IP2Location.io API key, which allows you to query up to 50,000 per month and more details of the IP address. You can sign up for a free API key, or subscribe to a plan to enjoy more benefits.

Tool

get_geolocation

Description Fetch geolocation for the given IP address. It helps users to retrieve detailed information such as country, region, city, latitude, longitude, ZIP code, time zone, ASN, and proxy information for any IPv4 or IPv6 address.

Arguments ip (str): The IP address (IPv4 or IPv6) to analyze.

Returns A JSON string containing the geolocation data. The result may include the following fields, depending on your API plan:

  • Location & Geography: Country, region, district, city, ZIP code, latitude & longitude, time zone.
  • Network & Connectivity: ASN (Autonomous System Number), ISP (Internet Service Provider), domain, net speed, IDD code, area code, address type, usage type.
  • Mobile Information: MNC (Mobile Network Code), MCC (Mobile Country Code), Mobile Brand.
  • Currency & Language: currency code, currency name, currency symbol, language code, language name.
  • Proxy & Security: proxy type, last seen, threat level/type, proxy provider, fraud score.
  • Others: IAB category, weather, elevation, population, and more.

If the request fails or the IP address is invalid, the tool will return an error message as a string.

License

See the LICENSE file.

Quick Install

Quick Actions

View on GitHubView All Servers

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source

Boost your projects with Wisdom Gate LLM API

Supporting GPT-5, Claude-4, DeepSeek v3, Gemini and more.

Enjoy a free trial and save 20%+ compared to official pricing.

Learn More
JUHE API Marketplace

Accelerate development, innovate faster, and transform your business with our comprehensive API ecosystem.

JUHE API VS

  • vs. RapidAPI
  • vs. API Layer
  • API Platforms 2025
  • API Marketplaces 2025
  • Best Alternatives to RapidAPI

For Developers

  • Console
  • Collections
  • Documentation
  • MCP Servers
  • Free APIs
  • Temp Mail Demo

Product

  • Browse APIs
  • Suggest an API
  • Wisdom Gate LLM
  • Global SMS Messaging
  • Temp Mail API

Company

  • What's New
  • Welcome
  • About Us
  • Contact Support
  • Terms of Service
  • Privacy Policy
Featured on Startup FameFeatured on Twelve ToolsFazier badgeJuheAPI Marketplace - Connect smarter, beyond APIs | Product Huntai tools code.marketDang.ai
Copyright © 2025 - All rights reserved