firecrawl-mcp 3.27.3 → 3.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -5
- package/dist/index.js +362 -286
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ A Model Context Protocol (MCP) server that brings [Firecrawl](https://github.com
|
|
|
37
37
|
- Use `firecrawl_credit_usage` to check credits left or monthly consumption, optionally broken down by API key.
|
|
38
38
|
- Consider something else when you need to hold a browser session open across many of your own steps with your own retry and termination logic: each `firecrawl_interact` call runs one `prompt` or `code` turn to completion and returns control — the session can persist across calls via `scrapeId` and ends with `firecrawl_interact_stop`, but you cannot drive it interactively step-by-step from the client side within a single call.
|
|
39
39
|
|
|
40
|
-
This server lists
|
|
40
|
+
This server lists 27 tools when the full profile registers with default settings (feedback tools included, not running in local-keyless mode). Setting `FIRECRAWL_NO_SEARCH_FEEDBACK=1` and/or `FIRECRAWL_NO_ENDPOINT_FEEDBACK=1` removes the corresponding feedback tools and reduces this count, as does local keyless startup. For clients with a tool-slot limit: the hosted keyless endpoint (`https://mcp.firecrawl.dev/v2/mcp`, no API key) exposes only 3 — `firecrawl_scrape`, `firecrawl_search`, `firecrawl_parse` — and the dedicated [search-only endpoint](#search-only-endpoint) (`https://mcp.firecrawl.dev/v2/mcp-search`) exposes a fixed set of 9 tools (search, developer, government, and research search, plus Alexandria catalogue lookup and execution).
|
|
41
41
|
|
|
42
42
|
## Installation
|
|
43
43
|
|
|
@@ -81,7 +81,7 @@ A fixed-scope search surface is also hosted at:
|
|
|
81
81
|
https://mcp.firecrawl.dev/v2/mcp-search
|
|
82
82
|
```
|
|
83
83
|
|
|
84
|
-
It exposes a fixed set of
|
|
84
|
+
It exposes a fixed set of nine tools: `firecrawl_search`, `firecrawl_developer_search`, `firecrawl_gov_search`, the four `firecrawl_research_*` tools, and the two Alexandria tools `firecrawl_find_tools` and `firecrawl_scrape`. Its `firecrawl_search` fetches no page content, and the surface has its own OAuth identity; the full endpoint above is unchanged. It backs a published connector listing, so its tool set is a contract rather than a profile to tune. See [docs/search-profile.md](docs/search-profile.md) for the full contract and what a change to it involves.
|
|
85
85
|
|
|
86
86
|
For packaged MCP workflows in ChatGPT, Codex, or Claude Code, see
|
|
87
87
|
[MCP plugin packages](plugins/README.md).
|
|
@@ -308,6 +308,7 @@ Use this guide to select the right tool for your task:
|
|
|
308
308
|
- **If you need to discover URLs on a site:** use **map**
|
|
309
309
|
- **If you want to search the web for info:** use **search**
|
|
310
310
|
- **If you have a programming question** (a library, an API contract, an error message, a known bug): use **developer search**
|
|
311
|
+
- **If you have a legal or regulatory question** (a statute, regulation, code, court opinion, or other US government publication): use the **Firecrawl Government Index**
|
|
311
312
|
- **If you need scientific papers** (biomedical, life-science, clinical, or arXiv literature): use **research tools** — they search paper abstracts and full text. `search` with `categories: ["research"]` is a different thing: a website filter over ordinary web results.
|
|
312
313
|
- **If you need multi-source research that returns structured data, do not know the URLs, or the answer spans several sites** (an entity plus its fields, a list, a dataset): use **agent**
|
|
313
314
|
- **If you want to analyze a whole site or section:** use **crawl** (with limits!)
|
|
@@ -326,6 +327,7 @@ Use this guide to select the right tool for your task:
|
|
|
326
327
|
| search | Web search for info | results[] |
|
|
327
328
|
| find_tools | Alexandria catalogue browsing and URL lookup | providers, tool contracts and nextTool navigation |
|
|
328
329
|
| developer | Programming questions over developer sources | results[] with passages |
|
|
330
|
+
| gov | US primary law and regulatory material | results[] with snippets |
|
|
329
331
|
| agent | Multi-source research, unknown or many sites | JSON (structured data) |
|
|
330
332
|
| monitor | Recurring page checks | monitor/check metadata and diffs |
|
|
331
333
|
| research | Paper and GitHub repository research | research results and repo matches |
|
|
@@ -419,7 +421,7 @@ Scrape content from a single URL with advanced options.
|
|
|
419
421
|
|
|
420
422
|
**Branding format:** Extracts comprehensive brand identity (colors, fonts, typography, spacing, logo, UI components) for design analysis or style replication.
|
|
421
423
|
**Privacy:** Set `redactPII: true` to return content with personally identifiable information redacted.
|
|
422
|
-
**Hosted server:** On the hosted server (`CLOUD_SERVICE=true`) scrape is read-only. It takes no browser `actions` and cannot accept provider terms. A named `profile` loads saved browser state without saving changes to it. An organization admin accepts terms in the dashboard.
|
|
424
|
+
**Hosted server:** On the hosted server (`CLOUD_SERVICE=true`) scrape is read-only. It takes no browser `actions` and cannot accept provider terms. A named `profile` loads saved browser state without saving changes to it, and the full endpoint's `firecrawl_search` treats `scrapeOptions.profile` the same way. To save browser state to a profile, open the page with `firecrawl_interact` (see below). An organization admin accepts terms in the dashboard.
|
|
423
425
|
|
|
424
426
|
**Returns:**
|
|
425
427
|
|
|
@@ -591,7 +593,7 @@ and small metadata objects. Do not include raw scrape/parse outputs.
|
|
|
591
593
|
|
|
592
594
|
**Returns:**
|
|
593
595
|
|
|
594
|
-
- `{ success, feedbackId, creditsRefunded, creditsRefundedToday?, dailyRefundCap?, dailyCapReached?, alreadySubmitted?, warning? }` JSON.
|
|
596
|
+
- `{ success, feedbackId, creditsRefunded, creditsRefundedToday?, dailyRefundCap?, dailyCapReached?, websiteCapReached?, alreadySubmitted?, warning? }` JSON.
|
|
595
597
|
|
|
596
598
|
### 4. Crawl Tool (`firecrawl_crawl`)
|
|
597
599
|
|
|
@@ -867,6 +869,7 @@ Interact with a fresh URL or with a page that was already opened by `firecrawl_s
|
|
|
867
869
|
|
|
868
870
|
- Pass `url` to scrape and open a page for interaction in one MCP call.
|
|
869
871
|
- Pass `scrapeId` to continue interacting with an existing scraped page.
|
|
872
|
+
- To save browser state (cookies, localStorage) to a named profile, pass `url` with `scrapeOptions: { "profile": { "name": "my-profile", "saveChanges": true } }`. The state is saved when `firecrawl_interact_stop` ends the session.
|
|
870
873
|
- Pass exactly one of `url` or `scrapeId`, plus either `prompt` or `code`.
|
|
871
874
|
|
|
872
875
|
**Usage Example:**
|
|
@@ -1009,6 +1012,31 @@ Search an index built for coding agents. The index covers GitHub issues, merged
|
|
|
1009
1012
|
|
|
1010
1013
|
`firecrawl_search` with `categories: ["developer"]` searches the same index beside the web results. Use this tool instead when you want the matched passages, the `skills` filter, or no web results in the response. The search-only endpoint exposes both tools, and the same choice applies there.
|
|
1011
1014
|
|
|
1015
|
+
### 14b. Government Index Search Tool (`firecrawl_gov_search`)
|
|
1016
|
+
|
|
1017
|
+
Search primary law and regulatory material from US federal, state, and local government sources: statutes, regulations, codes, court opinions, and other government publications.
|
|
1018
|
+
|
|
1019
|
+
**Best for:** A legal or regulatory question that needs the governing text or an official government source.
|
|
1020
|
+
|
|
1021
|
+
**Arguments:**
|
|
1022
|
+
|
|
1023
|
+
```json
|
|
1024
|
+
{
|
|
1025
|
+
"name": "firecrawl_gov_search",
|
|
1026
|
+
"arguments": {
|
|
1027
|
+
"query": "federal food labeling requirements for allergens",
|
|
1028
|
+
"k": 10
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
```
|
|
1032
|
+
|
|
1033
|
+
- `query` (required): the legal or regulatory question or search phrase.
|
|
1034
|
+
- `k`: number of ranked results. The default is 10 and the maximum is 100.
|
|
1035
|
+
|
|
1036
|
+
**Returns:** Ranked results. Each result carries a position, a title, a URL, and the matched snippet. The search-only endpoint exposes this tool too.
|
|
1037
|
+
|
|
1038
|
+
`firecrawl_search` with `categories: ["gov"]` searches the same sources and returns the hits in `data.web` with `category: "gov"`. The `gov` category cannot be combined with other categories.
|
|
1039
|
+
|
|
1012
1040
|
### 15. Alexandria Tools
|
|
1013
1041
|
|
|
1014
1042
|
Firecrawl Alexandria is a catalogue of data providers reachable through the Firecrawl API with a Firecrawl API key on a team with Alexandria access. Keyless sessions (hosted or local) get `Alexandria requires an API key on a team with Alexandria access`; Alexandria discovery tools are not listed for hosted keyless sessions.
|
|
@@ -1289,6 +1317,6 @@ The existing `firecrawl_feedback` tool accepts `endpoint: "alexandria"`:
|
|
|
1289
1317
|
|
|
1290
1318
|
The optional `objective` is the underlying goal of the session: what the agent or its user was ultimately trying to accomplish, beyond the single website in `requestedWebsite`.
|
|
1291
1319
|
|
|
1292
|
-
This uses authenticated `POST /v2/feedback`, without a job ID,
|
|
1320
|
+
This uses authenticated `POST /v2/feedback`, without a job ID. Like search feedback, it must arrive within about 2 minutes of the team's most recent Alexandria search, discovery, or execution; later feedback is rejected with `FEEDBACK_WINDOW_EXPIRED`. Eligible feedback can refund 1 credit, subject to daily caps of 10 credits per website and 100 credits per team (UTC day). Past either cap, feedback is still recorded with no refund, and the response sets `websiteCapReached` or `dailyCapReached`. Optional `providerFeedback` and `capabilityFeedback` arrays describe coverage gaps and execution issues; the tool schema lists supported issue values. A `new_capability_request` requires `requestedFunctionality`; `missing_capability` (the provider exists but lacks the capability) does not. Existing feedback opt-out and authentication controls apply.
|
|
1293
1321
|
|
|
1294
1322
|
Eligible Alexandria execution and discovery results include a `feedbackTool` pointer with the tool name and a skeleton of the arguments. The pointer is omitted for Firecrawl-internal calls such as `bash` and when `firecrawl_feedback` is not registered (`FIRECRAWL_NO_ENDPOINT_FEEDBACK` or keyless startup).
|