CrawlEyes MCP Server
io.github.waiky-github由 GitHub 帳號 waiky-github 發布v0.2.0更新於 Oct 24, 2026
Web scraping & search for AI agents: extract, SearXNG search, rerank, robots compliance. No API key.
概覽
CrawlEyes 透過本機 MCP 伺服器,讓助理能進行網頁搜尋、全文擷取、網站地圖探索,以及產出附引用的深度研究報告。
- 可以做什麼
- 提供四個 MCP 工具:search(優先使用 SearXNG,可回退到免金鑰的 Tavily,並可選用本機語意重排)、extract(以無頭瀏覽器擷取並輸出 Markdown、去雜訊、原始或附引用格式)、deep_research(拆解主題、搜尋、擷取並彙整成附引用的報告)、sitemap(從 sitemap.xml 探索網址,並以 robots.txt 作為備援)。另提供相容 Firecrawl 的 /scrape 端點與適合 RAG 的輔助函式。擷取內容會做提示注入清理,各工具共用限流與退避機制。
- 適用情境
- 當助理需要閱讀網頁、執行搜尋或整理附引用的研究資料,且不想使用付費搜尋帳號時適用,也適合常用搜尋 API 被封鎖的網路環境。適合能執行 Python 程序的本機桌面 MCP 用戶端。
- 執行需求
- 以 PyPI 套件 crawleyes 在本機透過 stdio(或 streamable-http)執行,需要 Python 3.12、Crawl4AI 與 Playwright Chromium 瀏覽器。選用的 SEARXNG_URL 指向自架的 SearXNG 實例;選用的 TAVILY_API_KEY 可提高搜尋速率上限。重排模型會從 Hugging Face 下載,可能需要鏡像位址。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 CrawlEyes MCP Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
CrawlEyes — Web Scraping & Search Toolkit for AI Agents
English | 中文
[GitHub stars] [GitHub license] [Python] [MCP] [MIT]
CrawlEyes gives AI agents reliable full-text extraction (web_extract) and robust search (web_search) backends — the "eyes" that let agents see and read the web. Built and tested against Hermes Agent.
Also ships as a standard MCP server, so any MCP client (Claude Desktop, Cursor, other agents) can reuse the same search + extraction capabilities.
Why CrawlEyes?
Most agent toolkits cover one slice of the pipeline. CrawlEyes is the rare all-in-one that you can actually run behind the Great Firewall without external accounts.
Zero API keys. Zero external accounts. One command. CrawlEyes is the only toolkit in this space that combines search + extraction + semantic reranking + MCP in a single, China-friendly, self-hosted package.
Features
Project layout
Quick start
1. Install Crawl4AI (China-friendly mirrors)
2. Scrape a page
3. Use the search + rerank (standalone, no Hermes)
China-network note: the embedding model downloads from HuggingFace, which is blocked on mainland networks. Set
HF_ENDPOINT=https://hf-mirror.comandHF_HUB_DISABLE_XET=1(hf-mirror doesn't support the xet protocol and returns 401 without this).
4. Run as an MCP server (any client)
For Hermes specifically, add to config.yaml:
4b. Firecrawl-compatible /scrape endpoint
Already using Firecrawl's Python SDK? Point it at CrawlEyes and keep your code:
This is a pragmatic subset of the Firecrawl API — the core /scrape contract
(success + data.markdown + data.metadata), backed by CrawlEyes' own
extraction engine. It does not implement Firecrawl's async /crawl queue,
/search, or /map — see the design notes for the rationale.
5. Install the search plugin (Hermes)
Copy plugins/searxng-tavily/ into a Hermes plugins dir, then:
Set SEARXNG_URL in your Hermes profile .env to point at your SearXNG instance. If unset or unreachable, the provider automatically falls back to the Tavily keyless API (no API key required).
Note: the plugin only takes effect for newly started agent sessions.
6. Verify
Design notes
- Layered composition: no single tool covers everything. Crawl4AI handles extraction; SearXNG + Tavily cover search; each layer has a tested fallback.
- Tavily keyless works with zero configuration and no account — a cheap resilience net for the whole search path.
- Circuit breaker is SearXNG-only: a Tavily fallback success does not reset the breaker (otherwise it would never trip).
record_success()is only called when SearXNG itself succeeds. - Shared SQLite cache lives in the real user home (via
pwd.getpwuid, not$HOME— which Hermes profiles override), so all profiles share one cache. WAL + 5s timeout + try/except degrade-to-no-cache under concurrency. - Semantic rerank is cheap: fastembed (ONNX) avoids the ~2GB torch dependency; model loads in ~0.6s once cached, embeddings in ~50ms.
- MCP server is standalone: it does not import Hermes internals, so it runs on any Python 3.12 env and serves any MCP client.
- MCP transport is dual: stdio (default, standard MCP clients) or
streamable-http(--transport http), so a single codebase serves both local process and remote HTTP clients. - Unified rate limiting is layered: MCP tools and deep-research's internal search/extract all share one sliding-window limiter (per-tool cost), so concurrent agent fan-out can't hammer SearXNG/Tavily/Crawl4AI even through multi-round deep research.
Credits & inspiration
This project builds on a set of excellent open-source tools. All code here is an independent implementation (no copied code), but the ideas and interfaces are drawn from the following projects — full credit to their authors:
Design independence: the implementations here are written from scratch — we studied the above projects' approaches (denoising thresholds, rerank pipelines, backoff strategies, MCP tool patterns) but did not copy their source code. Dependencies are declared in
requirements.txt. If you believe any attribution is missing or incorrect, please open an issue.
Compliance
CrawlEyes is a general-purpose fetch toolkit for legitimate research and personal use. It deliberately does not include proxy pools, fingerprint rotation, or CAPTCHA-solving (anti-scraping evasion) — those are out of scope.
Robots.txt is opt-in (default off): pass respect_robots=True to extract / markdown (or --respect-robots on the CLI) to check each target's robots.txt (RFC 9309) and refuse URLs it explicitly disallows. It's default-off so legitimate scraping isn't silently blocked by aggressive or broken robots rules — compliance is the caller's informed choice per use case. Always review each site's terms of service before scraping at scale.
License
MIT — see LICENSE.
📮 关注我们
公众号:AI Aperture —— 分享 AI 工程实践、多 Agent 系统与开源项目经验。
扫码关注,获取项目更新与更多技术内容。
來源:README.md,提交 f20a7a7
工具
0版本歷史
1- v0.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分