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.

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": [
        "mcp-server-ipinfo",
        "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.1

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.1
File Size Uploaded Provenance Actions
mcp_server_ipinfo-0.1.1.tar.gz 302.3 kB Without provenance Details for mcp_server_ipinfo-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 310.8 kB

Release files / mcp_server_ipinfo-0.1.1.tar.gz

Download URL mcp_server_ipinfo-0.1.1.tar.gz
Size 302.3 kB
Tags Source
SHA-256 checksum
How to use checksums
47f7edb6c4857ae0a2001a4b7ce720ee2ffdd208b6e645348c6de5d9d543b2e5
BLAKE2b-256 checksum
How to use checksums
9fd3b481a6fb4f930647e75ec07d624513cd4ef3ed900f8a0711c26c22dce56c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

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

Download URL mcp_server_ipinfo-0.1.1-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81832aa59af75acb7da741bae2ed8d813dfe6a65b109bdf04f74db59c6ea6601
BLAKE2b-256 checksum
How to use checksums
421ea8c341a1981aaaddc7c674782e953b28e9d855144e2aee4e6d46fdf8ea15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Security for mcp-server-ipinfo 0.1.1

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