IPinfo API MCP Server for Residential Proxy, Lite, Core, and Plus bundles.
- Python 3.14+
- uv
uv sync --dev
cp .env.example .env
# Add your IPinfo token to .envGet a free API token at ipinfo.io/signup.
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| Variable | Default | Description |
|---|---|---|
IPINFO_TOKEN |
API token | |
IPINFO_API_BASE_URL |
https://api.ipinfo.io |
API base URL |
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) |
# 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.
uv run pyrightuv run ruff check .
uv run ruff format .