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 and high-volume batch scraping
- 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
Available Tools
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
FIRECRAWL_RETRY_MAX_ATTEMPTS: Maximum retry attempts (default: 3)FIRECRAWL_RETRY_INITIAL_DELAY: Initial delay in milliseconds (default: 1000)FIRECRAWL_RETRY_MAX_DELAY: Maximum delay in milliseconds (default: 10000)FIRECRAWL_RETRY_BACKOFF_FACTOR: Exponential backoff multiplier (default: 2)
FIRECRAWL_CREDIT_WARNING_THRESHOLD: Warning threshold (default: 1000)FIRECRAWL_CREDIT_CRITICAL_THRESHOLD: Critical threshold (default: 100)
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_batch_scrapefor multiple known URLsfirecrawl_crawlfor discovering and scraping entire sites
- Monitor your usage: Configure credit thresholds to avoid unexpected usage
- Handle errors gracefully: Configure retry settings based on your use case
- Optimize performance: Use batch operations when scraping multiple URLs
Related Resources
Comprehensive Guide to Building AI Agents Using Google Agent Development Kit (ADK) and Firecrawl
Learn how to build powerful multi-agent AI systems using Google’s ADK framework with Firecrawl for web scraping capabilities.
MCP Server Documentation
Learn more about Firecrawl’s Model Context Protocol (MCP) server integration and capabilities.
Google ADK Official Documentation
Explore the official Google Agent Development Kit documentation for comprehensive guides and API references.

