Skip to main content
Prerequisites Before you begin, create an account and get your API Key.

Getting started

Connect to Firecrawl Web Search to perform advanced web scraping, content extraction, and automated web crawling through AI agents.
  • API
  • UI
  • Open Source
1

Install the SDKs (optional)

pip install klavis
2

Create a Strata MCP Server with Firecrawl Web Search

from klavis import Klavis
from klavis.types import McpServerName

klavis_client = Klavis(api_key="YOUR_API_KEY")

# Create a Strata MCP server with Firecrawl Web Search
response = klavis_client.mcp_server.create_strata_server(
    servers=[McpServerName.FIRECRAWL_WEB_SEARCH],
    user_id="user123"
)

API Reference

Full Strata API endpoints
3

Authenticate with API Key

You can get your Firecrawl API key from the Firecrawl website.
klavis_client.mcp_server.set_strata_auth(
    strata_id=response.strata_id,
    server_name=McpServerName.FIRECRAWL_WEB_SEARCH,
    auth_data={
        "api_key": "YOUR_FIRECRAWL_API_KEY"
    }
)
🎉 Your Firecrawl Web Search MCP Server is ready! Once authentication is complete, you can use your MCP server URL with any MCP-compatible client.

Available Tools

Tool NameDescription
firecrawl_scrapeScrape a single webpage with advanced options for content extraction. Supports various formats including markdown, HTML, and screenshots. Can execute custom actions like clicking or scrolling before scraping.
firecrawl_mapDiscover URLs from a starting point. Can use both sitemap.xml and HTML link discovery.
firecrawl_crawlStart an asynchronous crawl of multiple pages from a starting URL. Supports depth control, path filtering, and webhook notifications.
firecrawl_check_crawl_statusCheck the status of a crawl job.
firecrawl_batch_scrapeScrape multiple URLs in batch mode. Returns a job ID that can be used to check status.
firecrawl_check_batch_statusCheck the status of a batch scraping job.
firecrawl_searchSearch and retrieve content from web pages with optional scraping. Returns SERP results by default (url, title, description) or full page content when scrapeOptions are provided.
firecrawl_extractExtract structured information from web pages using LLM. Supports both cloud AI and self-hosted LLM extraction.
firecrawl_generate_llmstxtGenerate standardized LLMs.txt file for a given URL, which provides context about how LLMs should interact with the website.
For more details about tool input schema, use the get_tools API.

Next Steps

I