The Apify Model Context Protocol (MCP) Server at mcp.apify.com instantly connects AI applications and agents to thousands of ready‑built tools. It allows your AI assistant to use any Apify Actor for web scraping, data extraction, and automation tasks in real time.
🚀 Try the hosted Apify MCP Server!
For the easiest setup and most powerful features, including the ability to find and use any Actor from Apify Store, connect your AI assistant to our hosted server:
It supports OAuth, so you can connect from clients like Claude.ai or Visual Studio Code with just the URL.
Table of Contents
- 🌐 Introducing the Apify MCP server
- 🚀 Quickstart
- 🤖 MCP clients and examples
- 🪄 Try Apify MCP instantly
- 🛠️ Tools, resources, and prompts
- 🐛 Troubleshooting (local MCP server)
- ⚙️ Development
- 🤝 Contributing
- 📚 Learn more
🌐 Introducing the Apify MCP server
The Apify MCP Server allows an AI assistant to use any Apify Actor as a tool to perform a specific task. For example, it can:
- Use Facebook Posts Scraper to extract data from Facebook posts from multiple pages/profiles.
- Use Google Maps Email Extractor to extract contact details 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.
Video tutorial: Integrate 5,000+ Apify Actors and Agents with Claude
🚀 Quickstart
You can use the Apify MCP Server in two ways:
HTTPS Endpoint (mcp.apify.com): Connect from your MCP client via OAuth or by including the Authorization: Bearer <APIFY_TOKEN>
header in your requests. This is the recommended method for most use cases. Because it supports OAuth, you can connect from clients like Claude.ai or Visual Studio Code using just the URL: https://mcp.apify.com
.
https://mcp.apify.com
(recommended) for streamable transporthttps://mcp.apify.com/sse
for legacy SSE transport
Standard Input/Output (stdio): Ideal for local integrations and command-line tools like the Claude for Desktop client.
- Set the MCP client server command to
npx @apify/actors-mcp-server
and theAPIFY_TOKEN
environment variable to your Apify API token. - See
npx @apify/actors-mcp-server --help
for more options.
You can find detailed instructions for setting up the MCP server in the Apify documentation.
🤖 MCP clients and examples
To interact with the Apify MCP server, you can use various MCP clients, such as:
- Claude Desktop
- Visual Studio Code
- LibreChat
- Apify Tester MCP Client
- Other clients at https://modelcontextprotocol.io/clients
- More clients at https://glama.ai/mcp/clients
With MCP server integrated, you can ask your AI assistant things like:
- "Search the web and summarize recent trends in AI Agents."
- "Find the top 10 Italian restaurants in San Francisco."
- "Find and analyze the Instagram profile of The Rock."
- "Provide a step-by-step guide on using the Model Context Protocol, including source URLs."
- "What Apify Actors can I use?"
Supported Clients Matrix
The following table outlines the tested MCP clients and their level of support for key features.
Client | Dynamic Tool Discovery | Notes |
---|---|---|
Claude.ai (web) | ✅ Full | |
Claude Desktop | 🟡 Partial | Tools may need to be reloaded manually in the client. |
VS Code (Genie) | ✅ Full | |
LibreChat | ❓ Untested | |
Apify Tester MCP Client | ✅ Full | Designed for testing Apify MCP servers. |
This matrix is a work in progress. If you have tested other clients, please consider contributing to this documentation.
🪄 Try Apify MCP Instantly
Want to try Apify MCP without any setup?
Check out Apify Tester MCP Client
This interactive, chat-like interface provides an easy way to explore the capabilities of Apify MCP without any local setup. Just sign in with your Apify account and start experimenting with web scraping, data extraction, and automation tools!
Or use the Anthropic Desktop extension file (dxt) for one-click installation: Apify MCP server dxt file
🛠️ Tools, resources, and prompts
The MCP server provides a set of tools for interacting with Apify Actors. Since the Apify Store is large and growing rapidly, the MCP server provides a way to dynamically discover and use new Actors.
Actors
Any Apify Actor can be used as a tool.
By default, the server is pre-configured with one Actor, apify/rag-web-browser
, and several helper tools.
The MCP server loads an Actor's input schema and creates a corresponding MCP tool.
This allows the AI agent to know exactly what arguments to pass to the Actor and what to expect in return.
For example, for the apify/rag-web-browser
Actor, the input parameters are:
You don't need to manually specify which Actor to call or its input parameters; the LLM handles this automatically. When a tool is called, the arguments are automatically passed to the Actor by the LLM. You can refer to the specific Actor's documentation for a list of available arguments.
Helper tools
One of the most powerful features of using MCP with Apify is dynamic tool discovery. It gives an AI agent the ability to find new tools (Actors) as needed and incorporate them. Here are some special MCP operations and how the Apify MCP Server supports them:
- Apify Actors: Search for Actors, view their details, and use them as tools for the AI.
- Apify documentation: Search the Apify documentation and fetch specific documents to provide context to the AI.
- Actor runs: Get lists of your Actor runs, inspect their details, and retrieve logs.
- Apify storage: Access data from your datasets and key-value stores.
Overview of available tools
Here is an overview list of all the tools provided by the Apify MCP Server.
Tool name | Category | Description | Enabled by default |
---|---|---|---|
search-actors | actors | Search for Actors in the Apify Store. | ✅ |
fetch-actor-details | actors | Retrieve detailed information about a specific Actor. | ✅ |
call-actor | actors | Call an Actor and get its run results. | ✅ |
apify-slash-rag-web-browser | Actor (see tool configuration) | An Actor tool to browse the web. | ✅ |
search-apify-docs | docs | Search the Apify documentation for relevant pages. | ✅ |
fetch-apify-docs | docs | Fetch the full content of an Apify documentation page by its URL. | ✅ |
get-actor-run | runs | Get detailed information about a specific Actor run. | |
get-actor-run-list | runs | Get a list of an Actor's runs, filterable by status. | |
get-actor-log | runs | Retrieve the logs for a specific Actor run. | |
get-dataset | storage | Get metadata about a specific dataset. | |
get-dataset-items | storage | Retrieve items from a dataset with support for filtering and pagination. | |
get-dataset-schema | storage | Generate a JSON schema from dataset items. | |
get-key-value-store | storage | Get metadata about a specific key-value store. | |
get-key-value-store-keys | storage | List the keys within a specific key-value store. | |
get-key-value-store-record | storage | Get the value associated with a specific key in a key-value store. | |
get-dataset-list | storage | List all available datasets for the user. | |
get-key-value-store-list | storage | List all available key-value stores for the user. | |
add-actor | experimental | Add an Actor as a new tool for the user to call. | |
get-actor-output * | - | Retrieve the output from an Actor call which is not included in the output preview of the Actor tool. | ✅ |
Note:
The
get-actor-output
tool is automatically included with any Actor-related tool, such ascall-actor
,add-actor
, or any specific Actor tool likeapify-slash-rag-web-browser
. When you call an Actor - either through thecall-actor
tool or directly via an Actor tool (e.g.,apify-slash-rag-web-browser
) - you receive a preview of the output. The preview depends on the Actor's output format and length; for some Actors and runs, it may include the entire output, while for others, only a limited version is returned to avoid overwhelming the LLM. To retrieve the full output of an Actor run, use theget-actor-output
tool (supports limit, offset, and field filtering) with thedatasetId
provided by the Actor call.
Tools configuration
The tools
configuration parameter is used to specify loaded tools - either categories or specific tools directly, and Apify Actors. For example, tools=storage,runs
loads two categories; tools=add-actor
loads just one tool.
When no query parameters are provided, the MCP server loads the following tools
by default:
actors
docs
apify/rag-web-browser
If the tools parameter is specified, only the listed tools or categories will be enabled - no default tools will be included.
Easy configuration:
Use the UI configurator to configure your server, then copy the configuration to your client.
Configuring the hosted server:
The hosted server can be configured using query parameters in the URL. For example, to load the default tools, use:
For minimal configuration, if you want to use only a single Actor tool - without any discovery or generic calling tools, the server can be configured as follows:
This setup exposes only the specified Actor (apify/my-actor
) as a tool. No other tools will be available.
Configuring the CLI:
The CLI can be configured using command-line flags. For example, to load the same tools as in the hosted server configuration, use:
The minimal configuration is similar to the hosted server configuration:
As above, this exposes only the specified Actor (apify/my-actor
) as a tool. No other tools will be available.
⚠️ Important recommendation
The default tools configuration may change in future versions. When no
tools
parameter is specified, the server currently loads default tools, but this behavior is subject to change.For production use and stable interfaces, always explicitly specify the
tools
parameter to ensure your configuration remains consistent across updates.
Backward compatibility
The v2 configuration preserves backward compatibility with v1 usage. Notes:
actors
param (URL) and--actors
flag (CLI) are still supported.- Internally they are merged into
tools
selectors. - Examples:
?actors=apify/rag-web-browser
≡?tools=apify/rag-web-browser
;--actors apify/rag-web-browser
≡--tools apify/rag-web-browser
.
- Internally they are merged into
enable-adding-actors
(CLI) andenableAddingActors
(URL) are supported but deprecated.- Prefer
tools=experimental
or including the specific tooltools=add-actor
. - Behavior remains: when enabled with no
tools
specified, the server exposes onlyadd-actor
; when categories/tools are selected,add-actor
is also included.
- Prefer
enableActorAutoLoading
remains as a legacy alias forenableAddingActors
and is mapped automatically.- Defaults remain compatible: when no
tools
are specified, the server loadsactors
,docs
, andapify/rag-web-browser
.- If any
tools
are specified, the defaults are not added (same as v1 intent for explicit selection).
- If any
call-actor
is now included by default via theactors
category (additive change). To exclude it, specify an explicittools
list withoutactors
.preview
category is deprecated and removed. Use specific tool names instead.
Existing URLs and commands using ?actors=...
or --actors
continue to work unchanged.
Prompts
The server provides a set of predefined example prompts to help you get started interacting with Apify through MCP. For example, there is a GetLatestNewsOnTopic
prompt that allows you to easily retrieve the latest news on a specific topic using the RAG Web Browser Actor.
Resources
The server does not yet provide any resources.
Debugging the NPM package
To debug the server, use the MCP Inspector tool:
⚙️ Development
Prerequisites
- Node.js (v18 or higher)
Create an environment file, .env
, with the following content:
Build the actor-mcp-server
package:
Start HTTP streamable MCP server
Run using Apify CLI:
Once the server is running, you can use the MCP Inspector to debug the server exposed at http://localhost:3001
.
Start standard input/output (stdio) MCP server
You can launch the MCP Inspector with this command:
Upon launching, the Inspector will display a URL that you can open in your browser to begin debugging.
🐦 Canary PR releases
Apify MCP is split across two repositories: this one for core MCP logic and the private apify-mcp-server-internal
for the hosted server.
Changes must be synchronized between both.
To create a canary release, add the beta
tag to your PR branch.
This publishes the package to pkg.pr.new for staging and testing before merging.
See the workflow file for details.
🐛 Troubleshooting (local MCP server)
- Make sure you have
node
installed by runningnode -v
. - Make sure the
APIFY_TOKEN
environment variable is set. - Always use the latest version of the MCP server by using
@apify/actors-mcp-server@latest
.
💡 Limitations
The Actor input schema is processed to be compatible with most MCP clients while adhering to JSON Schema standards. The processing includes:
- Descriptions are truncated to 500 characters (as defined in
MAX_DESCRIPTION_LENGTH
). - Enum fields are truncated to a maximum combined length of 200 characters for all elements (as defined in
ACTOR_ENUM_MAX_LENGTH
). - Required fields are explicitly marked with a
REQUIRED
prefix in their descriptions for compatibility with frameworks that may not handle the JSON schema properly. - Nested properties are built for special cases like proxy configuration and request list sources to ensure the correct input structure.
- Array item types are inferred when not explicitly defined in the schema, using a priority order: explicit type in items > prefill type > default value type > editor type.
- Enum values and examples are added to property descriptions to ensure visibility, even if the client doesn't fully support the JSON schema.
- Rental Actors are only available for use with the hosted MCP server at https://mcp.apify.com. When running the server locally via stdio, you can only access Actors that are already added to your local toolset. To dynamically search for and use any Actor from the Apify Store—including rental Actors—connect to the hosted endpoint.
🤝 Contributing
We welcome contributions to improve the Apify MCP Server! Here's how you can help:
- 🐛 Report issues: Find a bug or have a feature request? Open an issue.
- 🔧 Submit pull requests: Fork the repo and submit pull requests with enhancements or fixes.
- 📚 Documentation: Improvements to docs and examples are always welcome.
- 💡 Share use cases: Contribute examples to help other users.
For major changes, please open an issue first to discuss your proposal and ensure it aligns with the project's goals.
📚 Learn more
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Apify의 Actors로 알려진 3,000개 이상의 사전 구축된 클라우드 도구를 사용하여 웹사이트, 전자 상거래, 소셜 미디어, 검색 엔진, 지도 등에서 데이터를 추출합니다.
- 🎯 Apify MCP 서버는 무슨 역할을 하나요?
- MCP 클라이언트
- 🔄 모델 컨텍스트 프로토콜이란 무엇인가요?
- 🤖 MCP 서버는 AI 에이전트와 어떤 관련이 있나요?
- 🧱 구성 요소
- ⚙️ 사용법
- 👷🏼 개발
- 🚀 로드맵 (2025년 3월)
- 🐛 문제 해결
- 📚 자세히 알아보기
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityA modern AI service proxy that enables interaction with multiple AI providers (Anthropic Claude, OpenAI) through a unified API, deployed globally using Cloudflare Workers.Last updated -539
- -securityAlicense-qualityA service that extracts and transcribes audio content from videos across 1000+ streaming websites including YouTube, Bilibili, TikTok, and Twitter, supporting multiple transcription providers like Deepgram, Gladia, Speechmatics, and AssemblyAI.Last updated -23MIT License
- AsecurityAlicenseAqualityA server that leverages Playwright for automated browser testing and integrates with Cloudflare Workers, enabling AI assistants to control web browsers for navigation, interaction, and screenshots.Last updated -24425,002114Apache 2.0
- -securityFlicense-qualityAn Apify Actor implementing the Model Context Protocol for Perplexity API, enabling AI assistants to search and access information through a standardized interface.Last updated -