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.

While each client has its own way of specifying, you'll generally use the following values:

Field Value
Command uvx
Arguments mcp-server-ipinfo
Environment IPINFO_API_TOKEN = <YOUR TOKEN>

Development Version

If you'd like to use the latest and greatest, the server can be pulled straight from GitHub. Just add an additional --from argument:

Field Value
Command uvx
Arguments --from, git+https://github.com/briandconnelly/mcp-server-ipinfo, mcp-server-ipinfo
Environment IPINFO_API_TOKEN = <YOUR TOKEN>

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 iflow-mcp_mcp-server-ipinfo 0.2.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 iflow-mcp_mcp-server-ipinfo 0.2.0
File Size Uploaded
iflow_mcp_mcp_server_ipinfo-0.2.0.tar.gz 304.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_mcp-server-ipinfo 0.2.0
File Interpreter ABI Platform
iflow_mcp_mcp_server_ipinfo-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 314.9 kB

Release files / iflow_mcp_mcp_server_ipinfo-0.2.0.tar.gz

Download URL iflow_mcp_mcp_server_ipinfo-0.2.0.tar.gz
Size 304.4 kB
Tags Source
SHA-256 checksum
How to use checksums
bc74f9cb79270ccc3053a450ecf96d303f5a2ef6d954e242f2753ffd5ef722a9
BLAKE2b-256 checksum
How to use checksums
edb8524cb1cb9c5b8f8c46d75ab7ba4eeb9c418e7c174a802d49d44233eee590
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release files / iflow_mcp_mcp_server_ipinfo-0.2.0-py3-none-any.whl

Download URL iflow_mcp_mcp_server_ipinfo-0.2.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7c66670ddae3be491887e41e18b3222c61030f0dfae6584cdd29fe356f53b4e
BLAKE2b-256 checksum
How to use checksums
5ca54b5519374573ec8401aa48cd48fbdae4b65731fb4384ef6d3b62e833e257
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.17

Release history Release notifications | RSS feed

This release

0.2.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