IP Geolocation MCP Server

Integrations

  • Enables installation directly from GitHub repository, providing version control and distribution of the MCP server through git commands.

  • Uses Pydantic models to structure and validate IP geolocation data, including location, organization, and country details returned from the ipinfo.io API.

IP Geolocation MCP Server

This is a simple Model Context Protocol server that uses the ipinfo.io API to get detailed information about an IP address. This can be used to determine where the user is located (approximately) and what network they are used.

Installation

You'll need to create a token to use the IPInfo API. If you don't already have one, you can sign up for a free account at https://ipinfo.io/signup.

To use with Claude desktop, add the following to the mcpServers section of your claude_desktop_config.json file:

"ipinfo": { "command": "uvx", "args": [ "--from", "git+https://github.com/briandconnelly/mcp-server-ipinfo.git", "mcp-server-ipinfo" ], "env": { "IPINFO_API_TOKEN": "<YOUR TOKEN HERE>" } }

Components

Tools

  • get_ip_details: This tool is used to get detailed information about an IP address.
    • Input: ip: The IP address to get information about.
    • Output: IPDetails: A Pydantic model containing detailed information about the IP, including location, organization, and country details.

Resources

No custom resources are included

Prompts

No custom prompts are included

License

MIT License - See LICENSE file for details.

Disclaimer

This project is not affiliated with IPInfo.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

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.

  1. Installation
    1. Components
      1. Tools
      2. Resources
      3. Prompts
    2. License
      1. Disclaimer

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that provides web content fetching and conversion capabilities.
          Last updated -
          4
          89
          2
          JavaScript
          MIT License
          • Apple
        • -
          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
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that retrieves current weather information for specified cities using the Open-Meteo API, requiring no API key.
          Last updated -
          1
          Python
          Apache 2.0
          • Linux
          • Apple
        • -
          security
          A
          license
          -
          quality
          A server that translates Model Context Protocol (MCP) tool callings to traditional HTTP API requests, allowing existing HTTP APIs to be integrated into MCP territory through configurable mappings.
          Last updated -
          Python
          Apache 2.0

        View all related MCP servers

        ID: pll7u5ak1h