MCP ExplorerExplorer

Mcp Server Ipinfo

@briandconnellyon a year ago
20 MIT
FreeCommunity
AI Systems
IP Geolocation Server for MCP

Overview

What is Mcp Server Ipinfo

mcp-server-ipinfo is an IP Geolocation Server for MCP that utilizes the ipinfo.io API to provide detailed information about IP addresses, including approximate user location and network details.

Use cases

Use cases for mcp-server-ipinfo include determining user locations for analytics, enhancing security measures by identifying user networks, and improving user experience by tailoring services based on geographic data.

How to use

To use mcp-server-ipinfo, you need to create an API token from ipinfo.io. After obtaining the token, add the server configuration to the ‘mcpServers’ section of your ‘claude_desktop_config.json’ file, including the command and your API token.

Key features

Key features include the ability to retrieve detailed IP information through the ‘get_ip_details’ tool, which provides data such as location, organization, and country details based on the input IP address.

Where to use

undefined

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.

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.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers