The IP Geolocation MCP Server retrieves detailed information about IP addresses using the ipinfo.io API.
Capabilities:
- Geolocation: Determine the approximate geographic location of IP addresses
- Network Information: Retrieve details about internet service providers (ISPs) or network operators
- IP Analysis: Get comprehensive data including country, organization, and other relevant details
- Client IP Lookup: Automatically fetch information about the requesting client's IP if no specific IP is provided
- Integration: Easily integrate with tools like Claude desktop via configuration
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.
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:
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.
- Input:
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.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
A Model Context Protocol server that retrieves detailed geographic information about IP addresses using the ipinfo.io API, helping determine user location and network details.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that provides Google Maps API integration, allowing users to search locations, get place details, geocode addresses, calculate distances, obtain directions, and retrieve elevation data through LLM processing capabilities.Last updated -716325TypeScriptMIT License
- -security-license-qualityA Model Context Protocol (MCP) based geographic processing server that provides spatial analysis functions including coordinate system conversions, distance calculations, and area calculations.Last updated -1JavaScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that provides geocoding services by integrating with the Nominatim API, allowing AI assistants to perform location-based lookups.Last updated -133TypeScriptMIT License
- -securityAlicense-qualityModel Context Protocol server that enables AI assistants like Claude to access searchapi.io API for searching Google Maps, flights, hotels, and other web information.Last updated -JavaScriptMIT License