Web Reader
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Web Reader read https://www.nytimes.com/climate-change-article"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Web Reader
一个强大的 MCP (Model Context Protocol) 服务器,让 Claude 和其他大语言模型能够读取和解析网页内容。支持突破访问限制,轻松获取微信文章、时代杂志等受保护内容。
功能特点
🚀 三引擎支持:集成 Jina Reader API、本地解析器和 Playwright 浏览器
🔄 智能降级:Jina Reader → 本地解析 → Playwright 浏览器三层自动切换
🌐 突破限制:使用 Playwright 处理 Cloudflare、验证码等访问限制
📦 批量处理:支持同时获取多个 URL
🎯 灵活控制:可选择强制使用特定解析方式
📝 Markdown 输出:自动转换为清晰的 Markdown 格式
Related MCP server: Webustler
安装
方法 1:从源码安装
# 克隆仓库
git clone https://github.com/zacfire/mcp-web-reader.git
cd mcp-web-reader
# 安装依赖
npm install
# 构建项目
npm run build
# 安装 Playwright 浏览器(必需)
npx playwright install chromium方法 2:使用 npm 安装(如果已发布)
npm install -g mcp-web-reader配置
在 Claude Desktop 的配置文件中添加:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"web-reader": {
"command": "node",
"args": ["/absolute/path/to/mcp-web-reader/dist/index.js"]
}
}
}使用方法
配置完成后,在 Claude 中可以使用以下命令:
智能获取(推荐)
"请获取 https://example.com 的内容"
自动三层降级:Jina Reader → 本地解析 → Playwright 浏览器
批量获取
"请获取这些网页:[url1, url2, url3]"
每个URL都享受智能降级策略
强制使用 Jina Reader
"使用 Jina Reader 获取 https://example.com"
强制使用本地解析
"使用本地解析器获取 https://example.com"
强制使用浏览器模式
"使用浏览器获取 https://example.com"
直接跳过其他方式,适用于确定有访问限制的网站
支持的受限网站类型
✅ 微信公众号文章 - 自动绕过访问限制
✅ 时代杂志、纽约时报 - 突破付费墙和地区限制
✅ Cloudflare 保护网站 - 通过真实浏览器绕过检测
✅ 需要 JavaScript 渲染的页面 - 完整执行页面脚本
✅ 有验证码/人机验证的网站 - 模拟真实用户行为
工具列表
fetch_url- 智能获取(三层降级:Jina → 本地 → Playwright)fetch_url_with_jina- 强制使用 Jina Readerfetch_url_local- 强制使用本地解析器fetch_url_with_browser- 强制使用 Playwright 浏览器(突破访问限制)fetch_multiple_urls- 批量获取多个 URL
技术架构
智能降级策略
用户请求 URL
↓
1. Jina Reader API (最快,成功率高)
↓ 失败
2. 本地解析器 (Node.js + JSDOM)
↓ 检测到访问限制
3. Playwright 浏览器 (真实浏览器,突破限制)访问限制检测
自动识别以下情况并启用浏览器模式:
HTTP 状态码:403, 429, 503, 520-524
错误关键词:Cloudflare, CAPTCHA, Access Denied, Rate Limit
内容关键词:Security Check, Human Verification
开发
# 开发模式(自动重新编译)
npm run dev
# 构建
npm run build
# 测试运行
npm start
# 安装浏览器二进制文件(首次使用必需)
npx playwright install chromium性能优化
⚡ 浏览器实例复用 - 避免重复启动开销
🚫 资源过滤 - 阻止图片、样式表等不必要加载
🎯 智能选择 - 优先使用快速方法,必要时才用浏览器
💾 优雅关闭 - 正确清理浏览器资源
贡献
欢迎提交 Pull Request!
许可证
MIT License
Available Tools
5 toolsfetch_multiple_urlsC
批量获取多个URL的网页内容
Inputs: urls (required), preferJina.
fetch_urlA
获取指定URL的网页内容,并转换为Markdown格式。默认使用Jina Reader,失败时自动切换到本地解析
Inputs: url (required), preferJina.
fetch_url_localA
强制使用本地解析器获取网页内容(适用于简单网页或Jina不可用时)
Inputs: url (required).
fetch_url_with_browserA
强制使用Playwright浏览器获取网页内容(适用于有访问限制的网站,如Cloudflare保护、验证码等)
Inputs: url (required).
fetch_url_with_jinaB
强制使用Jina Reader获取网页内容(适用于复杂网页)
Inputs: url (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a distinct purpose: batch fetching, default with fallback, local parsing, browser rendering, and Jina-only. Descriptions clearly differentiate when to use each, minimizing confusion.
All tools follow a consistent 'fetch_url' prefix with modifiers for specific strategies (local, browser, jina, multiple). Naming pattern is predictable and uniform.
Five tools cover the core functionality of a web reader without redundancy. The count is well-scoped for the domain.
The tool surface covers all common fetching scenarios: single URL with fallback, forced local, forced browser (for restricted sites), forced Jina (for complex pages), and batch fetching. No obvious gaps for the stated purpose.
Maintenance
Related MCP Connectors
Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.
Convert any web page into clean, LLM-ready Markdown. Strips ads, navigation and clutter; keeps headings, tables, code and links.
Turn any web page URL or HTML into clean Markdown or plain text for an LLM to read.
Convert any webpage to clean LLM-ready markdown, extraction-first, with article and news modes.
Related MCP Servers
- AlicenseAqualityBmaintenanceGive your AI the ability to read the web. Fetches URLs as clean markdown with 9 fallback strategies.5117 npm9MIT
- AlicenseNot gradedqualityDmaintenanceEnables clean, LLM-ready markdown extraction from any URL with automatic anti-bot bypass.3MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to bypass Cloudflare protection and scrape web content, returning clean Markdown with smart chunking and file export.1-
- AlicenseAqualityCmaintenanceEnables AI agents to read web pages reliably, returning clean markdown content, hyperlinks, and metadata without navigation or ad noise.34 npmMIT