Apify Actors

By apifyCreated 16 days ago
starstarstarstarstar

Use 3,000+ pre-built cloud tools to extract data from websites, e-commerce, social media, search engines, maps, and more.

Visit Project
Share this MCP:
X (Formerly Twitter)RedditblueskyThreads by Instagram

Category

Official MCP Server

Tags

ApifyWeb ScrapingMcp ServerAi AgentsData Extraction

What is Apify MCP Server?

The Apify MCP Server is an implementation of the Model Context Protocol (MCP) designed to enable interaction with Apify Actors, which are pre-built cloud tools for data extraction from websites, e-commerce, social media, search engines, maps, and more. The server facilitates the use of over 3,000 Apify Actors as tools for AI agents and assistants.

How to use Apify MCP Server?

The Apify MCP Server can be used in two primary ways: as an HTTP server via Server-Sent Events (SSE) or as a local server via standard input/output (stdio).

For HTTP Server (SSE):

  1. Start the Server: Send an HTTP GET request with your Apify API token to initiate the server in Standby mode. The server URL can be found here.
  2. Interact with SSE: Use Server-Sent Events to send messages to and receive responses from the server. For example, you can use the Tester MCP Client to interact with the server.

For Local Server (stdio):

  1. Install Prerequisites: Ensure you have Node.js (v18 or higher) and an Apify API token.
  2. Configure Client: Set up an MCP client like Claude Desktop or VS Code to use the Apify MCP Server. Add the server configuration to the client settings.
  3. Start the Server: Run the server locally using the command npx -y @apify/actors-mcp-server.
  4. Interact with the Server: Use the configured client to interact with the server. You can ask the AI agent to perform tasks like web scraping, data extraction, and more using the Apify Actors.

Key Features of Apify MCP Server

  • Pre-built Integration: Supports over 3,000 Apify Actors for various data extraction tasks.
  • MCP Compatibility: Complies with the Model Context Protocol (MCP) for seamless integration with AI agents and clients.
  • Multiple Usage Modes: Can be used as an HTTP server (SSE) or a local server (stdio).
  • Dynamic Actor Management: Allows AI agents to discover and use Apify Actors dynamically.
  • Extended Functionality: Provides access to Apify's datasets, key-value stores, and other resources.

Use Cases of Apify MCP Server

  1. Web Scraping: Use Actors like Google Search Results Scraper to scrape Google Search Engine Results Pages (SERPs).
  2. Social Media Data Extraction: Use Instagram Scraper to extract posts, profiles, and comments from Instagram.
  3. E-commerce Data Extraction: Use Amazon Scraper to extract product data such as reviews, prices, and product details.
  4. AI Agent Integration: Integrate Apify Actors with AI agents to perform tasks like researching trends, analyzing data, and generating reports.
  5. Custom Workflows: Create custom workflows using Apify Actors for specific data extraction and processing tasks.

FAQ from Apify MCP Server

  • What is the Model Context Protocol (MCP)?

    The Model Context Protocol (MCP) is an open protocol that enables secure, controlled interactions between AI applications, AI agents, and local or remote resources. It allows AI agents to connect to external tools and data sources, such as Apify Actors, for performing specific tasks.

  • How can I configure Claude Desktop to work with the Apify MCP Server?

    To configure Claude Desktop, enable Developer Mode, edit the configuration file (claude_desktop_config.json), and add the server configuration. Restart Claude Desktop and use the 🔌 icon to confirm the connection. You can ask the AI agent to perform tasks using Apify Actors.

  • What are the limitations of the Apify MCP Server?

    The Actor input schema is processed to be compatible with most MCP clients while adhering to JSON Schema standards. Memory for each Actor is limited to 4GB. Free users have an 8GB limit, with 128MB allocated for running the Apify MCP Server.

  • Can I use Apify MCP Server with other MCP clients?

    Yes, you can use Apify MCP Server with various MCP clients such as VS Code, LibreChat, and more. See the MCP Clients page for a list of compatible clients.