Apify MCP Server
Enables AI assistants to use thousands of Apify Actors for web scraping, data extraction, and automation via the Model Context Protocol.
README
Apify MCP Server

Self-host the Apify MCP Server on Railway. This gives your AI assistants (Claude, Cursor, Windsurf, etc.) access to thousands of Apify Actors for web scraping, data extraction, and automation — via the Model Context Protocol (MCP).
Deploy and Host
Deploy the Apify MCP Server on Railway with a single click. The template provisions a Node.js server that exposes Apify's MCP interface via Streamable HTTP transport, ready for any MCP-compatible client.
Dependencies for
- Apify API token — Required for authentication. Get one at console.apify.com
- MCP-compatible client — Claude Desktop, Cursor, Windsurf, or any client supporting MCP Streamable HTTP
Deployment Dependencies
Railway handles all infrastructure — no server management needed. The template uses the NIXPACKS builder with Node.js and npm dependencies declared in package.json.
About Hosting
This service runs on Railway's infrastructure using the NIXPACKS builder. It requires an Apify API token for authentication. Once deployed, Railway assigns a public HTTPS URL that serves as your MCP endpoint.
Why Deploy
- Thousands of Actors — Access the full Apify Store of scrapers and automations
- Bearer auth — Secure your endpoint with your Apify API token
- Zero configuration — Deploy with just your APIFY_TOKEN
- Always-on endpoint — Your MCP server stays available whenever you need it
Common Use Cases
- Web research — Give Claude the ability to scrape Google, Amazon, Twitter, TikTok, and hundreds more
- Data extraction — Run Apify Actors on demand via MCP tools
- AI assistant integration — Connect Claude Desktop, Cursor, Windsurf, or any MCP client
- Automated monitoring — Schedule recurring scrapes through Apify's platform
How it works
The Apify MCP Server provides a standardized MCP interface to the Apify platform. AI assistants use MCP tools to:
- Search & discover Actors in the Apify Store
- Run Actors with custom input
- Get results — retrieve and inspect Actor run outputs
- Manage datasets and scheduled tasks
This Railway deployment runs the server with Streamable HTTP transport, making it accessible to any MCP-compatible client over HTTPS.
Getting an Apify API Token
- Sign up or log in at console.apify.com
- Go to Settings → Integrations (or direct link)
- Click Create token and copy the value
- Use it as the
APIFY_TOKENvariable when deploying this template
Usage
Configuring MCP Clients
Once deployed, add the server to any MCP-compatible client.
Claude Desktop
Edit ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"apify": {
"url": "https://your-railway-url.up.railway.app",
"headers": {
"Authorization": "Bearer YOUR_APIFY_TOKEN"
}
}
}
}
Replace YOUR_APIFY_TOKEN with your actual Apify API token.
Cursor / Windsurf / Other Clients
Use the same URL and Bearer token pattern to configure your MCP client of choice.
Testing the endpoint
curl -X POST https://your-railway-url.up.railway.app/health
# {"status": "ok", "service": "apify-mcp-server"}
Environment Variables
| Variable | Required | Description |
|---|---|---|
APIFY_TOKEN |
Yes | Your Apify API token. Get it from Apify Console |
Resources
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.