
IPinfo MCP Server
Official IPinfo MCP Server - IP intelligence tools for AI assistants
IPinfo scores 68 (Good), licensed Apache-2.0 and written in Python. It can be reached as a remote MCP endpoint. It declares 9 tools. Filed under Knowledge. GitHub shows 2 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade A
86/100 for listing completeness. Lost points: 4 of 9 tools barely described, short summary.
How quality is graded
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "ipinfo-mcp": { "command": "uvx", "args": [ "ipinfo-mcp-server" ], "env": { "IPINFO_TOKEN": "YOUR_IPINFO_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
IPINFO_TOKENSecret | Required | Your IPinfo API token. Get a free one at https://ipinfo.io/signup |
Tools9Tool docs quality grade D
All capabilitiesipinfo_asntoolAutonomous system (network ownership)
VPN, proxy, relay, Tor, hosting, anycast, mobile, satellite flags
Residential proxy detection
ipinfo_geolocatetoolGeographic location
Lite IP data, for agents without an account
ipinfo_lookuptoolFull IP data: geolocation, network, and metadata
ipinfo_quotatoolAPI usage and remaining quota
page_sizetoolinteger
Object keyed by input for values that aren't valid public IPs. Only present when there are any.
About
IPinfo MCP Server
The official IPinfo MCP Server lets AI assistants such as Claude answer questions about IP addresses. Ask where an IP is located, which company or network it belongs to, or whether it's a VPN, proxy, Tor exit node, or residential proxy, and the assistant looks it up with IPinfo data.
It implements the Model Context Protocol (MCP), the open standard AI assistants use to connect to external tools, so it works with any MCP-compatible client. It supports the IPinfo Lite, Core, Plus, and Residential Proxy plans.
For the full guide, see the official documentation.
Installation
You need an IPinfo account. Sign up for free at ipinfo.io/signup. To try IPinfo Lite without an account, see Experimental AAuth support.
Hosted server
Point your MCP client at https://mcp.ipinfo.io/ (Streamable HTTP). The first time it connects, it asks you to sign in with your IPinfo account through OAuth.
Local server (PyPI)
The server is published on PyPI as ipinfo-mcp-server and runs over stdio, authenticating with your API token. With uv installed, add it to your MCP client configuration:
{
"mcpServers": {
"ipinfo": {
"command": "uvx",
"args": ["ipinfo-mcp-server"],
"env": {
"IPINFO_TOKEN": "<your-ipinfo-token>"
}
}
}
}
Claude Desktop extension
Download mcp.mcpb from the latest GitHub release and open it with Claude Desktop. You'll be asked for your API token during installation.
Gemini CLI extension
Install the extension, which connects Gemini CLI to the hosted server:
gemini extensions install https://github.com/ipinfo/mcp
Then run /mcp auth ipinfo in Gemini CLI to sign in with your IPinfo account.
MCP Registry
The server is listed in the MCP Registry as io.github.ipinfo/mcp.
The server is also listed on LightNow.
Experimental AAuth support
Agents that use AAuth can look up IPs on the hosted server without an IPinfo account. They get a single tool, ipinfo_lite_lookup, which returns IPinfo Lite data: country, continent, and network (ASN). Every lookup is made for a person signed in with Hellō.
This support is experimental and may change.
Connecting a client
Add the hosted AAuth Connector to your MCP client at https://mcp.aauth.dev (Streamable HTTP). The first time it connects, it asks you to sign in with Hellō.
Claude Code
claude mcp add --transport http aauth-connector https://mcp.aauth.dev
Then restart Claude Code, run /mcp, pick aauth-connector, and sign in with Hellō.
Claude (claude.ai and Claude Desktop)
Go to Settings → Connectors → Add custom connector, enter https://mcp.aauth.dev, and complete the Hellō sign-in. Then start a new chat.
Cursor and LM Studio
Add it to .cursor/mcp.json, or to LM Studio's mcp.json:
{
"mcpServers": {
"aauth-connector": { "url": "https://mcp.aauth.dev" }
}
}
VS Code (GitHub Copilot)
code --add-mcp '{"name":"aauth-connector","type":"http","url":"https://mcp.aauth.dev"}'
ChatGPT
Go to Settings → Connectors (developer mode) → Create, with the MCP server URL https://mcp.aauth.dev and OAuth authentication.
Looking up IPs
Ask the assistant to connect IPinfo and look up some IPs. IPinfo is listed in the AAuth registry, so the assistant can find it on its own, or you can name it: https://mcp.ipinfo.io. For example:
Find IPinfo among the AAuth resources I can connect, then tell me where 8.8.8.8 is and which network it belongs to.
Connect to mcp.ipinfo.io and look up 1.1.1.1, 9.9.9.9 and 2a00:1450:4001:830::200e.
The assistant looks the IPs up with ipinfo_lite_lookup through the Connector.
For the other tools, sign up for an IPinfo account and connect to the hosted server.
Tools
| Tool | Description | Plan requirement |
|---|---|---|
ipinfo_lookup | Full IP data: geolocation, network, and metadata | Any; detailed: true needs Core/Plus |
ipinfo_geolocate | Geographic location | Any; detailed: true needs Core/Plus |
ipinfo_asn | Autonomous system (network ownership) | Any; detailed: true needs Core/Plus |
ipinfo_check_privacy | VPN, proxy, relay, Tor, hosting, anycast, mobile, satellite flags | Paid plan |
ipinfo_check_residential_proxy | Residential proxy detection | Residential Proxy access |
ipinfo_quota | API usage and remaining quota | Any |
ipinfo_lite_lookup | Lite IP data, for agents without an account | None; only offered to AAuth agents |
Tools that lack access for the token's plan return an ACCESS_DENIED error.
Common parameters
All tools except ipinfo_quota take a list of IPs and are paginated:
| Parameter | Type | Default | Description |
|---|---|---|---|
ips | string[] | required | Public IPv4 or IPv6 addresses. Private, loopback, reserved, multicast, and bogon addresses are rejected and reported in validation_errors. |
page | integer | 1 | 1-based page of the result set. Values below 1 are clamped to 1. |
page_size | integer | 25 | IPs resolved per page, up to 1000. Only IPs on the requested page are fetched, so smaller pages consume less quota per call. |
ipinfo_lookup, ipinfo_geolocate, and ipinfo_asn also take:
| Parameter | Type | Default | Description |
|---|---|---|---|
detailed | boolean | false | false queries the Lite endpoint. true queries the full lookup endpoint, which returns more fields. |
Common output
IP-based tools return:
| Field | Description |
|---|---|
results | Object keyed by IP with the tool-specific data below. |
errors | Object keyed by IP for IPs the API returned an error for. These IPs are left out of results. |
validation_errors | Object keyed by input for values that aren't valid public IPs. Only present when there are any. |
_pagination | total_results, page, page_size, total_pages, has_next, has_previous. |
_meta | api_calls_made and from_cache. Results are cached in memory, so repeat lookups don't consume API quota. |
If the whole request fails (for example a missing or invalid token), the tool returns an error object instead, with code (ACCESS_DENIED, RATE_LIMITED, INVALID_TOKEN, NO_TOKEN, API_ERROR, or UNKNOWN), message, and suggestion.
ipinfo_lookup
Returns the raw IPinfo API response for each IP.
detailed: false(Lite):ip,asn,as_name,as_domain,country,country_code,continent,continent_code.detailed: true(full lookup):ip,hostname,geo(city, region, country, continent, coordinates, timezone, postal code),as(ASN, name, domain, type),anonymous(proxy, relay, Tor, VPN),mobile, and theis_anonymous,is_anycast,is_hosting,is_mobile,is_satelliteflags. Some fields are only available on Plus.
ipinfo_geolocate
Returns, per IP: ip, country, country_code, continent, continent_code. With detailed: true, also city, region, region_code, latitude, longitude, timezone, postal_code.
ipinfo_asn
Returns, per IP: ip, asn, name, domain. With detailed: true, also type (isp, hosting, business, education) and last_changed.
ipinfo_check_privacy
Returns, per IP: ip, is_anonymous, anonymous (is_proxy, is_relay, is_tor, is_vpn), is_anycast, is_hosting, is_mobile, is_satellite.
ipinfo_check_residential_proxy
Returns, per IP: ip and is_residential_proxy. For residential proxies, also service (proxy service name), last_seen (date), and percent_days_seen.
ipinfo_quota
Takes no parameters. Returns token (omitted when connected with OAuth), requests (day, month, limit, remaining), and per-feature quotas under features.
ipinfo_lite_lookup
Only offered to agents that sign their requests with AAuth, who get it in place of the tools above; see Experimental AAuth support. Calling it needs a person token, which names the person the agent acts for. Takes the common parameters and returns the Lite data for each IP: ip, asn, as_name, as_domain, country, country_code, continent, continent_code. When the person reaches their daily limit for lookups without an account, it returns a RATE_LIMITED error.
Configuration
The server is configured through environment variables:
| Variable | Default | Description |
|---|---|---|
IPINFO_TOKEN | API token (stdio transport; over HTTP the token comes from the request) | |
IPINFO_API_BASE_URL | https://api.ipinfo.io | Base URL for api.ipinfo.io endpoints |
IPINFO_LEGACY_BASE_URL | https://ipinfo.io | Base URL for legacy ipinfo.io endpoints (e.g. /me) |
IPINFO_CACHE_TTL | 3600 | Seconds a cached IP result stays fresh |
IPINFO_TRANSPORT | stdio | Transport type (stdio or http) |
HOST | 0.0.0.0 | HTTP host (only for http transport) |
PORT | 8000 | HTTP port (only for http transport) |
IPINFO_OAUTH_ISSUER | OAuth issuer whose access tokens are accepted; OAuth is off when unset | |
IPINFO_MCP_RESOURCE_URL | Public URL of this server, required with IPINFO_OAUTH_ISSUER | |
IPINFO_OAUTH_JWKS_URI | <issuer>/.well-known/jwks.json | Where the issuer publishes its signing keys |
IPINFO_OPENAI_APPS_CHALLENGE | Token served at /.well-known/openai-apps-challenge for OpenAI's domain verification | |
IPINFO_AAUTH_PROVIDER_KEY | Ed25519 private key, PEM encoded, for AAuth; AAuth is off when unset | |
IPINFO_AAUTH_ISSUER | Public URL of this server for AAuth, required with the key | |
IPINFO_AAUTH_PERSON_SERVERS | Comma separated AAuth person servers whose person tokens are accepted, required with the key |
With the http transport, each request authenticates with its own Authorization: Bearer <token> header.
Setting IPINFO_OAUTH_ISSUER turns on OAuth for the http transport. The server then advertises the issuer at /.well-known/oauth-protected-resource, answers requests without a valid credential with 401 Unauthorized, and verifies access tokens against the issuer's signing keys. A verified access token is sent to the IPinfo API in place of an API token. API tokens keep working as before.
Setting IPINFO_AAUTH_PROVIDER_KEY turns on AAuth for the http transport, so people without an IPinfo account can use ipinfo_lite_lookup through agents that sign their requests with AAuth. Generate the key with openssl genpkey -algorithm ed25519, and give every replica the same one. IPINFO_AAUTH_ISSUER must be the server's public URL: https, no port, path, or trailing slash. When IPINFO_MCP_RESOURCE_URL is set too, its scheme and host must match IPINFO_AAUTH_ISSUER, or the server won't start. IPINFO_AAUTH_PERSON_SERVERS lists the AAuth person servers whose person tokens are accepted, written the same way, for example https://person.hello.coop. With AAuth on, the server also serves:
/aauth, the MCP endpoint for AAuth agents, whose only tool isipinfo_lite_lookup. Listing its tools needs no signature. Calling one needs an AAuth signature presenting a person token from one ofIPINFO_AAUTH_PERSON_SERVERS, issued forIPINFO_AAUTH_ISSUER; any other call is answered with401andAAuth-Requirement: requirement=person-token. WhenIPINFO_MCP_RESOURCE_URLis set, only signatures made for that host are accepted./.well-known/aauth-resource.json, which points agents at/aauth. It namesIPINFO_AAUTH_ISSUER, which person tokens must be issued for./.well-known/aauth-agent.jsonand/.well-known/aauth-jwks.json, the documents of the server's own AAuth agent,aauth:ipinfo-mcp@<issuer host>.
The main endpoint is unaffected.
Feedback
- Bugs and feature requests: open an issue on GitHub Issues.
- Security vulnerabilities: don't open a public issue; follow the security policy.
- Questions about your IPinfo account or plan: contact support@ipinfo.io.
Contributing
Contributions are welcome. See CONTRIBUTING.md for the workflow and the requirements a change has to meet.
Development
Prerequisites
- Python 3.14+
- uv
Setup
uv sync --dev
cp .env.example .env
# Add your IPinfo token to .env
Running the server
The server supports two transports: stdio (default) and HTTP.
# stdio (default, used by MCP clients)
uv run ipinfo-mcp-server
# HTTP
IPINFO_TRANSPORT=http HOST=0.0.0.0 PORT=8000 uv run ipinfo-mcp-server
Tests
# All tests
uv run pytest
# Integration tests (requires IPINFO_TOKEN)
uv run pytest tests/integration/
Integration tests hit the real IPinfo API and validate response structure only (no exact value assertions). They require IPINFO_TOKEN to be set and are skipped otherwise.
Type checking
uv run pyright
Linting
uv run ruff check .
uv run ruff format .
Frequently asked questions
What is IPinfo MCP Server?
Official IPinfo MCP Server - IP intelligence tools for AI assistants
How do I install IPinfo MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. IPinfo MCP Server runs locally from the PyPI package ipinfo-mcp-server with the command uvx ipinfo-mcp-server.
Is IPinfo MCP Server free and open source?
Yes. IPinfo MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does IPinfo MCP Server support remote (HTTP) connections?
Yes. IPinfo MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does IPinfo MCP Server provide?
IPinfo MCP Server provides 9 tools, including ipinfo_asn, ipinfo_check_privacy, ipinfo_check_residential_proxy, and ipinfo_geolocate. See the full tool list for descriptions and parameters.
How is IPinfo MCP Server's trust score calculated?
IPinfo MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.