Skip to main content

IPinfo MCP Server

IPinfo API MCP Server for Residential Proxy, Lite, Core, and Plus bundles.

OpenSSF Scorecard smithery badge

Development

Prerequisites

  • Python 3.14+
  • uv

Setup

uv sync --dev
cp .env.example .env
# Add your IPinfo token to .env

Get a free API token at ipinfo.io/signup.

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 IPINFO_HOST=0.0.0.0 IPINFO_PORT=8000 uv run ipinfo-mcp-server

Environment variables

Variable Default Description
IPINFO_TOKEN API token
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)
IPINFO_HOST 0.0.0.0 HTTP host (only for http transport)
IPINFO_PORT 8000 HTTP port (only for http transport)

Tests

# All tests 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 .

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipinfo_mcp_server-0.1.11.tar.gz (97.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipinfo_mcp_server-0.1.11-py3-none-any.whl (41.7 kB view details)

Uploaded Python 3

File details

Details for the file ipinfo_mcp_server-0.1.11.tar.gz.

File metadata

  • Download URL: ipinfo_mcp_server-0.1.11.tar.gz
  • Upload date:
  • Size: 97.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ipinfo_mcp_server-0.1.11.tar.gz
Algorithm Hash digest
SHA256 e43899a65b26be2ca17e39a58364a1cfabe543df97b4766d971979e2b4f06abd
MD5 e6c998d845ecefd6b507889142a894f7
BLAKE2b-256 e608d39932ce1899e9702acb10aa0442346a87c2b731b6bc3f73e1708785210c

See more details on using hashes here.

File details

Details for the file ipinfo_mcp_server-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: ipinfo_mcp_server-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 41.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ipinfo_mcp_server-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 8bb735f6dbaf825e8b2a632524d8de97831a603578833d5fa18ecf7b4ad0aff3
MD5 a28e4a6574754b84c0dc316914938815
BLAKE2b-256 cf841bf6ace30c71f796bf4e62012b55d6f760f7a34fc6021f69986a23d257d5

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.12

2 files

This release

0.1.11 This release

2 files

0.1.10

2 files

0.1.9

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page