Firecrawl MCP
MIT-licensed web search, JS-rendered scraping, site mapping, and clean Markdown extraction engineered specifically for AI agents.MIT 开源 AI 网页抓取与搜索 MCP 服务:处理 JS 动态渲染、全站地图发现并输出纯净 Markdown 给 Agent 与 RAG。
01 Friction Solved消除的小摩擦
Plain `curl` or naive HTTP fetchers choke on modern SPAs, cookie banners, navigation chrome, and client-rendered documentation—dumping 80 KB of broken HTML tags into an LLM context window. Firecrawl MCP gives AI agents dedicated `search`, `scrape`, `map`, and `crawl` tools that render JavaScript pages and strip boilerplate down to clean, token-efficient Markdown.普通 `curl` 或简易 HTTP 抓取遇到现代 SPA 页面、导航栏广告和 JS 动态渲染文档就会抓出一堆 80 KB 的脏 HTML 标签,直接撑爆大模型上下文。Firecrawl MCP 为 Agent 提供专用的 `search`、`scrape`、`map` 和 `crawl` 工具,完成 JS 渲染并提纯为高信噪比 Markdown。
02 Best-Fit Scenarios最适合的使用场景
- Feeding up-to-date framework documentation, changelog pages, or API references into Claude, Cursor, or OpenCode without manually copying web pages.
- Mapping a documentation site’s URL tree first (`firecrawl_map`) and selectively scraping only the 3 relevant pages instead of crawling an entire domain blindly.
- Building automated competitive research or RAG ingestion pipelines that need clean structured JSON/Markdown from JavaScript-heavy web apps.
- 让 Claude、Cursor 或 OpenCode 自动读取最新框架官方文档、Changelog 和 API 参考页,告别手动复制粘贴网页。
- 先用 `map` 工具发现整站文档 URL 结构,再精准抓取最相关的 3 个页面,避免盲目全站爬取浪费额度与上下文。
- 为竞品监控或零成本 RAG 知识库提供干净的 Markdown 与结构化 JSON 数据源,轻松应对重 JS 前端页面。
03 Human & Agent Setup人类与 Agent 快速接入
{
"mcpServers": {
"firecrawl-mcp": {
"command": "npx",
"args": ["-y", "firecrawl-mcp"],
"env": {
"FIRECRAWL_API_KEY": "fc-YOUR_API_KEY"
}
}
}
}
# Or install globally / run unified CLI setup:
# npm install -g firecrawl-mcp
04 Reality Check & Trade-offs真实边界与局限
- Managed Firecrawl Cloud consumes credits per scraped/crawled page—accidental deep crawls (`crawl` without a tight `limit`) can burn through a free starter balance in minutes.
- Respect target websites’ `robots.txt` and terms of service; it is designed for public documentation and research, not bypassing logins or paywalls.
- If you only need zero-cost web search without full JS rendering or self-hosted Firecrawl overhead, pair `mcp-searxng` (Radar #01) with targeted `fetch` calls instead.
- 使用 Firecrawl 官方托管云会按抓取页数扣减额度;调用 `crawl` 时如果不严格设置 `limit` 上限,几分钟就可能刷光免费新手额度。
- 请严格遵守目标站点的 `robots.txt` 与服务条款,仅用于公开文档调研与知识库构建,切勿尝试绕过登录墙或付费墙。
- 如果只需要零成本普通联网检索而不需要复杂 JS 渲染,优先考虑 Radar #01 的 `mcp-searxng` 更省钱轻量。
05 Why VYAGENT Picked ItVYAGENT 选品评语
Together with `mcp-searxng` and `MarkItDown`, Firecrawl MCP completes the web-to-Markdown ingestion triad: use `map` first, scrape narrowly, and keep your agent’s context window crisp.与 `mcp-searxng`、`MarkItDown` 一起,Firecrawl MCP 补齐了 AI Agent“网页转纯净 Markdown”的最后一块拼图:记住“先 map 探路、再精准 scrape”就能既省额度又保质量。
Learn how to chunk scraped Markdown at 350–500 tokens and pair free embeddings, vector search, and reranking.了解如何把抓取到的纯净 Markdown 按 350–500 Token 切块,并串联免费 Embedding、向量库与 Rerank。
Build a zero-cost RAG stack with clean Markdown on FreeTokenBox →在 FreeTokenBox 查看零成本 RAG 知识库完整搭建方案 →06 Frequently Asked Questions常见问题 (FAQ)
When should I use Firecrawl MCP instead of Playwright MCP?什么时候该用 Firecrawl MCP,什么时候该用 Playwright MCP?
Use Firecrawl MCP when your goal is reading and extracting clean Markdown/JSON from public web pages and docs with minimal token waste. Use Playwright MCP (Radar #04) when the agent must click buttons, fill forms, test localhost UI flows, or capture browser console errors.目标是从公开网页/文档高效提取纯净 Markdown 或 JSON 数据时选 Firecrawl MCP,最省 Token;需要点击按钮、填表单、回归测试本地前端页面或抓浏览器控制台报错时,选 Radar #04 的 Playwright MCP。
Can I point Firecrawl MCP at a self-hosted Firecrawl instance?可以把 Firecrawl MCP 指向自己私有部署的 Firecrawl 服务吗?
Yes. Set `FIRECRAWL_API_URL` in the MCP server environment configuration to route requests to your own self-hosted Firecrawl backend.可以。在 MCP 环境变量中配置 `FIRECRAWL_API_URL` 指向你的自托管 Firecrawl 实例即可。