Hosted MCP with OAuth
Use `https://mcp.apify.com` and authenticate in the browser. This is the recommended setup when the client supports remote MCP.
Actor MCP
Apify MCP Server turns thousands of Apify Actors into a single MCP-accessible tool layer. In Claude Code, that means one connection can expose actor search, actor execution, documentation lookup, and structured run outputs without building custom glue for every scraping or browser automation task.
The most important Apify design choice is hosted versus local setup. Apify recommends the hosted `mcp.apify.com` path with OAuth because it is fast and secure, but also documents a local stdio path for clients that are not ready for remote MCP servers.
Use `https://mcp.apify.com` and authenticate in the browser. This is the recommended setup when the client supports remote MCP.
Run `npx -y @apify/actors-mcp-server` with `APIFY_TOKEN` when your MCP client prefers local stdio or cannot use remote HTTP.
Apify lets you load just the tools or Actors you need, which is critical for keeping tool choice clean in Claude Code.
Use the server to search Actors, inspect schemas, call Actors, and retrieve structured results for scraping and automation tasks.
Setup Paths
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com"
}
}
}You can also pass `Authorization: Bearer <APIFY_TOKEN>` in headers if you do not want to use the OAuth sign-in flow.
{
"mcpServers": {
"actors-mcp-server": {
"command": "npx",
"args": ["-y", "@apify/actors-mcp-server"],
"env": {
"APIFY_TOKEN": "YOUR_APIFY_TOKEN"
}
}
}
}Apify documents Node.js v18+ as the baseline requirement for local setup and recommends always using the latest package version.
Example tool selection
https://mcp.apify.com?tools=actors,docs,apify/rag-web-browser https://mcp.apify.com?tools=apify/instagram-scraper,apify/google-search-scraper npx @apify/actors-mcp-server --tools actors,docs,apify/web-scraper
Default to the hosted server when your client supports Streamable HTTP. It is the shortest path to a production-usable connection.
Trim the tool list to the actors and docs surface you actually need so Claude does not see a noisy actor catalog on every turn.
Search one actor, inspect its schema, run it once, and verify output before expanding the server into a bigger workflow.
Execution Brief
Use this page as a rollout checklist, not just reference text.
Tool Mapping Lens
Catalog-oriented pages work best when users can map discovery, evaluation, and rollout in a clear path instead of reading an undifferentiated list.
Use this board for Apify MCP Server before rollout. Capture inputs, apply one decision rule, execute the checklist, and log outcome.
Input: Objective
Deliver one measurable improvement with apify mcp server
Input: Baseline Window
20-30 minutes
Input: Fallback Window
8-12 minutes
| Decision Trigger | Action | Expected Output |
|---|---|---|
| Input: one workflow objective and release owner are defined | Run preview execution with fixed acceptance criteria. | Go or hold decision backed by repeatable evidence. |
| Input: output quality below baseline or retries increase | Limit scope, isolate root issue, and rerun controlled test. | One confirmed correction path before wider rollout. |
| Input: checks pass for two consecutive replay windows | Promote to broader traffic with fallback path active. | Stable rollout with low operational surprise. |
tool=apify mcp server objective= preview_result=pass|fail primary_metric= next_step=rollout|patch|hold
Apify MCP Server is Apify's official MCP integration for exposing Apify platform capabilities to AI clients. Rather than adding one scraper at a time as separate tools, you connect one server and gain access to Actor discovery, Actor execution, run results, and documentation retrieval from the Apify ecosystem. That makes it one of the most flexible MCP servers for scraping and automation-heavy teams.
The hosted server at `https://mcp.apify.com` is the primary path Apify recommends. It supports Streamable HTTP with OAuth and adds output schema inference for structured Actor results. That schema support matters because agents can understand expected result fields before calling an Actor, which improves reliability and lowers trial-and-error during execution.
Local stdio still matters because not every client handles remote MCP equally well. Apify documents a clean fallback using `@apify/actors-mcp-server` and `APIFY_TOKEN`. For Claude Code users, the right choice depends on whether you value fast hosted setup or the predictability of a local process tied to your workstation.
Start with the hosted path unless you have a concrete reason not to. Apify explicitly recommends `https://mcp.apify.com` with OAuth because it avoids manually handling API tokens inside client configs and keeps the setup fast. If your client cannot use remote HTTP smoothly, move to the local stdio server with `npx -y @apify/actors-mcp-server` and `APIFY_TOKEN` in the environment.
Next, trim the tool surface. Apify documents query-parameter based tool selection for hosted use and `--tools` for local use. This is not an optional optimization. If your workflow only needs actor search, docs, and one or two named Actors, load only those. Leaving the entire default surface available increases noise and weakens tool selection quality inside Claude Code.
Finally, test one real Actor workflow before declaring setup complete. A strong smoke test is searching Actors, fetching actor details to inspect schema and pricing, then calling a single Actor and verifying the output. If that full path works, the MCP integration is genuinely usable rather than just technically connected.
Treat this page as a decision map. Build a shortlist fast, then run a focused second pass for security, ownership, and operational fit.
When a team keeps one shared selection rubric, tool adoption speeds up because evaluators stop debating criteria every time a new option appears.
Outcome: The engineer gets real scraped data inside the coding session without building a one-off integration first.
Outcome: Setup mistakes drop because the model can verify guidance against current docs and current actor metadata.
Outcome: The MCP connection stays lean, predictable, and easier to govern over time.
The Apify MCP Server is Apify's official MCP integration that lets Claude Code and other MCP clients discover Actors, run them, access run results, and search Apify documentation through a single server.
Apify documents two main options. The recommended hosted path uses `https://mcp.apify.com` with OAuth or a bearer token. If your client needs stdio, Apify documents a local setup using `npx -y @apify/actors-mcp-server` with `APIFY_TOKEN` in the environment.
Apify explicitly recommends Streamable HTTP with OAuth for the hosted server because it is quick to set up and does not require exposing your API token directly. Local stdio is the fallback when the client does not support remote MCP servers well.
Yes. Apify documents tool selection with query parameters such as `https://mcp.apify.com?tools=actors,docs,apify/rag-web-browser` or actor-specific selections like `https://mcp.apify.com?tools=apify/instagram-scraper,apify/google-search-scraper`.
Apify says the default setup includes essential tools for Actor discovery, documentation search, and the RAG Web Browser Actor. The docs also list default tools like `search-actors`, `fetch-actor-details`, `call-actor`, and `search-apify-docs`.
Apify recommends explicitly selecting tools instead of relying on defaults, using the latest `@apify/actors-mcp-server` version for local stdio, monitoring API usage in Apify Console, and ensuring Node.js v18 or higher in local environments.
Send the exact workflow you are solving and we will prioritize a new comparison or rollout guide.