█

AI/TLDR

Buy me a coffee
Buy me a coffee

Apify MCP Server

Apify's Model Context Protocol server — lets an AI agent find and run thousands of ready-made scrapers and crawlers from Apify Store as tools

Web Scraping & CrawlingOpen source
Language
TypeScript
License
MIT
IN SHORT

What is Apify MCP Server?

Apify MCP Server is Apify's Model Context Protocol server — lets an AI agent find and run thousands of ready-made scrapers and crawlers from Apify Store as tools. It sits in the Web Scraping & Crawling category of the Data & Labeling tools and is open-source, written in TypeScript and licensed MIT.

Overview

The Apify MCP Server is Apify's official Model Context Protocol server. It lets an AI assistant use any Actor from Apify Store — the platform's catalogue of ready-made scrapers, crawlers and automation tools — as a tool, so an agent can pull data from social media, search engines, maps, e-commerce sites and ordinary web pages without anyone writing a scraper. Apify runs a hosted instance at mcp.apify.com over Streamable HTTP with OAuth, which means clients such as Claude.ai or Visual Studio Code can connect with just the URL; the same server also ships as the npm package @apify/actors-mcp-server for local stdio use.

Diagram of MCP clients connecting to the Apify MCP Server, which fans out to Instagram, TikTok, X, maps and thousands of other Apify Actors
MCP clients reach thousands of Apify Actors through one serverApify MCP Server README ↗

The server reads each Actor's input schema and turns it into a matching MCP tool, so the model knows which arguments to pass and what comes back. Out of the box it loads two Actors — RAG Web Browser, which searches the web and returns the content of the top results, and Web Fetch, which returns any URL as Markdown, text, HTML or links — plus helper tools for dynamic discovery: search-actors, fetch-actor-details and call-actor let an agent find a suitable Actor in the Store, inspect its inputs and run it mid-conversation. Results land in Apify datasets and key-value stores, which the agent reads back page by page with get-dataset-items and related tools.

Beyond scraping, optional tool categories expose more of the Apify platform: Actor runs and logs, saved tasks, cron schedules, builds, Actor source files, Apify documentation search and read-only access to the Apify API. A tools parameter (a URL query on the hosted server, a --tools flag locally) chooses exactly what is loaded, down to a single Actor. Running Actors normally needs an Apify account and API token; the README also documents agentic payments — a prepaid token from AGI, per-request x402 payments in USDC on Base, or Skyfire PAY tokens — for agents that pay without an account. The server code is MIT-licensed TypeScript; the Actors it runs are billed through the Apify platform.

What it does

  • Any Apify Store Actor as an MCP tool, with its input schema converted into the tool's arguments so the model knows what to pass
  • Dynamic discovery: search-actors, fetch-actor-details and call-actor let an agent find, inspect and run a new Actor in the middle of a task
  • Default tools for web research — RAG Web Browser for search-and-scrape and Web Fetch for single URLs as Markdown, text, HTML or links
  • Optional categories for runs, datasets and key-value stores, saved tasks, schedules, builds, Actor source, Apify docs and read-only Apify API calls, selected with a tools parameter
  • Hosted endpoint at mcp.apify.com with OAuth or a bearer token, or a local stdio server via npx @apify/actors-mcp-server
  • Agentic payments through AGI, direct x402 or Skyfire, so an autonomous agent can pay for Actor runs without an Apify account

Getting started

The hosted server at mcp.apify.com is the route Apify recommends; some features, such as output schema inference for structured Actor results, are only available there. The configurator at mcp.apify.com writes the config for most clients, and the snippets below come from the README and the Apify docs.

VideoApify's own walkthrough of connecting the server to ClaudeApify ↗

Connect to the hosted server with OAuth

In a client that supports OAuth, add the server by URL alone and sign in to Apify when prompted. The old /sse endpoint has been removed — use the bare URL with Streamable HTTP.

jsonjson
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com"
    }
  }
}
The mcp.apify.com configurator listing AI applications such as Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Warp and Gemini CLI, plus Anthropic API, OpenAI API and JSON config
mcp.apify.com generates the configuration for each supported clientApify MCP Server README ↗

Or pass an API token as a bearer header

For clients without OAuth, send your Apify API token in the Authorization header.

jsonjson
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com",
      "headers": {
        "Authorization": "Bearer <APIFY_TOKEN>"
      }
    }
  }
}

Run it locally over stdio

For local integrations such as Claude Desktop, launch the npm package with your token in the environment. Rental Actors only work through the hosted endpoint; locally you get the Actors in your configured toolset.

jsonjson
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}

Pin the tool set

The default tool set may change between versions, so the README recommends naming tools explicitly in production. Pass categories, single tools or Actors — on the hosted URL as a query parameter, locally as a flag. Naming one Actor exposes only that Actor.

bashbash
# hosted
https://mcp.apify.com?tools=actors,docs,apify/rag-web-browser,apify/web-fetch

# local
npx @apify/actors-mcp-server --tools actors,docs,apify/rag-web-browser,apify/web-fetch
npx @apify/actors-mcp-server --tools apify/my-actor

Opt out of telemetry if you need to

Tool-call telemetry (and Sentry error tracking on stdio) is on by default.

bashbash
# hosted
https://mcp.apify.com?telemetry-enabled=false

# local
npx @apify/actors-mcp-server --telemetry-enabled=false

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Let a chat assistant pull structured data from Google Maps, Instagram, Facebook or search results on request, using an existing Store scraper instead of writing one
  • Give a research agent web search and page fetching through RAG Web Browser and Web Fetch, with JavaScript rendering handled by Apify
  • Manage your own Apify account from an AI client — inspect runs and logs, read datasets, edit saved tasks and set up schedules
  • Expose one in-house Actor to an agent as a single, tightly scoped tool with tools=<your-actor>

How Apify MCP Server compares

Apify MCP Server alongside other open-source web scraping & crawling tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Firecrawl★ 214kA crawling service and API that converts whole websites into clean Markdown or structured JSON ready for LLMs.
Agent Reach★ 116kA capability layer that installs, health-checks and routes readers so a CLI agent can read and search web pages, YouTube, RSS, GitHub, Reddit, Twitter/X and more without API fees.
Scrapling★ 107kA Python web scraping framework whose parser relocates your elements when pages change, with stealthy fetchers and a Scrapy-like spider engine for full crawls.
Crawl4AI★ 88.2kA local-first Python web crawler that turns pages into clean Markdown for use in RAG and LLM pipelines.
Scrapy★ 65.7kA mature Python framework for writing fast spiders that crawl websites and extract structured data at scale.
changedetection.io★ 36.1kA self-hosted web page change monitor with XPath/CSS/jq filters, browser steps and restock alerts, which can route every diff through an LLM to suppress noise.
ScrapeGraphAI★ 33kA Python library that uses LLMs and a graph pipeline to extract data from pages based on natural-language prompts.
Apify MCP Server★ 18.6kApify's Model Context Protocol server — lets an AI agent find and run thousands of ready-made scrapers and crawlers from Apify Store as tools