SuperAPI AI Directory

actors-mcp-server

Apify MCP Server is a Model Context Protocol (MCP) server provided by Apify, hosted at mcp.apify.com. It enables AI agents to invoke thousands of ready-made scrapers, crawlers, and automation tools (Actors) in the Apify Store to extract data from social media, search engines, maps, e-commerce sites, and other websites. The server supports OAuth and can be connected directly via URL by clients such as Claude.ai and Visual Studio Code, and it also supports local running via stdio with npx @apify/actors-mcp-server. It is compatible with MCP-compliant clients such as Claude Code, Claude.ai, Cursor, and VS Code, and provides capabilities including dynamic tool discovery, Actor run management, storage access, task and schedule management, and build management. It also supports agentic payment methods such as AGI, direct x402, and Skyfire.

Open website

About this tool

Purpose

Apify MCP Server is a Model Context Protocol (MCP) server used to let AI agents invoke Actors in the Apify Store (ready-made scrapers, crawlers, and automation tools) to perform data extraction tasks. Through it, AI assistants can use any Apify Actor as a tool to extract data from social media, search engines, maps, e-commerce sites, or any other website.

Main Capabilities

  • Use Facebook Posts Scraper to extract Facebook post data from multiple pages/profiles.
  • Use Google Maps Email Extractor to extract contact information from Google Maps.
  • Use Google Search Results Scraper to scrape Google search engine results pages (SERPs).
  • Use Instagram Scraper to scrape Instagram posts, profiles, places, photos, and comments.
  • Use RAG Web Browser to search the web, scrape the top N URLs, and return their content.
  • Use Web Fetch to retrieve any URL and return the content as Markdown, plain text, HTML, or links, with support for JavaScript rendering and anti-scraping protection.

The server comes preconfigured with two Actors by default: apify/rag-web-browser and apify/web-fetch, along with several auxiliary tools. It loads the Actor's input schema and creates the corresponding MCP tools, so AI agents know which parameters to pass in and what will be returned.

Dynamic tool discovery is one of the core features, allowing AI agents to discover and incorporate new tools (Actors) on demand. The server also provides support for the following MCP operations:

  • Apify Actors: search Actors, list Actors in the account, view details, use them as AI tools, delete your own Actors.
  • Apify documentation: search Apify documentation and retrieve specific documents to provide context for AI.
  • Actor runs: get a list of runs, view details, retrieve logs.
  • Apify storage: access data in datasets and key-value stores.
  • Actor tasks: create, view, and update saved Actor tasks, and publish or unpublish their public landing pages.
  • Schedules: create, view, update, and delete schedules that automatically run Actors and tasks.
  • Builds: build Actor versions, list builds, check build status, get build logs.
  • Actor source code: read files for an Actor version, with a hash for each file and a revision for the entire file set.
  • Apify API: search the Apify API reference, view operations, and send requests to read or change data.

Usage

There are two ways to use it:

  1. HTTPS endpoint (mcp.apify.com): connect via OAuth, or include an Authorization: Bearer <APIFY_TOKEN> header in the request. This is the recommended method for most scenarios. Because OAuth is supported, you can connect directly using the URL https://mcp.apify.com from clients such as Claude.ai or Visual Studio Code. Note: the legacy SSE transport has been removed,https://mcp.apify.com/sse The endpoint is deprecated; use Streamable HTTP instead, i.e., remove the /sse suffix from the configuration.

  2. Standard input/output (stdio): suitable for local integration and command-line tools (such as the Claude for Desktop client). Set the MCP client server command to npx @apify/actors-mcp-server, and set the APIFY_TOKEN environment variable to your Apify API token. For more options, see npx @apify/actors-mcp-server --help.

The server can be configured through the UI configurator, and then the configuration can be copied to the client. The hosted server can be configured with URL query parameters, for example to load the default tools; a minimal configuration can also be used to expose only a single Actor tool (such as apify/my-actor), without providing discovery or generic invocation tools. The CLI can be configured with command-line flags, for example to load the same tools as the hosted server, or to use a similar minimal configuration.

The tool configuration parameter tools is used to specify the tools to load—which can be categories or specific tools, as well as Apify Actors. For example, tools=storage,runs loads two categories; tools=call-actor loads only one tool. When no query parameter is provided, apify/rag-web-browser and apify/web-fetch are loaded by default. If the tools parameter is specified, only the listed tools or categories are enabled, and the default tools are not included.

When call-actor, an Actor tool, or get-actor-run is present, the server automatically injects get-actor-run, get-dataset-items, get-key-value-store-record, and abort-actor-run. When calling an Actor, the response includes run metadata, storage IDs, and summary + nextStep, but does not include dataset items; to get the items, call get-dataset-items (automatically injected) according to nextStep, and pass in the datasetId returned by the call.

All tools include metadata annotations to help MCP clients and LLMs understand tool behavior: title (a short display name), readOnlyHint (for tools that only read datadata tools are true; Actor tools are true only for Actors maintained by Apify that have restricted permissions and no secrets, no writable storage, and no MCP connectors or code input; other Actor tools are marked as destructive), openWorldHint (true for tools that access resources outside the Apify platform).

Agent Payments

Actor runs can also be paid for without an Apify API token, with three supported methods:

  • AGI (recommended): agi.apify.com mints a prepaid Apify API token via x402 or MPP payment. This token can be used like a normal API token for mcp.apify.com and api.apify.com, and works with any Actor, not limited to the Pay Per Event type. For the full protocol, supported payment methods, and current terms, see agi.apify.com/AGENTS.md.
  • Direct x402: pay per request in USDC on Base, without a separate platform account. Fully supported by mcpc (brew install apify/tap/mcpc or npm install -g @apify/mcpc).
  • Skyfire: pay with PAY tokens, requiring a Skyfire account with a funded wallet. No special MCP client is needed; the entire payment flow is handled through MCP tool call parameters.

Note: Both direct x402 and Skyfire are limited to Pay Per Event Actors, do not support Standby Actors, and settle per run rather than minting tokens. The payment flow has four steps: discovery (discover Actors with search-actors or fetch-actor-details, free), prepayment (top up the prepaid balance before running a paid Actor tool), execution (call the Actor tool), and settlement (return results, with unused funds retained for subsequent runs; direct x402 refunds unused balance to the Base wallet after 60 minutes of inactivity, and Skyfire refunds unused funds when the token expires).

Use Cases

Suitable for scenarios where AI agents need to extract data from various websites, perform web scraping, andDynamic scenarios, such as social media data collection, search engine result scraping, map contact information extraction, e-commerce data scraping, etc. Compatible with Claude Code, Claude.ai, Cursor, VS Code, and any client that follows the Model Context Protocol, but different clients may have varying levels of support for features such as dynamic tool discovery.

Limitations

  • The legacy SSE transport has been removed; migration to Streamable HTTP is required.
  • Direct x402 and Skyfire are limited to Pay Per Event Actors and do not support Standby Actors.
  • Local stdio operation does not support the latest features provided by hosted servers (such as output schema inference for structured Actor results).
  • Different MCP clients may have varying levels of support for features such as dynamic tool discovery.
  • The specific Actor running cost varies by Actor and uses a prepaid balance model.