Skip to main content

WebRead MCP

A Model Context Protocol (MCP) server that enables AI assistants to read webpages and perform web searches.

Tools

read_webpage

Fetches a webpage via GET request and returns its text content.

Parameters:

  • url (required) - The URL to fetch
  • max_chars (optional, default: 500) - Maximum characters to return
  • offset (optional, default: 0) - Starting character position for chunked reading
  • raw_html (optional, default: false) - Return raw HTML instead of extracted text

Example:

{
  "url": "https://example.com",
  "max_chars": 1000,
  "offset": 0
}

web_search

Performs a web search using DuckDuckGo and returns titles with links.

Parameters:

  • query (required) - The search query
  • page (optional, default: 1) - Page number (1-based)

Example:

{
  "query": "python tutorial",
  "page": 1
}

Installation

From PyPI

pip install webread-mcp

From Source

git clone <repository-url>
cd webreadmcp
pip install -e .

Configuration

Add the server to your MCP client configuration:

If installed via pip

{
  "mcpServers": {
    "webread": {
      "command": "python",
      "args": ["-m", "webread_mcp"]
    }
  }
}

Running Manually

python -m webread_mcp

The server communicates via stdio and will wait for MCP protocol messages.

Custom CA Bundle

{
  "mcpServers": {
    "webread": {
      "command": "python",
      "args": ["-m", "webread_mcp"],
      "env": {
        "SSL_CERT_FILE": "/path/to/corporate-ca-bundle.crt"
      }
    }
  }
}

Disable SSL Verification (Not Recommended)

{
  "mcpServers": {
    "webread": {
      "command": "python",
      "args": ["-m", "webread_mcp"],
      "env": {
        "WEBREAD_VERIFY_SSL": "false"
      }
    }
  }
}

Dependencies

  • mcp - Model Context Protocol SDK
  • httpx - HTTP client
  • beautifulsoup4 - HTML parsing
  • duckduckgo_search - Web search

Metadata

Release files for webread-mcp 1.3.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 webread-mcp 1.3.0
File Size Uploaded Provenance
webread_mcp-1.3.0.tar.gz 6.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for webread-mcp 1.3.0
File Interpreter ABI Platform
webread_mcp-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.6 kB

Release files / webread_mcp-1.3.0.tar.gz

Download URL webread_mcp-1.3.0.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e54154e01902d994765620850f9465ef13dd6542bee8d6c6983b19758dc51e81
BLAKE2b-256 checksum
How to use checksums
caab0b4770c6eecf57b7566eca5a20b17cbc8b9ec12dd2492606234cc8b0f0c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Release files / webread_mcp-1.3.0-py3-none-any.whl

Download URL webread_mcp-1.3.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3444578b2a8f51be08a1423c9660652bd8d7b6b2b4433dcf5fe16bbaeae2bdc
BLAKE2b-256 checksum
How to use checksums
9b53c77caeb16e4099a7d59ca29c52e3918a1b6101173c5b001d2d1cc57b87c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.9

Security for webread-mcp 1.3.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.

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