Skip to main content
use-apify.com

MCP: guides & tutorials

MCP connects assistants to scrapers, APIs, and files in one standard. Server design plus wiring Apify actors as tools for IDE- and Claude-native workflows.

40 articlesPage 1 of 4

View all tags

The Model Context Protocol gives AI assistants a standard way to call scrapers, APIs, and files as tools. These guides cover MCP server design and wiring Apify actors as tools for IDE- and Claude-native workflows.

MCP turns a scraper into something an assistant can invoke safely and repeatably, with scoped access. Apify-backed MCP servers bring live web data into agent workflows. Below you will find architecture notes and setup tutorials.

Related topics

Claude37 min read

60 Claude Prompts That Use Live Web Data, Sorted by Role

· 37 min read
Yassine El Haddad
Software Developer & Automation Specialist
Quick Answer

Each prompt below tells Claude which Apify Actor to run, what to pull, and what to hand back. Paste it into Claude with the Apify connector switched on. Every prompt makes Claude check the Actor's inputs and price first and wait for your OK before it spends anything. Each one links to a full guide where we ran the workflow for real on 2026-10-21.

Generic prompt lists ask Claude to "research competitors" and get an answer from training data. These prompts name a real Actor, real input fields and the traps our test runs hit, so Claude works from today's web, not last year's.

Claude20 min read

Claude Code Headless Mode and Cron: Nightly Jobs on a VPS

· 20 min read
Yassine El Haddad
Software Developer & Automation Specialist
Quick Answer

claude -p "<prompt>" runs Claude Code without the interactive UI: it does the task, prints the result and exits. Put that command in a shell script, call the script from cron on a small Linux server, and you have an agent that works overnight. The safe version adds four things: a long-lived token in a chmod 600 file, --permission-mode dontAsk with a short allow list, --max-budget-usd and --max-turns caps, and --output-format json so every run leaves a log with its estimated cost. For web pages that block plain fetches, connect the Apify MCP server with an API token.

Most Claude Code guides stop at the interactive terminal. This one is about the jobs you want done before you sit down: a digest of what changed in the tools you depend on, a refreshed dataset, a report waiting in a folder. The example job below was run for real on 2026-10-21, and the flags, costs and failure modes in this post come from that run and from Anthropic's Claude Code documentation.

Claude19 min read

Claude for Amazon and Shopify Sellers: Mine Bad Reviews

· 19 min read
Yassine El Haddad
Software Developer & Automation Specialist
Quick Answer

Connect Apify's MCP server to Claude, then pull the 1 to 3 star reviews from about 30 competitor listings: Amazon through the Amazon Reviews Scraper with its critical filter, Shopify stores through a Shopify review scraper that reads the store's review app. Claude groups every complaint into themes, ranks them, and maps each one to a concrete change in your listing: a bullet, an image, a FAQ line, the packaging or the product. Thirty listings at 30 critical reviews each costs about $5 in Apify credits on the free plan.

Your competitors' worst reviews are the cheapest product research you will ever buy. Every 1-star review is a customer explaining, in their own words, which expectation the listing set and the product failed to meet. Read across 30 listings, those reviews stop being anecdotes and become a ranked list: the battery claim nobody believes, the size chart that runs small, the packaging that ruins the gift.

Claude18 min read

Price Your Airbnb Against Nearby Comps Every Week with Claude

· 18 min read
Yassine El Haddad
Software Developer & Automation Specialist
Quick Answer

Set up a weekly Claude Cowork scheduled task that runs the Airbnb Scraper API (codepoetry) on Apify for about 50 comparable listings near yours. Claude prices the next four weekends against them, works out each comp's calendar-implied occupancy, pulls the amenities guests praise from their reviews, and writes a one-page pricing memo. A full weekly run costs about $1.27 in Apify usage on the free plan, or about $0.79 on Starter.

"How should I price my Airbnb?" has one honest answer: the same way the listings guests compare you with are priced, on the same dates. That comp set changes every week. New listings open, neighbours drop their rates for a quiet weekend, and a festival fills the calendar three streets over. This post sets up a Monday-morning memo that tracks it for you, with no code.

Claude21 min read

Voice of Customer Analysis with Claude: Find Feature Gaps (2026)

· 21 min read
Yassine El Haddad
Software Developer & Automation Specialist
Quick Answer

Connect Apify's MCP server to Claude, then pull reviews of your product and three competitors from G2, the App Store and Reddit, plus transcripts of YouTube review videos. Claude codes every review against one theme list, counts how often and how badly each theme hurts, and returns a ranked feature-gap table with verbatim quotes and source links for your PRD. A run of about 1,200 items costs roughly $5 in Apify credits.

Most product teams read reviews the same way: someone skims the latest 1-star posts before planning, remembers the loudest three, and those become "what customers want". That is anecdote, not analysis. The fix is not more reading. It is coding every review against the same theme list, for you and your competitors, so you can see where they are praised for something you are criticised for.

Claude16 min read

Buying Signals with Claude: Hiring, Funding and Tech Changes

· 16 min read
Yassine El Haddad
Software Developer & Automation Specialist
Quick Answer

Give Claude your list of target accounts. Once a month it pulls three kinds of public evidence through Apify: new job ads (LinkedIn), funding news (Google News) and the technologies on each company's website. It throws out anything it cannot tie to the right company, scores what is left, and logs each real signal as a note and follow-up task in HubSpot, with the source link. For 50 accounts the scraping costs roughly $1 to $2 a month.

A lead list tells you who could buy. A buying signal tells you who has a reason to buy now: they just posted three RevOps roles, closed a round, or swapped their analytics tool. Sales teams pay intent-data vendors for this. For a list of 20 to 200 named accounts, most of the same evidence is public, and the hard part is not collecting it but reading it carefully enough to tell a real signal from a name collision. That reading is the part Claude does well.

This post covers the signal sweep on accounts you already know. If you still need to build the account list, start with the AI lead generation playbook.

Claude12 min read

MCP Context Cost in Claude Code: 12 Servers Measured

· 12 min read
Yassine El Haddad
Software Developer & Automation Specialist
Quick Answer

With Claude Code's default tool search, 12 popular MCP servers added only 5,848 input tokens to a session in our test. With tool search turned off, the same 12 servers added 63,186 tokens, about 6% of a 1M-token window and nearly a third of a 200K one. The biggest single server was GitHub's remote server: 46 tools, about 19.8k tokens when loaded. The startup cost that remains with tool search on is mostly server instructions, not tool definitions.

Every Claude Code setup guide warns that MCP servers eat your context window. Almost none of them give numbers, and the advice was written before tool search became the default. So we measured it on 21 October 2026: 12 servers, one at a time and all together, with tool search on, off and in auto mode.

Claude13 min read

Claude Code SEO Content Briefs from the Live Google Top 10

· 13 min read
Yassine El Haddad
Software Developer & Automation Specialist
Quick Answer

Give Claude Code a keyword and one Apify Actor run, the Google Search Scraper with its Full website content add-on, returns the live top 10 with the full text of every ranking page, plus People Also Ask and related searches. Claude then pulls out each page's H2s and word count and writes a brief in your template: what every ranking page covers, which questions the SERP asks, and what the top pages miss. Our test run for one keyword took about two minutes and cost $0.048.

Most "AI content brief" tools work from the same raw material: the current top results for a keyword. You can get that raw material yourself, hand it to Claude Code, and keep the output in your own template and your own repo. This post shows the whole loop, including a real run for the keyword "content brief template" and what it turned up.

Claude17 min read

Claude Code Web Research Setup: CLAUDE.md, MCP and Hooks (2026)

· 17 min read
Yassine El Haddad
Software Developer & Automation Specialist
Quick Answer

Four files turn a folder into a Claude Code research workspace: a CLAUDE.md with sourcing rules, a project-scope .mcp.json that connects the Apify MCP server with only three tools (search-actors, fetch-actor-details, call-actor), a .claude/settings.json that wires a PreToolUse hook to refuse any Actor run without a spend cap of $1 or less, and a /research skill that runs the whole loop. Every file is below, ready to copy.

Most Claude Code setup guides are about writing code. Mine is mostly about reading the web: pulling search results, pages Claude's built-in fetch can't render, and datasets I want to keep. That job has two failure modes code work does not have. Claude can state things it never sourced, and a scraper can quietly spend money.

This setup addresses both. It is a folder you can recreate in five minutes, and it works the same for a solo researcher as for a team that commits it to a repo.

Claude14 min read

Salary Benchmarking with Claude: Pay Bands from Live Job Ads

· 14 min read
Yassine El Haddad
Software Developer & Automation Specialist
Quick Answer

Connect Apify to Claude, then ask Claude to pull current job ads for one title and city from Indeed and LinkedIn, keep only the ads that are really the same job, read the posted pay range from each, convert everything to annual pay, and report the 25th, 50th and 75th percentiles with the sample size. In our test for Data Analyst in Denver, 124 of 137 Indeed ads had a usable pay range, and that Indeed run cost about a cent.

Salary surveys are expensive, a year old, and built on job titles you cannot inspect. Job ads are the opposite: free to read, posted this month, and in a growing number of places legally required to state a pay range. What they lack is cleanup. Half the ads for "Data Analyst" are not data analyst jobs, and half the pay ranges hide inside the description text. That cleanup is reading work, which is where Claude earns its place.

Guides on this site

Frequently asked questions

Frequently Asked Questions

MCP (Model Context Protocol) is an open standard that lets AI assistants like Claude call external tools — databases, APIs, and web scrapers — directly from a chat session. Instead of switching between tools manually, the AI plans which scraper to run, triggers it, and processes the results in one conversation. The Apify MCP server exposes web scraping as a native tool any MCP-compatible AI can call.

Ask Claude or another MCP-enabled AI to scrape Google Maps for local businesses in a city, pull LinkedIn profiles matching a job title, extract competitor pricing from a website, or build a dataset of news articles on a topic — all from a natural-language prompt. The AI handles the task orchestration; Apify handles the scraping. You get structured data back without touching a scraper UI.

Install the Apify MCP server via npm, add your Apify API token to the MCP config file, and specify which actor IDs to expose as tools. In Claude Desktop, add the server under mcp_servers in the settings JSON. You can then type "scrape Google Maps for coffee shops in Austin" and the AI calls the actor, waits for results, and returns structured data. Full setup takes under 30 minutes.

You need to edit a JSON config file and run a terminal install command — basic technical comfort helps. After setup, the experience is fully conversational: describe what you want in plain English and the AI handles the rest. If you want the MCP server set up, secured, and configured for your environment, this site offers deployment services that cover it.