Connect Apify to Claude Code via MCP
Access 20,000+ web scrapers as Claude Code tools. Scrape any website, extract structured data, and build AI-powered data pipelines — all from your terminal.
What is Apify?
Apify is a cloud platform for web scraping, browser automation, and data extraction. It runs pre-built or custom automation scripts called Actors in managed Docker containers. The platform handles proxies, anti-blocking, storage, and scheduling so you can focus on what to extract rather than how.
Setup Guide
Create an Apify Account
Sign up at apify.com — the free tier includes $5 in monthly credits with no credit card required. This is enough for testing and light scraping jobs.
Get Your API Token
Go to Settings → Integrations → API Tokens in your Apify dashboard. Create a new personal token with full access. Save it — you'll need it for the MCP connection.
.env.local file or use an environment variable.Add the MCP Server to Claude Code
Run this command in your terminal to add Apify as an MCP server:
When prompted, enter your Apify API token. The hosted version at mcp.apify.com is recommended — no local installation needed.
Verify the Connection
Start a new Claude Code session and ask it to list available Apify Actors:
If Claude can discover and describe Actors, the MCP connection is working.
Run Your First Scrape
Ask Claude to run an Actor and retrieve results:
Popular Actors for AI Workflows
These are the most useful Actors for AI agent pipelines. All are available from the Apify Store and can be called directly from Claude Code via MCP.
Google Search Scraper
apify/google-search-scraperExtract Google search results for any query — titles, URLs, snippets
Website Content Crawler
apify/website-content-crawlerCrawl entire websites and extract clean text/markdown for RAG pipelines
Instagram Scraper
apify/instagram-scraperScrape Instagram profiles, posts, comments, and hashtags
Amazon Product Scraper
apify/amazon-crawlerExtract product data, prices, reviews from Amazon
Google Maps Scraper
apify/google-maps-scraperExtract business listings, reviews, contact info from Google Maps
LinkedIn Profile Scraper
apify/linkedin-scraperExtract public LinkedIn profile data for lead generation
YouTube Scraper
apify/youtube-scraperExtract video metadata, transcripts, comments, channel data
Web Scraper
apify/web-scraperGeneral-purpose scraper with CSS selectors and pagination
Use Cases
How AI Starter Package users combine Apify with Claude Code for real business automation.
Market Research
Scrape competitor websites, pricing pages, and product listings. Feed structured data into Claude for analysis.
Lead Generation
Extract business data from Google Maps, LinkedIn, and industry directories. Build targeted prospect lists.
RAG Knowledge Base
Crawl documentation sites, wikis, and knowledge bases. Convert to structured markdown for retrieval-augmented generation.
Content Monitoring
Schedule recurring scrapes to monitor price changes, new content, reviews, or competitor updates.
Apify Pricing
Apify uses a credit-based system. Most light scraping fits within the free tier.
| Plan | Price | Best For |
|---|---|---|
| Free | $0/mo ($5 credits) | Testing, light scraping, learning |
| Starter | $29/mo | Freelancers, small data projects |
| Scale | $199/mo | Teams with regular scraping needs |
| Business | $999/mo | Companies with core scraping operations |
Crawlee — Open-Source Alternative
Don't want to pay? Crawlee is Apify's open-source web scraping framework. Run it locally on your own machine — no API key, no costs.
Crawlee handles browser rendering, anti-blocking, retries, and data export. Use it when you want full control or need to run scrapers on your own infrastructure.
How This Fits Your AI Brain
Data In
- Scrape websites → feed into knowledge base
- Extract competitor data → AI analysis
- Monitor prices/reviews → scheduled alerts
Works With
- Claude Code (via MCP server)
- n8n workflows (native integration)
- RAG pipelines (structured data output)
Ready to Add Web Scraping to Your AI Brain?
Our Pro Brain and Lifetime packages include MCP configuration guides for Apify and 10+ other services — pre-configured and ready to deploy.