apify-mcp-server — Apify MCP server: features and setup
Connect an AI assistant to Apify Actors to collect data from websites, social platforms, search engines, and maps. Use it when a task calls for a ready-made scraper or crawler.
claude mcp add --transport http apify-mcp-server https://mcp.apify.com/What apify-mcp-server does
The server exposes Apify Actors as tools an AI assistant can use for specific jobs. Actors can extract posts from social profiles, contact details from Google Maps, search results, or page content. Some web-fetching tools can render JavaScript and handle anti-bot protection.
Connect over HTTPS with OAuth, or send an Apify token in the Authorization: Bearer <APIFY_TOKEN> header. For a local stdio setup, run npx @apify/actors-mcp-server and set the APIFY_TOKEN environment variable. The hosted server supports schema inference for structured Actor results; that feature is unavailable with local stdio.
For Claude Code, add the HTTPS server with one command. Local stdio requires an Apify token.
What it helps with
- extract posts from Facebook pages and profiles
- find business contact details on Google Maps
- scrape Google Search results
- collect Instagram posts, profiles, and comments
- fetch a page and return its content as Markdown
Example prompts for the agent
- Find contact details for businesses in this Google Maps area.
- Collect posts and comments from this Instagram profile.
- Search for pages about this topic and return their content as Markdown.
How to install apify-mcp-server
Platform CLI: remote server
claude mcp add --transport http apify-mcp-server https://mcp.apify.com/Platform CLI: remote server
codex mcp add apify-mcp-server --url https://mcp.apify.com/Config file
{
"mcpServers": {
"apify-mcp-server": {
"url": "https://mcp.apify.com/"
}
}
}Config file
{
"servers": {
"apify-mcp-server": {
"type": "http",
"url": "https://mcp.apify.com/"
}
}
}Platform CLI: remote server
gemini mcp add -t http apify-mcp-server https://mcp.apify.com/Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about apify-mcp-server
How do I install apify-mcp-server in Claude Code?
Run claude mcp add --transport http apify-mcp-server https://mcp.apify.com/ to connect the hosted server over HTTPS.
What does apify-mcp-server do?
It lets an AI assistant use Apify Actors to collect data from websites, social media, search engines, and maps.
Does apify-mcp-server need an Apify token?
For HTTPS, connect with OAuth or send a token in the Authorization: Bearer <APIFY_TOKEN> header. Local stdio setup requires the APIFY_TOKEN environment variable.