Scraper

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

Web scraping MCP — extract clean markdown, links, and metadata from any URL.

概览

AI 生成的概览

一个本地 MCP 服务器,抓取公开网页并返回干净的 Markdown、链接和元数据,供 AI 助手阅读和总结。

可以做什么
抓取指定 URL,在 Node 中用 Mozilla Readability 解析并输出干净的 Markdown 正文,无需无头浏览器。提取页面上的所有链接及其 href 和锚文本。读取页面元数据,如标题、描述、OG 标签、canonical 地址和 favicon。在页面内搜索查询字符串并返回匹配的行。批量抓取多个 URL,并给出每个页面的标题和摘要。
适用场景
适合让助手读取文档页、博客文章、新闻或 API 参考并加以总结或引用,省去用户手动复制粘贴。适用于服务端渲染的页面;对于大量依赖 JavaScript 的单页应用,更适合使用浏览器自动化类服务器。
运行要求
以 stdio 本地进程运行,通过 npx 启动 npm 包 mcp-server-scraper,需要 Node.js 和网络访问。无需账号、API 密钥、环境变量或请求头。
安装前请注意
它会抓取助手收到的任意 URL,并向第三方网站发出请求,因此不要指向内部或私有地址。它只读取页面,不登录、不提交表单、不修改远端数据。它不执行 JavaScript,客户端渲染的页面可能返回很少或没有内容。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

mcp-server-scraper

[npm version] [npm downloads] [CI] [TypeScript] [License: MIT] [Agent Plugins]

Extract clean, readable content from any URL. Returns markdown text, links, and metadata. No API keys, no config. A free alternative to Firecrawl for scraping docs, blogs, and articles.

bash
npx mcp-server-scraper

Works with Claude Desktop, Cursor, VS Code Copilot, and any MCP client. No accounts or API keys needed.

[Install in Cursor]   [Add to VS Code]

[MCP server for web scraping, content extraction, and URL metadata]

Demo built with remotion-readme-kit

Why

When you're working with an AI assistant and need to reference a docs page, a blog post, or an API reference, you usually end up copy-pasting content manually. Tools like Firecrawl solve this but require a paid API key. This server does the same thing for free. It fetches a URL, runs it through Mozilla Readability (the same engine behind Firefox Reader View), and returns clean markdown. It works well for server-rendered content like documentation sites, blog posts, and articles. It won't handle JavaScript-heavy SPAs, but for the most common use case of "read this docs page and summarize it," it does the job.

Tools

ToolWhat it does
scrape_urlExtract clean text content from a URL (Readability-powered)
extract_linksGet all links with href and anchor text
extract_metadataGet title, description, OG tags, canonical, favicon
search_pageSearch for a query string within the page, return matching lines
scrape_multipleBatch scrape multiple URLs, get title + excerpt per URL

Quick Start

Cursor

Add to .cursor/mcp.json:

json
{  "mcpServers": {    "scraper": {      "command": "npx",      "args": ["-y", "mcp-server-scraper"]    }  }}

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "scraper": {      "command": "npx",      "args": ["-y", "mcp-server-scraper"]    }  }}

VS Code

Add to your MCP settings (e.g. .vscode/mcp.json):

json
{  "mcp": {    "servers": {      "scraper": {        "command": "npx",        "args": ["-y", "mcp-server-scraper"]      }    }  }}

Examples

  • "Scrape the API docs from https://docs.example.com and summarize them"
  • "Extract all links from this page"
  • "What's the OG image and description for this URL?"
  • "Search this page for mentions of 'authentication'"
  • "Scrape these 5 URLs and give me a summary of each"

How it works

Uses Mozilla Readability (the engine behind Firefox Reader View) plus linkedom for fast HTML parsing in Node. No headless browser needed. Works best with server-rendered pages: docs, blogs, articles, news sites.

Agent Plugins

This repo is an Agent Plugins 1.0.0 package: plugin.json, portable mcp.json, and skills/ ship together with the MCP server.

For Cursor, clone the repo and copy or symlink it to ~/.cursor/plugins/local/mcp-server-scraper, then reload the window. Skills and MCP show up under Customize > Plugins.

The Cursor and VS Code install buttons above still work: they add the same npx -y mcp-server-scraper stdio server as manual JSON.

FAQ

What is mcp-server-scraper?

A free MCP server that turns public web pages into clean markdown using Mozilla Readability. No Firecrawl or other scrape API key.

Does it run JavaScript or SPAs?

No. It fetches HTML and parses it in Node. Use a browser MCP for React dashboards and other client-rendered sites.

How is this different from Firecrawl?

Firecrawl is a hosted scrape API with billing. This server runs locally via npx, costs nothing, and fits doc/blog/article URLs.

Can I install it as an Agent Plugin in Cursor?

Yes. Use the local plugin path under ~/.cursor/plugins/local/mcp-server-scraper so the bundled web-scraping skill loads with the MCP config.

Do I need API keys or env vars?

No. Point your MCP client at npx -y mcp-server-scraper only.

Development

bash
npm installnpm run typechecknpm run buildnpm test

See also

More MCP servers and developer tools on my portfolio.

Author

[Made by ofershap]

[LinkedIn] [GitHub]


README built with README Builder

License

MIT © Ofer Shapira

来源:README.md,提交 7602c29

工具

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

版本历史

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

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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