Skip to main content

IP Geolocation Server for MCP

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_mcp_server_ipinfo-0.2.0.tar.gz (304.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_mcp_server_ipinfo-0.2.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_mcp_server_ipinfo-0.2.0.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_mcp_server_ipinfo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bc74f9cb79270ccc3053a450ecf96d303f5a2ef6d954e242f2753ffd5ef722a9
MD5 f00804372f9e5662e4a2b155e0156a71
BLAKE2b-256 edb8524cb1cb9c5b8f8c46d75ab7ba4eeb9c418e7c174a802d49d44233eee590

See more details on using hashes here.

File details

Details for the file iflow_mcp_mcp_server_ipinfo-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_mcp_server_ipinfo-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7c66670ddae3be491887e41e18b3222c61030f0dfae6584cdd29fe356f53b4e
MD5 a2003e828397780412d0f82fe14fc16d
BLAKE2b-256 5ca54b5519374573ec8401aa48cd48fbdae4b65731fb4384ef6d3b62e833e257

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page