- Mcp Web Reader
Mcp Web Reader
让Claude等大语言模型轻松获取和解析任何网页内容,并转化为干净的Markdown。支持双引擎、批量处理,增强AI互联网信息处理能力。
Content
MCP Web Reader
一个强大的 MCP (Model Context Protocol) 服务器,让 Claude 和其他大语言模型能够读取和解析网页内容。
功能特点
- 🚀 双引擎支持:集成 Jina Reader API 和本地解析器
- 🔄 智能降级:Jina Reader 失败时自动切换到本地解析
- 📦 批量处理:支持同时获取多个 URL
- 🎯 灵活控制:可选择强制使用特定解析方式
- 📝 Markdown 输出:自动转换为清晰的 Markdown 格式
安装
方法 1:从源码安装
# 克隆仓库
git clone https://github.com/zacfire/mcp-web-reader.git
cd mcp-web-reader
# 安装依赖
npm install
# 构建项目
npm run build
方法 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 的内容"
-
批量获取
- "请获取这些网页:[url1, url2, url3]"
-
强制使用 Jina Reader
- "使用 Jina Reader 获取 https://example.com"
-
强制使用本地解析
- "使用本地解析器获取 https://example.com"
工具列表
Workspace_url- 智能获取(优先 Jina,失败切换本地)Workspace_url_with_jina- 强制使用 Jina ReaderWorkspace_url_local- 强制使用本地解析器Workspace_multiple_urls- 批量获取多个 URL
开发
# 开发模式(自动重新编译)
npm run dev
# 构建
npm run build
# 测试运行
npm start
贡献
欢迎提交 Pull Request!
许可证
MIT License
Server Config
{
"mcpServers": {
"web-reader": {
"command": "node",
"args": [
"/absolute/path/to/mcp-web-reader/dist/index.js"
]
}
}
}Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
Amap Maps高德地图官方 MCP Server
ChatWiseThe second fastest AI chatbot™
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
DeepChatYour AI Partner on Desktop
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Tavily Mcp
CursorThe AI Code Editor
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Serper MCP ServerA Serper MCP Server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Playwright McpPlaywright MCP server