apify/apify-mcp-server

The Apify MCP server enables your AI agents to extract data from social media, search engines, maps, e-commerce sites, or any other website using thousands of ready-made scrapers, crawlers, and automation tools available on the Apify Store.

What it solves

此專案提供一個模型上下文協議(MCP)伺服器,允許 AI 代理存取 Apify Store 中成千上萬的即用型網頁抓取、爬蟲與自動化工具(稱為「Actors」)。它彌合了大型語言模型(LLM)與來自社群媒體、搜尋引擎與電商網站的實際網頁資料提取之間的差距。

How it works

伺服器實作模型上下文協議,使 AI 助手能夠發現並執行 Apify Actors 作為工具。它可以部署為託管的 HTTPS 端點,或透過標準輸入/輸出(stdio)在本機執行。伺服器會動態載入 Actor 的輸入結構,讓 LLM 確切知道需要提供哪些參數。它亦包含協助搜尋 Apify Store、閱讀文件、以及管理 Actor 執行與儲存的工具。

Who it’s for

開發者與 AI 代理構建者,使用相容 MCP 的客戶端(如 Claude Desktop、Cursor 或 VS Code),需要讓其代理執行複雜的網頁資料提取與自動化任務。

Highlights

  • Dynamic Tool Discovery: Agents can search for and integrate new Actors from the Apify Store on the fly.
  • Agentic Payments: Supports machine-to-machine payments via x402 (USDC on Base) and Skyfire, allowing agents to pay for Actor runs without an API token.
  • Broad Compatibility: Works with any MCP-compliant client, including Claude.ai and various IDEs.
  • Flexible Deployment: Available as a hosted server for easy setup or a local CLI tool for deeper integration.