Skip to main content

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.

IP Geolocation Server MCP server

Example conversation using mcp-server-ipinfo

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.

Metadata

Release files for orange-mcp-server-ipinfo 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orange-mcp-server-ipinfo 0.1.0
File Size Uploaded
orange_mcp_server_ipinfo-0.1.0.tar.gz 285.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for orange-mcp-server-ipinfo 0.1.0
File Interpreter ABI Platform
orange_mcp_server_ipinfo-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 292.8 kB

Release files / orange_mcp_server_ipinfo-0.1.0.tar.gz

Download URL orange_mcp_server_ipinfo-0.1.0.tar.gz
Size 285.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4d9896641c060efaeb6bb4f9781a9cf7e0adab63ea87124401cb70496c06f0d2
BLAKE2b-256 checksum
How to use checksums
a550007da0ee010dc4c30ffebc3bfae2f78d7c2442ddd4670b7f3791faf727ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release files / orange_mcp_server_ipinfo-0.1.0-py3-none-any.whl

Download URL orange_mcp_server_ipinfo-0.1.0-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46ede66858747038f83ee94a891b8d0e0cae633cc879603ab7596f98f7982d44
BLAKE2b-256 checksum
How to use checksums
654a0a631340652f87e5509183a237fa7698d1e0a27e7400c5c465f564033ff6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page