
Huoshui Fetch
io.github.huoshuiai42由 GitHub 账号 huoshuiai42 发布v1.0.0更新于 Oct 24, 2026
An MCP server that provides tools for fetching, converting, and extracting data from web pages.
概览
一个本地 MCP 服务器,让助手抓取网页,并把内容转换或提取为 Markdown、纯文本、链接、元数据和图片。
- 可以做什么
- 按 URL 抓取网页,可设置超时、重定向处理、User-Agent,以及用于认证请求的自定义请求头。把 HTML 或 JSON 转换为干净的 Markdown、纯文本或清理后的 HTML。提取正文文章内容、带过滤条件的链接、标题与描述及 OG 标签等页面元数据、按尺寸过滤的图片,以及 JSON-LD 和微数据中的结构化数据。
- 适用场景
- 适合助手需要阅读网页、把 HTML 转成易读的 Markdown 或文本、从页面中抽取文章正文,或为调研和内容整理收集链接、元数据、图片与结构化数据的场景。
- 运行要求
- 以 Python 包(huoshui-fetch)通过 stdio 在本地运行,需要 Python 3.11 及以上版本及其依赖,通常用 uvx 或 python -m 启动。抓取远程 URL 需要网络访问。未声明账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Huoshui Fetch,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
huoshui-fetch
A dedicated web content fetching and conversion MCP (Model Context Protocol) server that provides tools for fetching, converting, and extracting data from web pages.
Features
Fetching Tools
- fetch_url: Fetch content from URLs with customizable timeout, redirect handling, and user-agent
- fetch_with_headers: Fetch URLs with custom headers for authenticated requests
Conversion Tools
- html_to_markdown_tool: Convert HTML to clean Markdown format
- html_to_text_tool: Extract plain text from HTML
- clean_html_tool: Remove scripts/styles and sanitize HTML
- json_to_markdown_tool: Convert JSON data to readable Markdown
Extraction Tools
- extract_article_tool: Extract main article content using readability
- extract_links_tool: Extract all links with filtering options
- extract_metadata_tool: Extract page metadata (title, description, OG tags)
- extract_images_tool: Extract images with size filtering
- extract_structured_data_tool: Extract JSON-LD and microdata
Installation
From MCP Registry (Recommended)
This server is available in the Model Context Protocol Registry. Install it using your MCP client.
mcp-name: io.github.huoshuiai42/huoshui-fetch
Usage
Run with uvx (recommended for one-time use)
Run directly
The server communicates via standard input/output, making it perfect for integration with Claude Desktop and other MCP-compatible clients.
Configuration for Claude Desktop
Add to your Claude Desktop configuration:
Or if installed from GitHub:
Example Usage
Once configured, you can use the tools in Claude Desktop:
Requirements
- Python 3.11+
- Dependencies listed in pyproject.toml
Development & Publishing
This project includes comprehensive automation for building and publishing to PyPI.
Automated Publishing Workflow
Individual Commands
Features
- ✅ Version Management: Automatic synchronization across all files
- ✅ Quality Checks: Ruff linting and MyPy type checking
- ✅ Build Automation: Clean builds with validation
- ✅ Testing Suite: Comprehensive package and functionality tests
- ✅ Publishing Workflow: TestPyPI → PyPI using
uv publish(supports.pypircfiles) - ✅ Error Recovery: Built-in error handling and recovery options
See PUBLISHING.md for detailed documentation.
DXT Extension
This project supports DXT (Desktop Extensions) format for easy distribution and installation.
To build the DXT extension:
This will create a huoshui-fetch-{version}.dxt file that can be installed in compatible AI desktop applications.
License
MIT
来源:README.md,提交 375d268
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分