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.12.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.12-py3-none-any.whl (41.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipinfo_mcp_server-0.1.12.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.12.tar.gz
Algorithm Hash digest
SHA256 49d19657a1d624ef1c2460e341d9f0b2f45c48cabad9f7e7b5178a5c477f8cbe
MD5 170d736ee15c4d738f678d36867b53b8
BLAKE2b-256 9ec3d51346e73508b7f1ec0ed52664023e2974a28b3589fa6150877e95306912

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipinfo_mcp_server-0.1.12-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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 0ba77b919ddeeb1951bfcf2af8af6f02e8350a753b9bfc1f488a970dd9077964
MD5 804542a0af69e2af75d3c8dd44e0aa90
BLAKE2b-256 76d01507ed0be42355790e345801bc892b9eb3cb9a058360ffcaeafa39906780

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 files

0.1.11

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