mcp-server-rag-web-browser
A MCP Server for the RAG Web Browser Actor JavaScript-based implementation.
Documentation
MCP Server for the RAG Web Browser Actor 🌐
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.
> **This MCP server is deprecated in favor of mcp.apify.com**
>
> For the same functionality and much more, please use one of these alternatives:
🚀 Recommended: use mcp.apify.com
The easiest way to get the same web browsing capabilities is to use **mcp.apify.com** with default settings.
Benefits:
- ✅ No local setup required
- ✅ Always up-to-date
- ✅ Access to 6,000+ Apify Actors (including RAG Web Browser)
- ✅ OAuth support for easy connection
- ✅ Dynamic tool discovery
Quick Setup:
1. Go to https://mcp.apify.com
2. Authorize the client (Claude, VS Code, etc.)
3. Copy the generated MCP server configuration (or use OAuth flow if supported)
4. Start using browsing & other tools immediately
🌐 Alternative: direct RAG Web Browser integration
You can also call the RAG Web Browser Actor directly via its HTTP/SSE interface.
Benefits:
- ✅ Direct integration without mcp.apify.com
- ✅ Real-time streaming via Server-Sent Events
- ✅ Full control over the integration
- ✅ No additional dependencies
Docs: Actor Documentation
🎯 What does this MCP server do?
This 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.
It runs locally and communicates with the RAG Web Browser Actor in **Standby mode**,
sending search queries and receiving extracted web content in response.
- Web Search: Query Google Search, scrape top N URLs, and return cleaned content as Markdown
- Single URL Fetching: Fetch a specific URL and return its content as Markdown
- Local MCP Integration: Standard input/output (stdio) communication with AI clients
🧱 Components
Tools
- name: `search`
description: Query Google Search OR fetch a direct URL and return cleaned page contents.
arguments:
🔄 Migration Guide
From Local MCP Server to mcp.apify.com
Before (Deprecated local server):
{
"mcpServers": {
"rag-web-browser": {
"command": "npx",
"args": ["@apify/mcp-server-rag-web-browser"],
"env": {
"APIFY_TOKEN": "your-apify-api-token"
}
}
}
}After (Recommended Apify server):
{
"mcpServers": {
"apify": {
"command": "npx",
"args": ["@apify/actors-mcp-server"],
"env": {
"APIFY_TOKEN": "your-apify-api-token"
}
}
}
}Or use the hosted endpoint: `https://mcp.apify.com` (when your client supports HTTP transport / remote MCP).
MCP clients
- Claude Desktop: https://claude.ai/download
- Visual Studio Code
- Apify Tester MCP Client: https://apify.com/jiri.spilka/tester-mcp-client
🛠️ Development
Prerequisites
- Node.js (v18 or higher)
- Apify API Token (`APIFY_TOKEN`)
Clone & install:
git clone https://github.com/apify/mcp-server-rag-web-browser.git
cd mcp-server-rag-web-browser
npm installBuild
npm install
npm run buildDebugging
Since MCP servers operate over standard input/output (stdio), debugging can be challenging.
For the best debugging experience, use the MCP Inspector.
You can launch the MCP Inspector via `npm` with this command:
export APIFY_TOKEN=your-apify-api-token
npx @modelcontextprotocol/inspector node dist/index.jsUpon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
📖 Learn more
- Model Context Protocol
- RAG Web Browser Actor
- What are AI Agents?
- What is MCP and why does it matter?
- How to use MCP with Apify Actors
- Tester MCP Client
- Webinar: Building and Monetizing MCP Servers on Apify
- How to build and monetize an AI agent on Apify
- Build and deploy MCP servers in minutes with a TypeScript template
*This repository is maintained for archival purposes only. Please use the recommended alternatives above for active development.*
Frequently asked questions
What is mcp-server-rag-web-browser?
mcp-server-rag-web-browser is A MCP Server for the RAG Web Browser Actor JavaScript-based implementation.
How do I install mcp-server-rag-web-browser?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-server-rag-web-browser open source?
Yes — it is hosted on GitHub at https://github.com/apify/mcp-server-rag-web-browser and has 189 stars.
Related MCP tools
This is an MCP server that allows you to directly download transcripts of YouTube videos. JavaScript-based implementation.
A server that integrates Linear's project management system with the Model Context Protocol (MCP) to allow LLMs to interact with Linear.
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others. Built for the Model Context Protocol to enhance AI capabiliti
Fay是一个帮助数字人(2.5d、3d、移动、pc、网页)或大语言模型(openai兼容、deepseek)连通业务系统的mcp框架。 JavaScript-based implementation. Trusted by 12000+ developers.
CTTF: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP