cost. Even a single Actor bills per run or result; set maxItems or maxTotalChargeUsd in callOptions.
Who it is forA builder wiring a narrow data task into an agent workflow.
The problemA full tool list confuses agents and widens what they can spend money on.
The outcomeAn MCP connection exposing only the chosen Actor and the tools needed to read its results.
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
- Pick the tools you want in the MCP configurator at mcp.apify.com
- For one Actor on the hosted server, use https://mcp.apify.com?tools=apify/instagram-scraper
- For a local server, run
npx @apify/actors-mcp-server --tools actors,docs,apify/web-search,apify/web-fetch - Confirm the agent sees only the selected tools before giving it a task
Prompt for your agent
Configure apify/apify-mcp-server for my agent with only the tools for <one Actor>, using the tools URL parameter, and verify the tool list before running anything.
Caveat. The README says a single Actor still comes with the four tools the agent needs to read its results.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for apify/apify-mcp-server and "Give an agent a single, focused Apify tool"
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