what is IP Geolocation MCP Server?
The IP Geolocation MCP Server is a simple server that utilizes the IPInfo API to provide detailed information about an IP address, including approximate user location and network details.
how to use IP Geolocation MCP Server?
To use the server, create a token from the IPInfo API, and configure it in your claude_desktop_config.json
file under the mcpServers
section. You can then use the get_ip_details
tool to retrieve information about any IP address.
key features of IP Geolocation MCP Server?
- Retrieves detailed information about IP addresses.
- Provides approximate geolocation of users.
- Easy integration with Claude desktop through configuration.
use cases of IP Geolocation MCP Server?
- Determining user location for analytics.
- Identifying the organization behind an IP address.
- Enhancing security measures by tracking IP addresses.
FAQ from IP Geolocation MCP Server?
- Is the IP Geolocation MCP Server free to use?
Yes! You can sign up for a free account at IPInfo to obtain your API token.
- What kind of information can I get about an IP address?
You can get details such as location, organization, and country information.
- Is this project affiliated with IPInfo?
No, this project is not affiliated with IPInfo.
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:
"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.
- 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.