Fetches and returns the content of a specified URL. Useful for retrieving information from a single web page.
Creates a structured map of a website by exploring its links to a specified depth. Returns the site structure with URLs and their relationships.
Systematically visits and collects content from multiple pages on a website starting from a given URL. Can follow links to a specified depth.
Performs a search query using a specified search engine and returns the results. Useful for finding relevant web pages on a topic.
Extracts specific structured data from a web page based on provided selectors or patterns. Useful for pulling specific information like prices, dates, or contact details.
Conducts comprehensive research on a topic by crawling multiple relevant pages and extracting key information. Combines search, crawl, and extract capabilities.
Generates an llms.txt file for a website, which contains guidelines for how LLMs should interact with the site. Helps ensure compliance with site policies.
Firecrawl is a robust web scraping and crawling tool designed specifically for LLM clients like Cursor and Claude. It enables AI assistants to access and process web content in real-time, allowing them to retrieve up-to-date information, conduct research, and extract structured data from websites. With Firecrawl, LLMs can navigate the web autonomously, following links, mapping site structures, and performing targeted searches. The tool offers advanced capabilities like deep research across multiple pages and automatic extraction of specific data points from web content, making it an essential extension for any AI assistant that needs to work with internet resources.
Clone the repository:
git clone https://github.com/mendableai/firecrawl-mcp-server.git
cd firecrawl-mcp-server
Install dependencies:
npm install
# or
pnpm install
Start the server:
npm start
# or
pnpm start
The server will start on port 3000 by default.
To use Firecrawl with your LLM client (like Claude or Cursor), you'll need to add the server configuration to your client's settings.
Add the following to your Claude Desktop configuration:
{
"mcpServers": {
"firecrawl": {
"url": "http://localhost:3000"
}
}
}
You can also deploy Firecrawl as a self-hosted service using Docker:
docker build -t firecrawl-mcp-server .
docker run -p 3000:3000 firecrawl-mcp-server
Once installed and configured, your LLM client can use Firecrawl's tools to scrape and analyze web content. The tools are designed to be intuitive for LLMs to use, with clear parameters and responses.
Start with specific URLs: When using the scrape or extract tools, provide specific URLs rather than general domains.
Use appropriate tools for the task:
scrape
for single-page content retrievalcrawl
for exploring multiple linked pagesmap
for understanding site structuresearch
for finding specific informationextract
for pulling structured data from pagesdeep_research
for comprehensive multi-page analysisHandle rate limiting: Be mindful of rate limits when crawling websites. Use the crawl tool with reasonable depth parameters.
Process large responses: Some web pages may return large amounts of content. Be prepared to process and summarize this information effectively.