Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

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.

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 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 mcp-server-ipinfo 0.1.0
File Size Uploaded Provenance Actions
mcp_server_ipinfo-0.1.0.tar.gz 288.3 kB Without provenance Details for mcp_server_ipinfo-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 295.2 kB

Release files / mcp_server_ipinfo-0.1.0.tar.gz

Download URL mcp_server_ipinfo-0.1.0.tar.gz
Size 288.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e803e1b6c85134e8d81865fda544c6cc17b282842b9759bfb2efdfa50d1040d4
BLAKE2b-256 checksum
How to use checksums
510fb26e296681d411a34b092d1e913392f47197e0c1d728fb5818ac3d68040c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.26

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

Download URL mcp_server_ipinfo-0.1.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63782b4d5db4ad4a25d920960a51dac435de052956717ada1d4f92f8281dbb40
BLAKE2b-256 checksum
How to use checksums
d0901122f1ad9d65dbf5d514effa0b79ae5bc541ff46e8a4ecc11ba9961a2148
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.26

Security for mcp-server-ipinfo 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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