Skip to main content
Glama

mcp-server-rag-web-browser

Official
by apify

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:

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:
    • query (string, required): Search keywords or a full URL. Advanced Google operators supported.
    • maxResults (number, optional, default: 1): Max organic results to fetch (ignored when query is a URL).
    • scrapingTool (string, optional, default: raw-http): One of browser-playwright | raw-http.
      • raw-http: Fast (no JS execution) – good for static pages.
      • browser-playwright: Handles JS-heavy sites – slower, more robust.
    • outputFormats (array of strings, optional, default: [markdown]): One or more of text, markdown, html.
    • requestTimeoutSecs (number, optional, default: 40, min 1 max 300): Total server-side AND client wait budget. A local abort is enforced.

🔄 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 install

Build

npm install npm run build

Debugging

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.js

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

📖 Learn more

This repository is maintained for archival purposes only. Please use the recommended alternatives above for active development.

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

RAG 웹 브라우저 액터용 MCP 서버 구현. 이 액터는 ChatGPT의 웹 검색과 유사하게 대규모 언어 모델(LLM) 및 RAG 파이프라인을 위한 웹 브라우저 역할을 합니다.

  1. 🎯 이 MCP 서버는 무슨 역할을 하나요?
    1. 🧱 구성 요소
      1. 도구
    2. 🔄 모델 컨텍스트 프로토콜이란 무엇인가요?
      1. 🤖 MCP 서버는 AI 에이전트와 어떻게 통합되나요?
        1. 🔌 Apify의 관련 MCP 서버 및 클라이언트
          1. 서버 옵션
          2. 클라이언트 옵션
        2. 🛠️ 구성
          1. 필수 조건
          2. 설치하다
        3. 👷🏼 개발
          1. 로컬 클라이언트(stdio)
          2. 직접 API 호출
          3. 디버깅

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          A MCP server that provides browser automation tools, allowing users to navigate websites, take screenshots, click elements, fill forms, and execute JavaScript through Playwright.
          Last updated -
          8
          Apache 2.0
          • Apple
        • -
          security
          A
          license
          -
          quality
          A server that integrates Retrieval-Augmented Generation (RAG) with the Model Control Protocol (MCP) to provide web search capabilities and document analysis for AI assistants.
          Last updated -
          3
          Apache 2.0
        • A
          security
          A
          license
          A
          quality
          A comprehensive MCP server that provides powerful web automation tools using Playwright, enabling web scraping, testing, and browser interaction through natural language commands.
          Last updated -
          38
          9
          MIT License
          • Apple
          • Linux
        • -
          security
          F
          license
          -
          quality
          An MCP server that allows users to interact with their browser through natural language commands, enabling actions like getting page content as markdown, modifying page styles, and searching browser history.
          Last updated -
          1

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/apify/mcp-server-rag-web-browser'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server