Get detailed information about an IP address, including location, organization, and country details
IP Geolocation is a Model Context Protocol server that leverages the ipinfo.io API to provide comprehensive information about IP addresses. This tool allows you to determine a user's approximate location and network details, making it valuable for location-aware applications and network analysis. The server returns detailed information including geographical coordinates, city, region, country, postal code, timezone, and network organization details. This makes it useful for applications that need to customize experiences based on user location or for security and analytics purposes.
IP Geolocation is a simple MCP server that connects to the ipinfo.io API to retrieve detailed information about any IP address. This allows AI assistants to determine where users are located (approximately) and what networks they are using.
Before using this MCP server, you'll need to:
To use IP Geolocation 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>"
}
}
Make sure to replace <YOUR TOKEN HERE>
with your actual IPInfo API token.
Once installed, you can ask Claude to get information about an IP address. For example:
Claude will use the get_ip_details
tool to retrieve information from the IPInfo API and present it in a readable format.
When using this tool, be aware that IP addresses can be considered personally identifiable information in some contexts. Ensure you're using this tool in compliance with relevant privacy regulations and your organization's policies.