Skip to main content
Glama

IP2Location IP Geolocation MCP Server

Official

IP2Location.io MCP server

This is a simple Model Context Protocol (MCP) server implementation for IP2Location.io API. It will return geolocation information for an IP address.

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

To use this MCP server with Claude Desktop, download the repository to your local, and add the following to your claude_desktop_config.json:

{ "mcpServers": { "ip2locationio": { "command": "uv", "args": [ "--directory", "/path/to/ip2locationio", "run", "ip2locationio.py" ], "env": { "IP2LOCATION_API_KEY": "<YOUR API key HERE>" } } } }

To get your API key, just login to your dashboard and get it from there.

Restart the Claude Desktop after save the changes, and you shall see it pops out in the Search and tools menu.

License

See the LICENSE file.

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

IP Geolocation MCP server using IP2Location.io API to ease the query of geolocation information.

  1. Requirement
    1. Setup
      1. License

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          Provides IP geolocation services using IP-API.com without requiring an API key, enabling users to obtain detailed location and network information for any IP address in a clean, formatted output.
          Last updated -
          TypeScript
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that retrieves detailed geographic information about IP addresses using the ipinfo.io API, helping determine user location and network details.
          Last updated -
          1
          23
          Python
          MIT License
        • -
          security
          A
          license
          -
          quality
          An MCP server for nearby place searches with IP-based location detection.
          Last updated -
          Python
          MIT License

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/ip2location/mcp-ip2location-io'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server