Web

io.github.rog0x由 GitHub 账号 rog0x 发布v1.0.1更新于 Oct 25, 2026

Web scraping, search, monitoring, and HTML-to-markdown for AI agents

概览

AI 生成的概览

本地 MCP 服务器,为助手提供网页抓取、DuckDuckGo 搜索、站点监控和 HTML 转 Markdown 工具。

可以做什么
从单个 URL 提取结构化内容,包括标题、标题层级、段落、链接、图片和元数据,也可通过 web_multi_extract 并行提取多个 URL(web_extract、web_multi_extract)。通过 DuckDuckGo 搜索网页,无需 API 密钥(web_search)。检查站点是否在线、测量响应时间并读取 HTTP 响应头(web_monitor)。将 URL 或原始 HTML 转换为整洁的 Markdown(html_to_markdown)。
适用场景
适合助手需要读取或总结实时网页、收集搜索结果、批量抓取多个页面,或确认某个接口是否正常响应时使用。对于纯内容提取,是比无头浏览器方案更轻量的选择。
运行要求
通过 npx 或全局 npm 安装以 stdio 在本地运行;需要 Node.js 18 或更高版本,并能访问目标站点和 DuckDuckGo。未声明任何 API 密钥或环境变量。
安装前请注意
它会抓取助手提供的任意 URL,请求会发往第三方站点并留下访问记录。抓取到的网页内容属于不可信输入,可能包含提示注入。搜索依赖 DuckDuckGo 的公开接口,可能被限流或发生变化。不需要任何凭据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Web,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

MCP Web Tools

A powerful MCP (Model Context Protocol) server that gives AI agents web superpowers. Extract content, search the web, monitor sites, and convert HTML to markdown — all through a clean tool interface.

Tools

ToolDescription
web_extractExtract structured content from any URL (title, headings, paragraphs, links, images, metadata)
web_searchSearch the web via DuckDuckGo — no API key needed
web_monitorCheck if a site is up, measure response time, get HTTP headers
html_to_markdownConvert any URL or HTML to clean markdown
web_multi_extractExtract content from multiple URLs in parallel

Installation

For Claude Code

Add to your Claude Code MCP settings (~/.claude/settings.json):

json
{  "mcpServers": {    "web-tools": {      "command": "npx",      "args": ["@rog0x/mcp-web-tools"]    }  }}

For Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "web-tools": {      "command": "npx",      "args": ["@rog0x/mcp-web-tools"]    }  }}

Manual Installation

bash
npm install -g @rog0x/mcp-web-toolsmcp-web-tools

Usage Examples

Extract content from a webpage

Use web_extract to get the main content from https://example.com

Search the web

Use web_search to find "best TypeScript frameworks 2026"

Monitor a website

Use web_monitor to check if https://api.example.com is responding

Convert page to markdown

Use html_to_markdown to convert https://docs.example.com/guide to readable markdown

Batch extraction

Use web_multi_extract to get content from these URLs: [url1, url2, url3]

Features

  • No API keys required — uses DuckDuckGo for search, direct HTTP for everything else
  • Fast — parallel extraction, 15s timeout per request
  • Clean output — strips scripts, styles, ads; extracts meaningful content
  • Lightweight — minimal dependencies, no headless browser needed
  • Production-ready — proper error handling, timeouts, input validation

Requirements

  • Node.js 18+

License

MIT — rog0x

来源:README.md,提交 49a918e

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分