Skip to main content

parhelyx-mcp

Official Model Context Protocol server for the Parhelyx scraping API. It gives your AI agent the ability to read any web page as clean Markdown and to discover links to navigate a site.

Tools

Tool Description
scrape_url(url, only_main_content=True, proxy_tier="datacenter") Returns the page as clean Markdown.
extract_links(url) Returns every link on the page so the agent can crawl.

Install & run

# Zero-install (recommended)
uvx parhelyx-mcp

# or with pip
pip install parhelyx-mcp
parhelyx-mcp

From a local checkout: uvx --from . parhelyx-mcp or pip install -e ..

Configuration

Variable Required Default
PARHELYX_API_KEY yes -
PARHELYX_API_URL no https://parhelyx.com

The legacy names WEB2LLM_API_KEY and WEB2LLM_API_URL are still accepted as a fallback when the PARHELYX_* variables are not set.

Example MCP client config

{
  "mcpServers": {
    "parhelyx": {
      "command": "uvx",
      "args": ["parhelyx-mcp"],
      "env": { "PARHELYX_API_KEY": "YOUR_API_KEY" }
    }
  }
}

The same block works in any MCP client (Claude Desktop, Cursor, Windsurf, ...): add it to the client's MCP configuration and restart the client. Get a free API key at parhelyx.com/register.

Errors

Failures are returned to the agent as readable text starting with Error:, with a hint for each case: 401 (invalid key), 402 (no credits), 403 (plan does not allow the request, e.g. residential proxies), 422 (rejected URL or parameters), 429 (rate limit, with Retry-After) and 5xx (service unavailable).

Development

pip install -e . pytest
pytest tests                       # offline, HTTP is mocked, no credits spent

# Live check against a deployment (PowerShell: $env:PARHELYX_API_KEY = "...")
python scripts/smoke_test.py --no-spend   # key-less checks only
python scripts/smoke_test.py              # + one scrape_url and one extract_links (~2 credits)

Metadata

Release files for parhelyx-mcp 0.1.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 parhelyx-mcp 0.1.0
File Size Uploaded Provenance Actions
parhelyx_mcp-0.1.0.tar.gz 5.8 kB Without provenance Details for parhelyx_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for parhelyx-mcp 0.1.0
File Interpreter ABI Platform Actions
parhelyx_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for parhelyx_mcp-0.1.0-py3-none-any.whl

Total release size: 12.6 kB

Release files / parhelyx_mcp-0.1.0.tar.gz

Download URL parhelyx_mcp-0.1.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fb9a22c63d59c7c6780c352c9efe63ecb8079c514ea3482d5dcf5194eca93555
BLAKE2b-256 checksum
How to use checksums
315421c512bbbd8ba0d49a4e9f9b324f0adc49e7a8b4b4e76661a162350d0c4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / parhelyx_mcp-0.1.0-py3-none-any.whl

Download URL parhelyx_mcp-0.1.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1b255b891bdbdc54acc9f8e4c5f8309464a2b321de105e45741a590edcab243
BLAKE2b-256 checksum
How to use checksums
70f570cfc245c4f08b9eea7f8254ea32f60fb8abbb22af644a51bd0fcc6a1773
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for parhelyx-mcp 0.1.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

0.1.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