cost. Actor runs bill to your Apify account per each Actor's pricing; cap spend with maxTotalChargeUsd or maxItems in callOptions.
legal. Scraping social media and other sites can break their terms of service; check what you are allowed to collect.
Who it is forA developer who wants an agent to fetch real web data on request.
The problemAgents cannot reach most sites or return structured data without scrapers.
The outcomeAn agent that finds an Actor, reads its input schema and runs it, returning dataset items.
What you need first
- An MCP client such as Claude Code, Cursor or VS Code
- An Apify account (the free plan includes $5 of monthly platform usage) or an Apify API token
- Node.js 22 or later for the local server
Steps
- For Claude Code run
claude mcp add apify "https://mcp.apify.com" -t http - For Cursor run
apify mcp install cursorwith the Apify CLI - Sign in to Apify in the browser window that opens
- Ask the agent to use search-actors, then fetch-actor-details before call-actor
Prompt for your agent
Connect my Claude Code to apify/apify-mcp-server with `claude mcp add apify "https://mcp.apify.com" -t http`, then find an Actor for <data I need>, show me its pricing with fetch-actor-details, and run it only after I confirm.
Caveat. If your client cannot use OAuth, send your Apify API token as a Bearer header and keep it out of repositories.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for apify/apify-mcp-server and "Give your coding agent web data tools"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer