Skip to main content
Use Firecrawl with Claude to give your AI applications clean context from the web: scrape pages with Firecrawl, then pass the content to the Anthropic SDK.

Setup

Create .env file:
Note: If using Node < 20, install dotenv and add import 'dotenv/config' to your code.

Scrape + Summarize

This example demonstrates a simple workflow: scrape a website and summarize the content using Claude.

Tool Use

This example shows how to use Claude’s tool use feature to let the model decide when to scrape websites based on user requests.

Structured Extraction

This example demonstrates how to use Claude to extract structured data from scraped website content.
For more examples, check the Claude documentation.