Integrate Firecrawl with Google's Agent Development Kit (ADK) to build powerful AI agents with web scraping capabilities through the Model Context Protocol (MCP).
Overview#
Firecrawl provides an MCP server that seamlessly integrates with Google's ADK, enabling your agents to efficiently scrape, crawl, and extract structured data from any website. The integration supports both cloud-based and self-hosted Firecrawl instances with streamable HTTP for optimal performance.
Features#
- Efficient web scraping, crawling, and content discovery from any website
- Advanced search capabilities and intelligent content extraction
- Deep research
- Flexible deployment (cloud-based or self-hosted)
- Optimized for modern web environments with streamable HTTP support
Prerequisites#
- Obtain an API key for Firecrawl from firecrawl.dev
- Install Google ADK
Setup#
Set FIRECRAWL_API_KEY in the environment that starts ADK. Do not put its value in agent prompts, source control, or the MCP URL. The local MCP package requires Node.js 22 or newer.
Available Tools#
| Tool | Name | Description |
|---|---|---|
| Scrape Tool | firecrawl_scrape | Scrape content from a single URL with advanced options |
| Map Tool | firecrawl_map | Map a website to discover all indexed URLs on the site |
| Search Tool | firecrawl_search | Search the web and optionally extract content from search results |
| Crawl Tool | firecrawl_crawl | Start an asynchronous crawl with advanced options |
| Check Crawl Status | firecrawl_check_crawl_status | Check the status of a crawl job |
Configuration#
Required Configuration#
FIRECRAWL_API_KEY: Your Firecrawl API key
- Required when using cloud API (default)
- Optional when using self-hosted instance with FIRECRAWL_API_URL
Optional Configuration#
Firecrawl API URL (for self-hosted instances):
FIRECRAWL_API_URL: Custom API endpoint- Example:
https://firecrawl.your-domain.com - If not provided, the cloud API will be used
Example: Web Research Agent#
Best Practices#
-
Use the right tool for the job:
firecrawl_searchwhen you need to find relevant pages firstfirecrawl_scrapefor single pagesfirecrawl_crawlfor discovering and scraping entire sites- repeated
firecrawl_scrapecalls when you already have a short list of known URLs
-
Monitor your usage: Use your Firecrawl dashboard and API responses to track credit usage.
-
Handle errors gracefully: Surface MCP/API errors to the user and retry only when your agent workflow can do so safely.
-
Optimize performance: Use
firecrawl_mapbefore scraping when the agent needs to discover relevant URLs.
Related Resources#
Learn how to build powerful multi-agent AI systems using Google's ADK framework with Firecrawl for web scraping capabilities.
Learn more about Firecrawl's Model Context Protocol (MCP) server integration and capabilities.
Explore the official Google Agent Development Kit documentation for comprehensive guides and API references.

