Apify Model Context Protocol (MCP) Server
Model Context Protocol (MCP) Server for Apify's Actors
Overview
The Apify MCP Server is an implementation of the Model Context Protocol that allows interaction with Apify Actors for various data extraction and web scraping tasks.
You can use the MCP Server as an Apify Actor or run it locally. To start the server, send an HTTP GET request with your Apify API token to the designated URL. You can also interact with it using Server-Sent Events (SSE) or standard input/output (stdio).
- Enables interaction with multiple Apify Actors. - Supports HTTP server and local server modes. - Provides a chat-like UI for easy interaction. - Allows dynamic loading of Actors and tools.
- Extracting data from social media platforms like Facebook and Instagram.
- Scraping Google Search results for specific queries.
- Performing web searches and summarizing trends.
- Analyzing profiles and extracting contact details from Google Maps.
Add to your AI client
Use these steps to connect Apify Model Context Protocol (MCP) Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"actors-mcp-server-apify": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-actors-mcp-server-apify"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"actors-mcp-server-apify": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-actors-mcp-server-apify"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"actors-mcp-server-apify": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-actors-mcp-server-apify"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"actors-mcp-server-apify": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-actors-mcp-server-apify"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"actors-mcp-server-apify": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-actors-mcp-server-apify"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"actors-mcp-server-apify": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-actors-mcp-server-apify"
]
}
}
}