# briandconnelly/mcp-server-ipinfo

**Category:** 🗺️ Location Services  
**Repository:** https://github.com/briandconnelly/mcp-server-ipinfo  
**GitHub Stars:** 45  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/briandconnelly-mcp-server-ipinfo

## Description
IP address geolocation and network information using IPInfo API

## Tools
Capabilities this server exposes over MCP:

- **IPDetails.ip**
- **api_error**
- **enterprise**
- **MapResult**
- **truncated**

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "mcp-server-ipinfo": {
    "command": "uvx",
    "args": ["mcp-server-ipinfo"],
    "env": {
      "IPINFO_API_TOKEN": "",
      "IPINFO_CACHE_TTL": "",
      "IPINFO_CACHE_SIZE": ""
    }
  }
}
```

**Requires environment variables:** `IPINFO_API_TOKEN`, `IPINFO_CACHE_TTL`, `IPINFO_CACHE_SIZE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What briandconnelly/mcp-server-ipinfo does

briandconnelly/mcp-server-ipinfo connects an MCP client to the ipinfo.io API. It returns location and network information for IPv4 and IPv6 addresses, including country and ASN data, with higher IPInfo plan tiers adding geolocation detail, company and carrier information, privacy indicators, VPN, proxy, Tor, hosting, domains, and abuse contacts.

The server also supports batch-oriented analysis. It can aggregate IPs into counts and percentages by dimensions such as country, continent, ASN, and privacy flags, or produce an ipinfo.io map URL for a group of addresses.

## How it works

MCP clients launch the Python package through `uvx` using the `mcp-server-ipinfo` command. Requests are sent to the IPInfo API, and results are returned through MCP tools. The server caches per-IP results by default for 3,600 seconds, with a maximum of 4,096 cached entries.

Batch lookups default to a summary response that leaves out larger nested sections. Callers can request full details when those fields are needed. Batch requests accept up to 500,000 IPs per call. Private, loopback, and other special-use addresses are excluded, and failed items can be identified by comparing returned IP values with the input list.

## Setup and configuration

Create an IPInfo account and obtain an API token when fields beyond the free Lite tier are needed. The server can run without a token, in which case basic country and ASN information is available. Configure `IPINFO_API_TOKEN` in the MCP client's environment for authenticated access.

A typical client configuration uses:

- Command: `uvx`
- Arguments: `mcp-server-ipinfo`
- Environment: `IPINFO_API_TOKEN=<your token>`

Claude Desktop users can install the `.mcpb` bundle from the repository's latest release. That bundle launches through `uv`, which must be installed and available on the system `PATH`. `IPINFO_CACHE_TTL` changes the cache lifetime in seconds, while `IPINFO_CACHE_SIZE` changes the maximum number of retained entries.

## Tools and capabilities

- `ipinfo_lookup_my_ip()` checks the server's outbound IP and takes no arguments. With stdio, this is the server machine's address rather than the end user's.
- `ipinfo_lookup_ips(ips, detail)` looks up one or more supplied addresses. `summary` is the default detail level; `full` requests every available field.
- `ipinfo_summarize_ips(ips, group_by, top_n)` produces capped counts and percentages for large collections and reports mapped, skipped, and failed totals.
- `ipinfo_check_residential_proxy(ip)` tests whether an address is a known residential-proxy exit node. This requires IPInfo's separately sold residential-proxy add-on.
- `ipinfo_generate_map_url(ips)` creates an interactive map URL and reports filtered addresses, reasons, and whether the filtered list was truncated.

## Limitations and notes

The repository is deprecated, archived, and no longer maintained. IPInfo now offers an official MCP server at `https://mcp.ipinfo.io`, which is the appropriate choice for new integrations.

Available fields depend on the IPInfo subscription tier. Enterprise fields and the residential-proxy check require corresponding access. Tool failures use JSON-encoded error messages with stable codes such as invalid address, unsupported special-use address, invalid authentication, quota exhaustion, timeout, and upstream API failure. Clients should parse the error code and use the supplied retry or repair information when present.

This project is not affiliated with IPInfo.

_Full upstream README: https://allmcps.com/mcp/briandconnelly-mcp-server-ipinfo/readme_

