Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Deprecated. https://aluvia.io/docs

Aluvia MCP Server

Unblockable browser automation for AI agents.

PyPI version Python versions license MCP compatible


Stop getting blocked. The Aluvia MCP server exposes browser session management, geo-targeting, and account operations as Model Context Protocol tools for AI agents. Route traffic through premium US mobile carrier IPs and bypass 403s, CAPTCHAs, and WAFs that stop other tools. Works with Claude Desktop, Claude Code, Cursor, VS Code, and any MCP-compatible client.

Table of Contents


Quick Start

pip install aluvia-mcp
export ALUVIA_API_KEY="your-api-key"
aluvia-mcp

Get your API key at dashboard.aluvia.io. The server runs on stdio (stdin/stdout JSON-RPC) — MCP clients spawn it and communicate over stdio.


Requirements

  • Python 3.10+
  • Aluvia API key — sign up at dashboard.aluvia.io
  • Playwright (optional) — required for browser sessions: pip install playwright && playwright install chromium

Installation

pip install aluvia-mcp

Or from source:

git clone https://github.com/aluvia-connect/sdk-python.git
cd sdk-python/aluvia_mcp
pip install -e .

For browser session tools, install Playwright:

pip install playwright
playwright install chromium

Set your API key:

export ALUVIA_API_KEY="your-api-key"

Client Configuration

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "aluvia": {
      "command": "aluvia-mcp",
      "env": {
        "ALUVIA_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Code (VS Code Extension)

Add to your VS Code settings (.vscode/settings.json or User Settings):

{
  "mcp.servers": {
    "aluvia": {
      "command": "aluvia-mcp",
      "env": {
        "ALUVIA_API_KEY": "your-api-key"
      }
    }
  }
}

Cursor

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "aluvia": {
      "command": "aluvia-mcp",
      "env": {
        "ALUVIA_API_KEY": "your-api-key"
      }
    }
  }
}

Generic MCP Client

Any MCP-compatible client can use the server by spawning it with stdio transport:

import subprocess
import json

proc = subprocess.Popen(
    ["aluvia-mcp"],
    stdin=subprocess.PIPE,
    stdout=subprocess.PIPE,
    env={"ALUVIA_API_KEY": "your-api-key"}
)

# Send JSON-RPC requests to proc.stdin
# Read JSON-RPC responses from proc.stdout

Available Tools

Session Management

  • session_start — Start a browser session with Aluvia smart proxy
  • session_close — Close one or all running sessions
  • session_list — List all active sessions
  • session_get — Get detailed session info (CDP URL, proxy config, block detection state)
  • session_rotate_ip — Rotate IP address for a session
  • session_set_geo — Set or clear target geographic region
  • session_set_rules — Add or remove proxy routing rules

Account Management

  • account_get — Get account info (plan, balance)
  • account_usage — Get usage statistics for a date range

Geo-Targeting

  • geos_list — List available geographic regions

Use Cases

1. AI Agent Web Scraping

AI agents need to scrape data from websites that block automated traffic. Aluvia routes requests through mobile IPs, making them appear as real users.

Example workflow:

  1. Agent calls session_start with --auto-unblock to launch a browser
  2. Agent navigates to target websites
  3. If blocked, Aluvia detects it and automatically reroutes through mobile IPs
  4. Agent extracts data successfully
  5. Agent calls session_close when done

2. Multi-Region Testing

Test how websites behave for users in different US regions.

Example workflow:

  1. Agent calls geos_list to see available regions
  2. Agent calls session_start and then session_set_geo with us_ca for California IPs
  3. Agent verifies location-specific content
  4. Agent calls session_set_geo with us_ny to switch to New York IPs
  5. Agent compares results

3. Dynamic Unblocking

Agent adapts to blocks in real-time without restarting.

Example workflow:

  1. Agent calls session_start without proxy rules (all traffic goes direct)
  2. Agent encounters a block on example.com
  3. Agent calls session_set_rules with "example.com" to add it to proxy rules
  4. Agent retries the request — now routed through Aluvia
  5. Request succeeds

Why Aluvia

The Problem: Websites block datacenter IPs (AWS, GCP, Azure) because they're commonly used by bots. This breaks AI agents that need web access.

The Solution: Aluvia routes traffic through real US mobile carrier IPs — the same IPs used by millions of people on AT&T, T-Mobile, and Verizon. Websites can't distinguish these requests from legitimate mobile users.

Key Features:

  • Automatic block detection — detects 403s, CAPTCHAs, WAFs, and Cloudflare challenges
  • Auto-unblocking — when blocked, Aluvia reroutes through mobile IPs and reloads the page
  • Smart routing — only proxy sites that need it; everything else goes direct (saves cost and latency)
  • Runtime rule updates — add sites to proxy rules on the fly, no restarts
  • IP rotation — rotate IPs or target specific US regions at runtime
  • CDP debugging — get Chrome DevTools Protocol URLs for remote debugging


License

MIT License — see LICENSE for details.

Metadata

Release files for aluvia-mcp 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aluvia-mcp 1.0.0
File Size Uploaded Provenance Actions
aluvia_mcp-1.0.0.tar.gz 11.4 kB Without provenance Details for aluvia_mcp-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aluvia-mcp 1.0.0
File Interpreter ABI Platform Actions
aluvia_mcp-1.0.0-py3-none-any.whl Python 3 none any Details for aluvia_mcp-1.0.0-py3-none-any.whl

Total release size: 21.4 kB

Release files / aluvia_mcp-1.0.0.tar.gz

Download URL aluvia_mcp-1.0.0.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a5bb8137b1c65852ac72f9641f5d5d36b52867553c7403cc3cf1cffc9664fc43
BLAKE2b-256 checksum
How to use checksums
32760c03ca99ffc6c1ae5476c867b9fda536e488510ae7fdb130e60f16606866
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / aluvia_mcp-1.0.0-py3-none-any.whl

Download URL aluvia_mcp-1.0.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffa638eab28a24dae4804d1e2d9b02c5eea523f9fa5cfb2d01622810ec77813b
BLAKE2b-256 checksum
How to use checksums
d0560f9039e4ae72a04a74a76a694652eef6e734c1c67459a791eeeb4cc8ed66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Security for aluvia-mcp 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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