Implementation of an MCP server for the RAG Web Browser Actor. This Actor serves as a web browser for large language models (LLMs) and RAG pipelines, similar to a web search in ChatGPT. The easiest way to get the same web browsing capabilities is to use mcp.apify.com with default settings. - ✅ No local setup required - ✅ Always up-to-date - ✅ Access to 6,000+ Apify Actors (including RAG Web Browse
Add this skill
npx mdskills install apify/mcp-server-rag-web-browserDeprecated MCP server with clear migration path, but no longer actively maintained
1# MCP Server for the RAG Web Browser Actor 🌐23Implementation of an MCP server for the [RAG Web Browser Actor](https://apify.com/apify/rag-web-browser).4This Actor serves as a web browser for large language models (LLMs) and RAG pipelines, similar to a web search in ChatGPT.56> **This MCP server is deprecated in favor of [mcp.apify.com](https://mcp.apify.com)**7>8> For the same functionality and much more, please use one of these alternatives:910## 🚀 Recommended: use mcp.apify.com1112The easiest way to get the same web browsing capabilities is to use **[mcp.apify.com](https://mcp.apify.com)** with default settings.1314**Benefits:**15- ✅ No local setup required16- ✅ Always up-to-date17- ✅ Access to 6,000+ Apify Actors (including RAG Web Browser)18- ✅ OAuth support for easy connection19- ✅ Dynamic tool discovery2021**Quick Setup:**221. Go to https://mcp.apify.com232. Authorize the client (Claude, VS Code, etc.)243. Copy the generated MCP server configuration (or use OAuth flow if supported)254. Start using browsing & other tools immediately2627## 🌐 Alternative: direct RAG Web Browser integration2829You can also call the [RAG Web Browser Actor](https://apify.com/apify/rag-web-browser) directly via its HTTP/SSE interface.3031**Benefits:**32- ✅ Direct integration without mcp.apify.com33- ✅ Real-time streaming via Server-Sent Events34- ✅ Full control over the integration35- ✅ No additional dependencies3637**Docs:** [Actor Documentation](https://apify.com/apify/rag-web-browser#anthropic-model-context-protocol-mcp-server)3839---4041## 🎯 What does this MCP server do?4243This server is specifically designed to provide fast responses to AI agents and LLMs, allowing them to interact with the web and extract information from web pages.44It runs locally and communicates with the [RAG Web Browser Actor](https://apify.com/apify/rag-web-browser) in [**Standby mode**](https://docs.apify.com/platform/actors/running/standby),45sending search queries and receiving extracted web content in response.4647- **Web Search**: Query Google Search, scrape top N URLs, and return cleaned content as Markdown48- **Single URL Fetching**: Fetch a specific URL and return its content as Markdown49- **Local MCP Integration**: Standard input/output (stdio) communication with AI clients5051## 🧱 Components5253### Tools5455- name: `search`56 description: Query Google Search OR fetch a direct URL and return cleaned page contents.57 arguments:58 - `query` (string, required): Search keywords or a full URL. Advanced Google operators supported.59 - `maxResults` (number, optional, default: 1): Max organic results to fetch (ignored when `query` is a URL).60 - `scrapingTool` (string, optional, default: `raw-http`): One of `browser-playwright` | `raw-http`.61 - `raw-http`: Fast (no JS execution) – good for static pages.62 - `browser-playwright`: Handles JS-heavy sites – slower, more robust.63 - `outputFormats` (array of strings, optional, default: [`markdown`]): One or more of `text`, `markdown`, `html`.64 - `requestTimeoutSecs` (number, optional, default: 40, min 1 max 300): Total server-side AND client wait budget. A local abort is enforced.656667## 🔄 Migration Guide6869### From Local MCP Server to mcp.apify.com7071**Before (Deprecated local server):**72```json73{74 "mcpServers": {75 "rag-web-browser": {76 "command": "npx",77 "args": ["@apify/mcp-server-rag-web-browser"],78 "env": {79 "APIFY_TOKEN": "your-apify-api-token"80 }81 }82 }83}84```8586**After (Recommended Apify server):**87```json88{89 "mcpServers": {90 "apify": {91 "command": "npx",92 "args": ["@apify/actors-mcp-server"],93 "env": {94 "APIFY_TOKEN": "your-apify-api-token"95 }96 }97 }98}99```100Or use the hosted endpoint: `https://mcp.apify.com` (when your client supports HTTP transport / remote MCP).101102### MCP clients103- Claude Desktop: https://claude.ai/download104- Visual Studio Code105- Apify Tester MCP Client: https://apify.com/jiri.spilka/tester-mcp-client106107## 🛠️ Development108109### Prerequisites110- Node.js (v18 or higher)111- Apify API Token (`APIFY_TOKEN`)112113Clone & install:114```bash115git clone https://github.com/apify/mcp-server-rag-web-browser.git116cd mcp-server-rag-web-browser117npm install118```119120### Build121```bash122npm install123npm run build124```125126### Debugging127128Since MCP servers operate over standard input/output (stdio), debugging can be challenging.129For the best debugging experience, use the [MCP Inspector](https://github.com/modelcontextprotocol/inspector).130131You can launch the MCP Inspector via [`npm`](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) with this command:132133```bash134export APIFY_TOKEN=your-apify-api-token135npx @modelcontextprotocol/inspector node dist/index.js136```137Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.138139# 📖 Learn more140141- [Model Context Protocol](https://modelcontextprotocol.org/)142- [RAG Web Browser Actor](https://apify.com/apify/rag-web-browser)143- [What are AI Agents?](https://blog.apify.com/what-are-ai-agents/)144- [What is MCP and why does it matter?](https://blog.apify.com/what-is-model-context-protocol/)145- [How to use MCP with Apify Actors](https://blog.apify.com/how-to-use-mcp/)146- [Tester MCP Client](https://apify.com/jiri.spilka/tester-mcp-client)147- [Webinar: Building and Monetizing MCP Servers on Apify](https://www.youtube.com/watch?v=w3AH3jIrXXo)148- [How to build and monetize an AI agent on Apify](https://blog.apify.com/how-to-build-an-ai-agent/)149- [Build and deploy MCP servers in minutes with a TypeScript template](https://blog.apify.com/build-and-deploy-mcp-servers-typescript/)150151*This repository is maintained for archival purposes only. Please use the recommended alternatives above for active development.*152
Full transparency — inspect the skill content before installing.