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.

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.

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

mseep_mcp_server_ipinfo-0.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

mseep_mcp_server_ipinfo-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file mseep_mcp_server_ipinfo-0.1.1.tar.gz.

File metadata

  • Download URL: mseep_mcp_server_ipinfo-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_mcp_server_ipinfo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5365d302abeb62081748d5571f3920618b4872044e334f86becc74f710d0b8e5
MD5 3f940e8f747aa73a99ff8dbd999d3b28
BLAKE2b-256 c27874900e1bc3f7dd00c545746d7f7179fc196dd5504b019da6068c6f9dda95

See more details on using hashes here.

File details

Details for the file mseep_mcp_server_ipinfo-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_mcp_server_ipinfo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c0ee15a980a6333cce42a804a03a84bdf27e6d19dd496efa23bc0cc4fd216e6e
MD5 5ee5a99af1a5b18707c206afe12f72f5
BLAKE2b-256 6265e7171f1ac120105cc7c22e20deec752e6fa4e9c1e3fba07b7c16a06504dd

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