firecrawl-mcp 2.0.1 → 2.1.0
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 +0 -76
- package/dist/index-v1.js +1313 -0
- package/dist/index.js +16 -50
- package/dist/server-v1.js +1150 -0
- package/dist/server-v2.js +1067 -0
- package/dist/versioned-server.js +164 -0
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -311,8 +311,6 @@ Use this guide to select the right tool for your task:
|
|
|
311
311
|
- **If you want to search the web for info:** use **search**
|
|
312
312
|
- **If you want to extract structured data:** use **extract**
|
|
313
313
|
- **If you want to analyze a whole site or section:** use **crawl** (with limits!)
|
|
314
|
-
- **If you want to do in-depth research:** use **deep_research**
|
|
315
|
-
- **If you want to generate LLMs.txt:** use **generate_llmstxt**
|
|
316
314
|
|
|
317
315
|
### Quick Reference Table
|
|
318
316
|
|
|
@@ -324,8 +322,6 @@ Use this guide to select the right tool for your task:
|
|
|
324
322
|
| crawl | Multi-page extraction (with limits) | markdown/html[] |
|
|
325
323
|
| search | Web search for info | results[] |
|
|
326
324
|
| extract | Structured data from pages | JSON |
|
|
327
|
-
| deep_research | In-depth, multi-source research | summary, sources|
|
|
328
|
-
| generate_llmstxt | LLMs.txt for a domain | text |
|
|
329
325
|
|
|
330
326
|
## Available Tools
|
|
331
327
|
|
|
@@ -629,78 +625,6 @@ When using a self-hosted instance, the extraction will use your configured LLM.
|
|
|
629
625
|
}
|
|
630
626
|
```
|
|
631
627
|
|
|
632
|
-
### 9. Deep Research Tool (`firecrawl_deep_research`)
|
|
633
|
-
|
|
634
|
-
Conduct deep web research on a query using intelligent crawling, search, and LLM analysis.
|
|
635
|
-
|
|
636
|
-
**Best for:**
|
|
637
|
-
- Complex research questions requiring multiple sources, in-depth analysis.
|
|
638
|
-
|
|
639
|
-
**Not recommended for:**
|
|
640
|
-
- Simple questions that can be answered with a single search
|
|
641
|
-
- When you need very specific information from a known page (use scrape)
|
|
642
|
-
- When you need results quickly (deep research can take time)
|
|
643
|
-
|
|
644
|
-
**Arguments:**
|
|
645
|
-
- query (string, required): The research question or topic to explore.
|
|
646
|
-
- maxDepth (number, optional): Maximum recursive depth for crawling/search (default: 3).
|
|
647
|
-
- timeLimit (number, optional): Time limit in seconds for the research session (default: 120).
|
|
648
|
-
- maxUrls (number, optional): Maximum number of URLs to analyze (default: 50).
|
|
649
|
-
|
|
650
|
-
**Prompt Example:**
|
|
651
|
-
> "Research the environmental impact of electric vehicles versus gasoline vehicles."
|
|
652
|
-
|
|
653
|
-
**Usage Example:**
|
|
654
|
-
```json
|
|
655
|
-
{
|
|
656
|
-
"name": "firecrawl_deep_research",
|
|
657
|
-
"arguments": {
|
|
658
|
-
"query": "What are the environmental impacts of electric vehicles compared to gasoline vehicles?",
|
|
659
|
-
"maxDepth": 3,
|
|
660
|
-
"timeLimit": 120,
|
|
661
|
-
"maxUrls": 50
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
```
|
|
665
|
-
|
|
666
|
-
**Returns:**
|
|
667
|
-
- Final analysis generated by an LLM based on research. (data.finalAnalysis)
|
|
668
|
-
- May also include structured activities and sources used in the research process.
|
|
669
|
-
|
|
670
|
-
### 10. Generate LLMs.txt Tool (`firecrawl_generate_llmstxt`)
|
|
671
|
-
|
|
672
|
-
Generate a standardized llms.txt (and optionally llms-full.txt) file for a given domain. This file defines how large language models should interact
|
|
673
|
-
with the site.
|
|
674
|
-
|
|
675
|
-
**Best for:**
|
|
676
|
-
- Creating machine-readable permission guidelines for AI models.
|
|
677
|
-
|
|
678
|
-
**Not recommended for:**
|
|
679
|
-
- General content extraction or research
|
|
680
|
-
|
|
681
|
-
**Arguments:**
|
|
682
|
-
- url (string, required): The base URL of the website to analyze.
|
|
683
|
-
- maxUrls (number, optional): Max number of URLs to include (default: 10).
|
|
684
|
-
- showFullText (boolean, optional): Whether to include llms-full.txt contents in the response.
|
|
685
|
-
|
|
686
|
-
**Prompt Example:**
|
|
687
|
-
> "Generate an LLMs.txt file for example.com."
|
|
688
|
-
|
|
689
|
-
**Usage Example:**
|
|
690
|
-
```json
|
|
691
|
-
{
|
|
692
|
-
"name": "firecrawl_generate_llmstxt",
|
|
693
|
-
"arguments": {
|
|
694
|
-
"url": "https://example.com",
|
|
695
|
-
"maxUrls": 20,
|
|
696
|
-
"showFullText": true
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
```
|
|
700
|
-
|
|
701
|
-
**Returns:**
|
|
702
|
-
- LLMs.txt file contents (and optionally llms-full.txt)
|
|
703
|
-
|
|
704
628
|
## Logging System
|
|
705
629
|
|
|
706
630
|
The server includes comprehensive logging:
|