AI-First Scraper

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

Three MCP tools: fetch_page, fetch_pages_batch, search_web. Ad-free Markdown for AI agents.

发布方自己的服务:AI-first company: evidence on AI adoption

已验证STDIO仅桌面网页搜索与抓取

概览

AI 生成的概览

一个本地 MCP 服务器,为助手提供三个工具:把网页抓取为干净的 Markdown,以及执行网页搜索并直接返回已转换为 Markdown 的结果。

可以做什么
抓取单个 URL,返回干净的 Markdown,支持 HTML 和 PDF 页面,去除广告和原始标记。并行抓取最多 25 个 URL,并分别返回每个页面的 Markdown。执行网页搜索,返回已转换为 Markdown 的靠前结果,可直接用于总结或推理。
适用场景
适合助手需要阅读网页或 PDF、并进行网页搜索而不必处理原始 HTML 的场景,例如资料调研、文章摘要或为任务收集来源。
运行要求
以 stdio 在本地运行,可通过 uvx 从 PyPI 包 ai-first-scraper-mcp 启动,或用 pip 安装。需要网络访问默认的公共抓取与搜索服务,或通过 SCRAPER_URL 和 SEARCH_URL 指向自建后端。AFS_TIMEOUT 设置上游 HTTP 超时。未声明身份验证。
安装前请注意
默认情况下,所有抓取的 URL 和搜索查询都会发送到托管在 Render 上的公共 ai-first-scraper 和 ai-first-search 服务,页面内容和查询会离开本机。如有顾虑,可将 SCRAPER_URL 和 SEARCH_URL 指向自建后端。这些工具只读取网页内容,不涉及写入或凭据。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

ai-first-scraper-mcp

Plug Claude Desktop, Cursor, or Cline straight into an ad-free web scraper + search engine. Three tools, one line of config.

[PyPI] [Python] [MCP] [License: MIT]


What it does

Adds three tools to any MCP-compatible agent:

ToolWhat it does
fetch_pageFetch one URL → return clean Markdown (HTML or PDF).
fetch_pages_batchFetch up to 25 URLs in parallel → return Markdown for each.
search_webRun a web search and return the top-k result pages already converted to Markdown.

No more "the model called curl and then tried to parse 80kB of ad HTML." Your agent receives clean Markdown ready to reason about.

Backed by the ai-first-scraper and ai-first-search APIs.


Install

Fastest — uvx (no install, runs from PyPI on demand)

jsonc
// claude_desktop_config.json  /  cline_mcp_settings.json  /  ~/.cursor/mcp.json{  "mcpServers": {    "ai-first-scraper": {      "command": "uvx",      "args": ["ai-first-scraper-mcp"]    }  }}

Restart your client (Claude Desktop / Cursor / Cline). The three tools above will appear automatically.

Alternative — pip install

bash
pip install ai-first-scraper-mcp
jsonc
{  "mcpServers": {    "ai-first-scraper": {      "command": "ai-first-scraper-mcp"    }  }}

Where the config file lives

ClientConfig path
Claude Desktop (macOS)~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Windows)%APPDATA%\Claude\claude_desktop_config.json
Cursor~/.cursor/mcp.json
Cline (VS Code)~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Point at your own backend (optional)

By default this server calls the public ai-first-scraper.onrender.com and ai-first-search.onrender.com instances. If you want to self-host, set env vars in your MCP config:

jsonc
{  "mcpServers": {    "ai-first-scraper": {      "command": "uvx",      "args": ["ai-first-scraper-mcp"],      "env": {        "SCRAPER_URL": "https://your-scraper.example.com",        "SEARCH_URL":  "https://your-search.example.com",        "AFS_TIMEOUT": "60"      }    }  }}

Verify it works

Open your MCP client and ask the agent:

"Use the search_web tool to find the top 3 recent articles about MCP and summarize them in 5 bullets each."

You should see the agent call search_web, get back Markdown for each result, and produce the summary without ever touching raw HTML.


Companion projects

  • ai-first-scraper — the per-URL Markdown cleaner this MCP server fans out to.
  • ai-first-search — search → scrape → markdown pipeline.
  • mcp-rec — record & replay any MCP server's traffic for tests and bug reports.
  • llm-cache-proxy — local cache for OpenAI/Anthropic API calls.
  • promptlocker — lockfile for prompts.
  • context-diff — see what blew up your Claude Code context window.
  • agentwatch — overlay for browser AI agents.

Develop locally

bash
git clone https://github.com/yubinkim444/ai-first-scraper-mcp.gitcd ai-first-scraper-mcp
uv sync                    # or: pip install -e .ai-first-scraper-mcp       # speaks MCP over stdio

To test against a local client, point its MCP config at the same command.


About the author

Built by yubinkim444, who also makes Kay's Records — an app for iOS and Android.

If this project saved you time, giving the app a try is the nicest way to say thanks.

License

MIT © yubinkim444

来源:README.md,提交 ec64d75

工具

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

版本历史

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

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

其他 Ai-First 集成