MCP Web Tools
MCP Web Tools
一个强大的 MCP(Model Context Protocol)服务器,为 AI 代理提供网页超能力。通过简洁的工具界面,提取内容、搜索网页、监控网站,并将 HTML 转换为 markdown。
工具
工具 | 描述 |
| 从任意 URL 提取结构化内容(页面标题、各级标题、段落、链接、图片、元数据) |
| 通过 DuckDuckGo 搜索网页 — 无需 API 密钥 |
| 检查网站是否在线,测量响应时间,获取 HTTP 标头 |
| 将任意 URL 或 HTML 转换为干净的 markdown |
| 并行从多个 URL 提取内容 |
Related MCP server: markfetch-mcp
安装
适用于 Claude Code
添加到你的 Claude Code MCP 设置(~/.claude/settings.json):
{
"mcpServers": {
"web-tools": {
"command": "npx",
"args": ["@rog0x/mcp-web-tools"]
}
}
}适用于 Claude Desktop
添加到 claude_desktop_config.json:
{
"mcpServers": {
"web-tools": {
"command": "npx",
"args": ["@rog0x/mcp-web-tools"]
}
}
}手动安装
npm install -g @rog0x/mcp-web-tools
mcp-web-tools使用示例
从网页提取内容
Use web_extract to get the main content from https://example.com搜索网页
Use web_search to find "best TypeScript frameworks 2026"监控网站
Use web_monitor to check if https://api.example.com is responding将页面转换为 markdown
Use html_to_markdown to convert https://docs.example.com/guide to readable markdown批量提取
Use web_multi_extract to get content from these URLs: [url1, url2, url3]功能特性
无需 API 密钥 — 使用 DuckDuckGo 进行搜索,其他一切均通过直接 HTTP
快速 — 并行提取,每个请求 15 秒超时
干净输出 — 去除脚本、样式和广告;提取有意义的内容
轻量级 — 依赖极少,无需无头浏览器
生产就绪 — 完善的错误处理、超时和输入验证
系统要求
Node.js 18+
许可证
MIT — rog0x
Available Tools
5 toolshtml_to_markdownA
Convert HTML content or a URL to clean, readable markdown. Removes scripts, styles, and navigation.
Inputs: url, html.
web_extractB
Extract structured content from a URL: title, headings, paragraphs, links, images, and metadata
Inputs: url (required).
web_monitorA
Check if a website is up, measure response time, and get HTTP details
Inputs: url (required).
web_multi_extractA
Extract content from multiple URLs in parallel. Returns results for each URL.
Inputs: urls (required).
web_searchA
Search the web using DuckDuckGo and return structured results with titles, URLs, and snippets
Inputs: query (required), num_results.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
web_extract and web_multi_extract are clearly related, with the latter being just a parallel variant, and html_to_markdown overlaps with web_extract for URL-to-content conversion. Search and monitor are clearly distinct, but the extraction/convert boundary could cause misselection.
Most tools follow web_<action>, but html_to_markdown breaks the prefix pattern and uses a different target_to_target style. The pair web_extract/web_multi_extract is consistent, but overall naming conventions are mixed.
Five tools is a well-scoped size for a web utility server, covering search, monitoring, extraction, and conversion without unnecessary bloat. Each tool earns its place, though the single vs. multi extract duplication is minor.
The toolkit covers core web operations: search, availability/response checking, single-URL and multi-URL extraction, and HTML-to-markdown conversion. Minor gaps exist (e.g., no URL validation or site traversal), but agents can accomplish common web tasks without dead ends.
Related MCP Connectors
Web data for agents. Extract web pages, crawl websites, discover URLs, and search the web.
Unblocking and fresh web data for agents: URL to Markdown, YouTube, Maps, Amazon, jobs. Pay per call
Read a URL as clean markdown, screenshot a website, url to PDF. Web access for agents, no signup.
Web search and any page as LLM-ready Markdown for AI agents. Free keyless tier, no signup.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to search the web via DuckDuckGo and fetch relevant webpage content using an LLM, without requiring an API key.-
- AlicenseAqualityDmaintenanceEnables AI agents to fetch any web page as clean markdown or screenshot it, turning URLs into LLM-ready context.29 npmMIT
- AlicenseAqualityBmaintenanceEnables AI agents to perform web searches, fetch and extract page content, and crawl sites with caching, rate limiting, and robots.txt compliance, all without needing API keys.17504 PyPI2MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform live web searches with ranked results and extracted page passages, plus clean markdown extraction of any URL.MIT