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.0.tar.gz (285.7 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.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mseep_mcp_server_ipinfo-0.1.0.tar.gz
  • Upload date:
  • Size: 285.7 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.0.tar.gz
Algorithm Hash digest
SHA256 6374f7d3efe2b2d50b1ad3347af6ede00636126e1844ad7a21de05de90e8c562
MD5 a8ded807d46861f809c146073fcb0787
BLAKE2b-256 1a097accad8c3769ebeff44316a5bc85de17263bf5724666812ab33cb5c3e1d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mseep_mcp_server_ipinfo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d3d7b813b366397da8b4a3ae3667b694f8af96ace162e4caa57ec822fe910b0
MD5 0ebb09a816b4f70edb07c4584997e414
BLAKE2b-256 9f06e68801f4a569dd0cc35c4fcafb638374b167ffb8d1113d819d589a8da8d2

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