FF

firecrawl/firecrawl-mcp-server

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

7704 stars 920 forks 质量 94 趋势 57MIT

🔥 官方 Firecrawl MCP 服务器——为 Cursor、Claude 及其他大型语言模型客户端添加了强大的网页爬取和搜索功能。

概览

一款模型上下文协议(MCP)服务器,将Firecrawl带到兼容MCP的AI代理中——搜索、抓取并与实时网络交互,获取干净、代理准备的上下文。 非常感谢@vrknetha,@knacklabs的初步实现! - 搜索网页并获取整页内容 - 将任意URL抓取为干净、结构化的数据 - 与页面交互 — 点击、导航和操作 - 使用自主代理进行深度研究 - 自动重试和速率限制 - 云和自托管支持 - 支持 SSE 你可以在MCP.so的游乐场或Klavis AI上玩玩我们的MCP服务器。 无需设置即可连接到远程托管服务器: 在无密钥免费层,抓取、搜索和交互无需API密钥(速率限制)即可使用。其他工具如爬取、映射、代理和提取仍然需要密钥。 只要有人能注册,建议使用API密钥或OAuth。这样可以解锁完整的工具集和更高的限制。使用密钥时,请使用: 请参阅MCP服务器文档和代理入职指南了解设置细节。

概述(AI 翻译)

一款模型上下文协议(MCP)服务器,将Firecrawl(AI代理上下文API)带到兼容MCP的客户端:搜索、抓取并与实时网页交互,获取干净的Markdown或结构化数据。

非常感谢@vrknetha,@knacklabs的初步实现!

特色

  • 网页搜索,每个结果可选择包含整页内容
  • 搜索开发者来源索引(GitHub issue、合并拉取请求、README 和文档)、美国政府来源及科学论文(PubMed、bioRxiv、medRxiv、arXiv)
  • 将任意URL抓取成干净的Markdown或结构化JSON格式
  • 解析PDF和文档
  • 爬取多个页面的内容,或映射以发现其网址
  • 在真实浏览器中与页面交互:点击、输入、填写表单并浏览动态页面
  • 运行多源研究的代理作业,返回结构化数据
  • 监控页面,并在内容变更时收到通知
  • 检查当前及历史的Firecrawl信用使用情况
  • 自动重试和速率限制
  • 云和自托管支持
  • SSE 支持

在MCP.so的游乐场或Klavis AI上,使用我们的MCP服务器进行尝试。

何时使用这台服务器

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Firecrawl MCP Server

A Model Context Protocol (MCP) server that brings Firecrawl, the context API for AI agents, to MCP-compatible clients: search, scrape, and interact with the live web and get back clean Markdown or structured data.

Big thanks to @vrknetha, @knacklabs for the initial implementation!

Features

  • Search the web, optionally with full page content for each result
  • Search indexes for developer sources (GitHub issues, merged pull requests, READMEs, and docs), US government sources, and scientific papers (PubMed, bioRxiv, medRxiv, arXiv)
  • Scrape any URL into clean Markdown or structured JSON
  • Parse PDFs and documents
  • Crawl a site for content from many pages, or map it to discover its URLs
  • Interact with pages in a real browser: click, type, fill forms, and navigate dynamic pages
  • Run Agent jobs for multi-source research that returns structured data
  • Monitor pages and get notified when their content changes
  • Check current and historical Firecrawl credit usage
  • Automatic retries and rate limiting
  • Cloud and self-hosted support
  • SSE support

Play around with our MCP Server on MCP.so’s playground or on Klavis AI.

When to Use This Server

  • Use firecrawl_scrape when you have a known URL and want its content as markdown or as JSON matching a schema you supply.
  • Use firecrawl_map when you need to discover URLs on a site without fetching their content.
  • Use firecrawl_crawl when you need content from many pages under a site; set limit, includePaths/excludePaths, or maxDiscoveryDepth to bound it.
  • Use firecrawl_search when you’re starting from a query rather than a URL and want ranked web results. Results carry excerpts; fetch full pages with firecrawl_scrape on the URLs you need. scrapeOptions fetches every result’s page in the same call and bills each as a scrape, so keep it for the full text of a few results (the search-only endpoint never fetches content).
  • Use firecrawl_interact when a page needs a click, type, or navigate action before you can read it: pass a url for a fresh page or a scrapeId to continue on one you already scraped.
  • Use the firecrawl_monitor_* tools when the same page needs to be checked on a recurring schedule with diffs and change alerts, rather than fetched once.
  • Use firecrawl_credit_usage to check credits left or what credits were spent on, by month or day, optionally broken down by endpoint or API key.
在 GitHub 查看完整 README

安装

npx -y firecrawl-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "firecrawl-mcp": { "command": "npx", "args": ["-y", "firecrawl-mcp"], "env": { "FIRECRAWL_API_KEY": "YOUR-API-KEY" } } } }