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. 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. While each client has it
Add this skill
npx mdskills install briandconnelly/mcp-server-ipinfoWell-documented MCP server with three useful IP geolocation tools and clear setup instructions
1# IP Geolocation MCP Server23This is a simple [Model Context Protocol](https://modelcontextprotocol.io) server that uses the [ipinfo.io](https://ipinfo.io) API to get detailed information about an IP address.4This can be used to determine where the user is located (approximately) and what network they are used.56<a href="https://glama.ai/mcp/servers/pll7u5ak1h">7 <img width="380" height="200" src="https://glama.ai/mcp/servers/pll7u5ak1h/badge" alt="IP Geolocation Server MCP server" />8</a>910111213## Installation1415You'll need to create a token to use the IPInfo API.16If you don't already have one, you can sign up for a free account at https://ipinfo.io/signup.1718While each client has its own way of specifying, you'll generally use the following values:1920| Field | Value |21|-------|-------|22| **Command** | `uvx` |23| **Arguments** | `mcp-server-ipinfo` |24| **Environment** | `IPINFO_API_TOKEN` = `<YOUR TOKEN>` |252627### Development Version2829If you'd like to use the latest and greatest, the server can be pulled straight from GitHub.30Just add an additional `--from` argument:313233| Field | Value |34|-------|-------|35| **Command** | `uvx` |36| **Arguments** | `--from`, `git+https://github.com/briandconnelly/mcp-server-ipinfo`, `mcp-server-ipinfo` |37| **Environment** | `IPINFO_API_TOKEN` = `<YOUR TOKEN>` |383940## Components4142### Tools4344- `get_ip_details`: Get detailed information about one or more IP addresses including location, ISP, and network details.45 - **Input:** `ips` (optional): List of IP addresses to analyze (IPv4 or IPv6). If not provided, analyzes the requesting client's IP address.46 - **Output:** List of `IPDetails` containing location, organization, timezone, and more.47 - **Note:** Batch lookups (multiple IPs) require `IPINFO_API_TOKEN`.4849- `get_residential_proxy_info`: Check if an IP address is associated with a residential proxy service.50 - **Input:** `ip`: The IP address to check for residential proxy usage.51 - **Output:** `ResidentialProxyDetails` with proxy service name, last seen date, and activity percentage.52 - **Note:** Requires `IPINFO_API_TOKEN` with residential proxy data access.5354- `get_map_url`: Generate a URL to an interactive map visualization of IP addresses.55 - **Input:** `ips`: List of IP addresses to visualize (max 500,000).56 - **Output:** URL to an interactive map on ipinfo.io showing geographic locations.57 - **Note:** Useful for visualizing geographic distribution of traffic or users.5859### Resources6061_No custom resources are included_6263### Prompts6465_No custom prompts are included_666768## Configuration6970### Environment Variables7172| Variable | Description | Default |73|----------|-------------|---------|74| `IPINFO_API_TOKEN` | IPInfo API token for premium features | None (basic lookups only) |75| `IPINFO_CACHE_TTL` | Cache TTL in seconds | 3600 (1 hour) |767778## License7980MIT License - See [LICENSE](LICENSE) file for details.8182## Disclaimer8384This project is not affiliated with [IPInfo](https://ipinfo.io).85
Full transparency — inspect the skill content before installing.