Skip to main content

IPinfo MCP Server

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

OpenSSF Scorecard

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.9.tar.gz (95.7 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.9-py3-none-any.whl (40.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipinfo_mcp_server-0.1.9.tar.gz
  • Upload date:
  • Size: 95.7 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.9.tar.gz
Algorithm Hash digest
SHA256 d5a8325c4dbae92f1855676aced5a3abc7f4043573b879cdcdee356b8eb2f9f8
MD5 d03384dee467e632993b8d4ad13c6118
BLAKE2b-256 3e831b86a78d74e0e415b6de9e10769a202647d56b76e22ab69314c2ec7f5cf0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipinfo_mcp_server-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 40.2 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6eb3bf478cf6c39b52f9c494ec885469151e8e6cc8a37ef8dbc3841f49574580
MD5 0eaa9be2902f7d1054ed0e3933afae04
BLAKE2b-256 279b7c29520091f2d89650c6543c0e5f10116cb91ea61659ebe5237f17105b59

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

This release

0.1.9 This release

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