Web Research MCP Server

Official registry Search and web

Stealth Google Search and token-efficient web content extraction with undetected browser automation.

What can you do with Web Research MCP Server?

  • 🎭 100% Undetectable Headed Stealth on Display :99: Built on Patchright (patched driver eliminating Runtime.enable, --enable-automation, and console leaks). Enforces official Google Chrome in genuine headed mode (headless: false) inside an isolate...
  • ⚡ Pre-Warmed Persistent Pool (<100ms Tab Acquisition): Browser context is pre-warmed at server boot with a persistent user profile (launchPersistentContext), retaining DNS, TLS session tickets, V8 bytecode, and consent cookies for 38–50% faster navig...
  • 🔄 Universal Regex-Free Semantic DOM Unfolding & Auto-Scroll: Handles complex e-commerce, SPA, and XHR-heavy sites (e.g. Tokopedia, Shopee, Reddit). Progressively scrolls, triggers IntersectionObserver lazy-loads, unfolds collapsed sections using univ...
  • 📉 Token-Efficient & High-Density Markdown: Strips token-wasting avatar images, promotional widgets, and redundant blank lines. Compiles clean GitHub Flavored Markdown via Unified AST (linkedom + @mozilla/readability + rehype-remark + remark-gfm).
  • 🛡️ Zero-Trust SSRF Defense: Rejects loopback (127.0.0.0/8, ::1), RFC 1918 private subnets (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), link-local metadata (169.254.169.254, metadata.google.internal), and non-HTTP protocols.
  • 🌍 Universal Cross-Platform Architecture: Runs identically across macOS, Windows, and Linux via Docker with zero host dependencies and zero physical screen interference.
  • 🏥 Real Liveness & Readiness Probing: Provides real subsystem health metrics over both MCP STDIO (healthCheck) and native HTTP REST (GET /health with HTTP 200/503 status codes for Kubernetes / Docker).

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

OCI package ghcr.io/shukoilab/web-research-mcp:2.4.1
Claude Code
claude mcp add web-research-mcp-server -e 'PORT=3000' -e 'HTTP_PROXY=<your http_proxy>' -e 'BROWSER_USER_DATA_DIR=~/.cache/mcp-web-research/chrome-profile' -e 'BROWSER_TIMEOUT_MS=30000' -e 'MAX_CONCURRENT_PAGES=5' -e 'MAX_REQUESTS_BEFORE_RECYCLE=1000' -e 'MAX_CONTENT_LENGTH=5242880' -e 'NETWORK_IDLE_TIMEOUT_MS=5000' -e 'SCROLL_DELAY_MS=500' -e 'SCROLL_STEP_PX=1000' -e 'SCROLL_SETTLE_TIMEOUT_MS=500' -e 'MAX_SCROLL_STEPS=6' -e 'SEARCH_WAIT_TIMEOUT_MS=10000' -e 'READABILITY_CHAR_THRESHOLD=20' -- docker run -i --rm ghcr.io/shukoilab/web-research-mcp:2.4.1
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "web-research-mcp-server": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/shukoilab/web-research-mcp:2.4.1"
            ],
            "env": {
                "PORT": "3000",
                "HTTP_PROXY": "<your http_proxy>",
                "BROWSER_USER_DATA_DIR": "~/.cache/mcp-web-research/chrome-profile",
                "BROWSER_TIMEOUT_MS": "30000",
                "MAX_CONCURRENT_PAGES": "5",
                "MAX_REQUESTS_BEFORE_RECYCLE": "1000",
                "MAX_CONTENT_LENGTH": "5242880",
                "NETWORK_IDLE_TIMEOUT_MS": "5000",
                "SCROLL_DELAY_MS": "500",
                "SCROLL_STEP_PX": "1000",
                "SCROLL_SETTLE_TIMEOUT_MS": "500",
                "MAX_SCROLL_STEPS": "6",
                "SEARCH_WAIT_TIMEOUT_MS": "10000",
                "READABILITY_CHAR_THRESHOLD": "20"
            }
        }
    }
}

Environment variables

  • PORT HTTP port for streamable MCP and health check endpoints (default: 3000)
  • HTTP_PROXY secret Optional HTTP/HTTPS proxy URI (e.g. http://user:pass@host:port)
  • BROWSER_USER_DATA_DIR Persistent directory storing Chrome profile, cookies, and cache
  • BROWSER_TIMEOUT_MS Default navigation timeout in milliseconds
  • MAX_CONCURRENT_PAGES Maximum simultaneous browser tabs allowed by semaphore
  • MAX_REQUESTS_BEFORE_RECYCLE Lifetime requests before background browser restart to prevent RAM fragmentation
  • MAX_CONTENT_LENGTH Upper bound memory guard in bytes against massive HTML payloads
  • NETWORK_IDLE_TIMEOUT_MS Maximum wait time in ms for initial network stabilization before scrolling
  • SCROLL_DELAY_MS Debounce delay in ms after each scroll and semantic unfolding step
  • SCROLL_STEP_PX Distance in pixels per scroll increment
  • SCROLL_SETTLE_TIMEOUT_MS Final quiet period in ms after scroll loop completes
  • MAX_SCROLL_STEPS Maximum scroll iterations for lazy content hydration and DOM convergence
  • SEARCH_WAIT_TIMEOUT_MS Maximum wait time in ms for Google SERP cards to render before parsing results
  • READABILITY_CHAR_THRESHOLD Minimum character length for Mozilla Readability article scoring

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. 🎭 MCP Web Research Server
  2. 🌟 Key Architectural Features
  3. 🌍 Universal Cross-Platform Execution
  4. ⚙️ 12-Factor Configuration Reference
  5. 🚀 Client Installation & Setup Guide
  6. 🛠️ MCP Tools Catalog
  7. 🧪 Testing & Verification
  8. 🙏 Acknowledgements & Open-Source Credits
  9. 📄 License

🎭 MCP Web Research Server

Enterprise-Grade, Ultra-Fast, and Production-Ready Web Research Model Context Protocol (MCP) Server.
Engineered for AI coding agents and autonomous workflows requiring high-accuracy Google Search and high-density, token-efficient webpage content extraction with undetectable anti-bot evasion.


🌟 Key Architectural Features

  • 🎭 100% Undetectable Headed Stealth on Display :99: Built on Patchright (patched driver eliminating Runtime.enable, --enable-automation, and console leaks). Enforces official Google Chrome in genuine headed mode (headless: false) inside an isolated X11 virtual framebuffer (:99) adhering strictly to Patchright's official Zero-Injection Best Practice (zero custom args, zero custom user-agent, zero header tampering). Guarantees 100% authentic consumer browser window metrics and extensions state with zero desktop window pop-ups or focus-stealing on the host OS.
  • ⚡ Pre-Warmed Persistent Pool (<100ms Tab Acquisition): Browser context is pre-warmed at server boot with a persistent user profile (launchPersistentContext), retaining DNS, TLS session tickets, V8 bytecode, and consent cookies for 38–50% faster navigations.
  • 🔄 Universal Regex-Free Semantic DOM Unfolding & Auto-Scroll: Handles complex e-commerce, SPA, and XHR-heavy sites (e.g. Tokopedia, Shopee, Reddit). Progressively scrolls, triggers IntersectionObserver lazy-loads, unfolds collapsed sections using universal W3C WAI-ARIA standards (aria-expanded="false", data-state="closed", aria-controls) and native HTML5 <details> disclosures with zero language-locking, unclamps CSS line-clamping, and stops when DOM height converges.
  • 📉 Token-Efficient & High-Density Markdown: Strips token-wasting avatar images, promotional widgets, and redundant blank lines. Compiles clean GitHub Flavored Markdown via Unified AST (linkedom + @mozilla/readability + rehype-remark + remark-gfm).
  • 🛡️ Zero-Trust SSRF Defense: Rejects loopback (127.0.0.0/8, ::1), RFC 1918 private subnets (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), link-local metadata (169.254.169.254, metadata.google.internal), and non-HTTP protocols.
  • 🌍 Universal Cross-Platform Architecture: Runs identically across macOS, Windows, and Linux via Docker with zero host dependencies and zero physical screen interference.
  • 🏥 Real Liveness & Readiness Probing: Provides real subsystem health metrics over both MCP STDIO (healthCheck) and native HTTP REST (GET /health with HTTP 200/503 status codes for Kubernetes / Docker).

🌍 Universal Cross-Platform Execution

Thanks to hermetic Docker containerization, mcp-web-research runs with 100% feature parity across all operating systems without any host configuration:

Host PlatformSupport LevelDisplay & Stealth EngineWindow Behavior
macOS (Apple Silicon & Intel)✅ UniversalVirtual Framebuffer (:99) + Zero-Injection StealthZero Desktop Pop-ups (Rendered in container)
Windows (10 / 11 / Server)✅ UniversalVirtual Framebuffer (:99) + Zero-Injection StealthZero Desktop Pop-ups (Rendered in container)
Linux (Ubuntu / Debian / RHEL)✅ UniversalVirtual Framebuffer (:99) + Zero-Injection StealthZero Desktop Pop-ups (Rendered in container)

Anti-Bot Invariant: The browser strictly runs in genuine headed mode (headless: false) inside the virtual framebuffer :99. End users will never see desktop pop-up windows, yet anti-bot inspection systems detect 100% authentic consumer desktop Chrome behavior.


⚙️ 12-Factor Configuration Reference

All settings can be configured via environment variables. Universal defaults are applied automatically if unset:

VariableTypeDefaultDescription
HOSTstring127.0.0.1Network interface address to bind HTTP service. Binding to non-loopback requires non-empty MCP_API_KEY.
PORTinteger3000HTTP port for streamable MCP and health check endpoints.
ALLOWED_HOSTSstringlocalhost,127.0.0.1Comma-separated list or wildcard (*) of allowed Host headers for DNS-rebinding protection.
ALLOWED_ORIGINSstringlocalhost,127.0.0.1Comma-separated list or wildcard (*) of allowed Origin headers for CORS security.
MCP_API_KEY / API_KEYstringundefinedSecret token(s) for HTTP API protection (comma-separated for key rotation). Mandatory if HOST is non-loopback. Empty value causes fail-fast exit.
HTTP_PROXYstringundefinedOptional HTTP/HTTPS proxy URI (e.g. http://user:pass@host:port).
BROWSER_USER_DATA_DIRstring~/.cache/mcp-web-research/chrome-profilePersistent directory storing Chrome cache, cookies, and session state.
BROWSER_TIMEOUT_MSinteger30000Default navigation timeout in milliseconds.
REQUEST_BUDGET_MSinteger60000Total time budget for single URL extraction (5000–300000 ms).
DEEP_RESEARCH_BUDGET_MSinteger240000Total time budget for multi-source deep research batch (10000–600000 ms).
PAGE_TIMEOUT_MSinteger30000Per-page navigation timeout limit (1000–120000 ms).
MIN_PAGE_BUDGET_MSinteger5000Minimum remaining budget threshold required before visiting next page (500–60000 ms).
STABILIZE_TIMEOUT_MSinteger3000Maximum time to wait for DOM readyState and URL settling (0–10000 ms).
SETTLE_POLL_MSinteger150Polling interval in ms for document stability detection (50–1000 ms).
MAX_REDIRECTSinteger10Maximum HTTP redirect hops allowed before classifying as redirect loop (0–20).
MAX_MARKDOWN_CHARSinteger100000Character ceiling for serialized Markdown output (1000–1000000).
MAX_CONCURRENT_PAGESinteger5Maximum simultaneous browser tabs allowed by semaphore.
MAX_QUEUE_LENGTHinteger50Maximum waiting requests in semaphore queue before rejecting with HTTP 429 (1–1000).
MAX_RESULTS_PER_HOSTinteger2Maximum extracted search results permitted from a single domain in deep research (1–10).
DEFAULT_HTML_CHARSETstringutf-8Default charset fallback for bare text/html documents without charset header.
DNS_CACHE_TTL_MSinteger60000In-memory DNS resolution cache TTL in milliseconds (0–600000 ms).
GOOGLE_SEARCH_BASEstringhttps://www.google.com/searchGoogle search base URL endpoint.
UNFOLD_INTERACTIVEbooleanfalseOpt-in to interactively unfold closed accordion buttons and ARIA controls inside main/article.
MAX_REQUESTS_BEFORE_RECYCLEinteger1000Lifetime requests before background browser restart to prevent RAM fragmentation.
MAX_CONTENT_LENGTHinteger5242880 (5MB)Upper bound memory guard against massive HTML payloads.
NETWORK_IDLE_TIMEOUT_MSinteger5000Maximum wait time in ms for initial network stabilization before scrolling.
SCROLL_DELAY_MSinteger500Debounce delay in ms after each scroll step (increase to 1000–2000 for slow networks).
SCROLL_STEP_PXinteger1000Distance in pixels per scroll increment.
SCROLL_SETTLE_TIMEOUT_MSinteger500Final quiet period in ms after scroll loop completes.
MAX_SCROLL_STEPSinteger6Maximum scroll loop iterations for lazy content hydration.
SEARCH_WAIT_TIMEOUT_MSinteger10000Maximum wait time in ms for Google SERP cards to render before parsing results.
READABILITY_CHAR_THRESHOLDinteger20Minimum character length for Mozilla Readability article scoring.

🚀 Client Installation & Setup Guide

1. Quick Start (Loopback Only, No API Key)

The service binds 127.0.0.1 by default, so it is reachable from the host only through host networking:

docker run -d --network host --shm-size=1gb --name web-research-mcp --restart unless-stopped ghcr.io/shukoilab/web-research-mcp:latest

Serves http://127.0.0.1:3000/mcp without authentication. Because host networking shares the host's X11 socket namespace, pass -e XVFB_DISPLAY=:100 when the host already runs an X server or Xvfb on :99.

Tip on Custom Ports: With host networking, override the listen port directly via -e PORT=3031 (then use http://127.0.0.1:3031/mcp). To publish through -p on a bridge network instead, you must also set -e HOST=0.0.0.0 and a non-empty -e MCP_API_KEY=..., as shown in the next section.

2. Production VPS Deployment with Full Configuration Knobs

Customize any operational parameter directly at runtime via environment variables (-e). You do not need to modify or rebuild the Dockerfile:

docker run -d \
  --name web-research-mcp \
  --restart unless-stopped \
  --shm-size=1gb \
  -p 3000:3000 \
  -e HOST="0.0.0.0" \
  -e PORT="3000" \
  -e ALLOWED_HOSTS="*" \
  -e ALLOWED_ORIGINS="*" \
  -e MCP_API_KEY="sk-your-secret-api-key" \
  -e HTTP_PROXY="" \
  -e BROWSER_TIMEOUT_MS="30000" \
  -e MAX_CONCURRENT_PAGES="5" \
  -e MAX_REQUESTS_BEFORE_RECYCLE="1000" \
  -e MAX_CONTENT_LENGTH="5242880" \
  -e NETWORK_IDLE_TIMEOUT_MS="5000" \
  -e SCROLL_DELAY_MS="500" \
  -e SCROLL_STEP_PX="1000" \
  -e SCROLL_SETTLE_TIMEOUT_MS="500" \
  -e MAX_SCROLL_STEPS="6" \
  -e SEARCH_WAIT_TIMEOUT_MS="10000" \
  -e READABILITY_CHAR_THRESHOLD="20" \
  ghcr.io/shukoilab/web-research-mcp:latest
3. Using an Environment File (--env-file)

Keep sensitive keys and parameters organized in a local .env file:

docker run -d \
  -p 3000:3000 \
  --shm-size=1gb \
  --env-file .env \
  --name web-research-mcp \
  --restart unless-stopped \
  ghcr.io/shukoilab/web-research-mcp:latest
4. Docker Compose Deployment (docker-compose.yml)

For automated restarts, VPS orchestration, and persistent stacks:

version: '3.8'

services:
  web-research-mcp:
    image: ghcr.io/shukoilab/web-research-mcp:latest
    container_name: web-research-mcp
    restart: unless-stopped
    shm_size: 1gb
    ports:
      - "3000:3000"
    environment:
      # Network & Security
      - HOST=0.0.0.0
      - PORT=3000
      - ALLOWED_HOSTS=*
      - ALLOWED_ORIGINS=*
      - MCP_API_KEY=sk-your-secret-api-key
      # Browser Performance & Tuning
      - BROWSER_TIMEOUT_MS=30000
      - MAX_CONCURRENT_PAGES=5
      - MAX_REQUESTS_BEFORE_RECYCLE=1000
      - MAX_CONTENT_LENGTH=5242880
      - NETWORK_IDLE_TIMEOUT_MS=5000
      - SCROLL_DELAY_MS=500
      - SCROLL_STEP_PX=1000
      - SCROLL_SETTLE_TIMEOUT_MS=500
      - MAX_SCROLL_STEPS=6
      - SEARCH_WAIT_TIMEOUT_MS=10000
      - READABILITY_CHAR_THRESHOLD=20
  • MCP Endpoint: http://localhost:3000/mcp (Streamable HTTP transport)
  • Healthcheck Probe: GET http://localhost:3000/health (HTTP 200/503)
5. Connecting AI Clients with Optional Authentication

In Cursor / OpenCode (opencode.json / remote MCP settings):

{
  "type": "remote",
  "url": "http://your-vps-ip:3000/mcp",
  "headers": {
    "Authorization": "Bearer sk-your-secret-api-key"
  }
}

Testing via cURL:

# Public liveness healthcheck probe (always unauthenticated)
curl -s http://localhost:3000/health

# MCP request with Bearer Token (or X-API-Key header)
curl -s -X POST http://localhost:3000/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-your-secret-api-key" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"curl-client","version":"1.0.0"}}}'

Runs inside the sealed container without needing Node.js or Chrome installed on the host machine:

Claude Desktop

Add to your claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "web-research": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--init",
        "--shm-size=1gb",
        "ghcr.io/shukoilab/web-research-mcp:latest",
        "node",
        "dist/entries/mcp-stdio.js"
      ]
    }
  }
}
Cursor IDE

Add to ~/.cursor/mcp.json (or via Cursor Settings > Features > MCP):

{
  "mcpServers": {
    "web-research": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--init",
        "--shm-size=1gb",
        "ghcr.io/shukoilab/web-research-mcp:latest",
        "node",
        "dist/entries/mcp-stdio.js"
      ]
    }
  }
}
OpenCode

Add to your opencode.json (or profile config):

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "web-research": {
      "type": "local",
      "command": [
        "docker",
        "run",
        "-i",
        "--rm",
        "--init",
        "--shm-size=1gb",
        "ghcr.io/shukoilab/web-research-mcp:latest",
        "node",
        "dist/entries/mcp-stdio.js"
      ]
    }
  }
}
VS Code (Cline / Roo Code / Claude Dev)
{
  "mcpServers": {
    "web-research": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--init",
        "--shm-size=1gb",
        "ghcr.io/shukoilab/web-research-mcp:latest",
        "node",
        "dist/entries/mcp-stdio.js"
      ],
      "disabled": false,
      "autoApprove": []
    }
  }
}

Option 3: Local Node.js Development & STDIO Execution

For local development or environments with Node.js 20+ installed:

# Build the project
pnpm install
pnpm run build

# Start the Streamable HTTP server on port 3000
pnpm run start

Or invoke STDIO locally:

{
  "mcpServers": {
    "web-research": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-web-research/dist/entries/mcp-stdio.js"]
    }
  }
}

🛠️ MCP Tools Catalog

1. googleSearch (googleSearchAction)

Executes organic web search on Google using stealth Chrome with automatic consent dialog bypass, breadcrumb canonicalization, and rich snippet extraction. Acts as Step 1 (Discovery & Triage) in agent research workflows, returning candidate URLs and preview snippets.

Input Parameters:

  • query (string, required, 1..500 chars): Search keywords or phrases. Supports Google Dorking operators for high-precision queries (e.g. site:github.com "patchright" inurl:releases, filetype:pdf "machine learning", intitle:"API docs").
  • limit (integer, optional, 1..50, default: 10): Maximum organic results.
  • language (string, optional, default: "en"): Language code (e.g. "en", "id").
  • country (string, optional, default: "us"): Geolocation region code (e.g. "us", "id").
  • safeSearch (boolean, optional, default: true): SafeSearch adult filter.

Example Tool Response:

{
  "query": "typescript documentation",
  "totalReturned": 2,
  "results": [
    {
      "title": "The starting point for learning TypeScript",
      "url": "https://www.typescriptlang.org/docs",
      "redirectUrl": "https://www.google.com/goto?url=...",
      "snippet": "TypeScript extends JavaScript by adding types to the language..."
    }
  ],
  "timestamp": "2026-11-20T00:00:00.000Z"
}

2. webExtract (webExtractAction)

Navigates to any target URL, executes intelligent progressive scrolling to trigger lazy XHR/SPA content (prices, reviews, specs), unfolds collapsed content using universal W3C ARIA standards and native HTML5 disclosures, unclamps visual CSS line-clamping, and serializes clean GitHub Flavored Markdown. Acts as Step 2 (Deep Content Reader) following googleSearch or as Step 1 for direct URLs.

Input Parameters:

  • url (string, required, format: "uri", 1..2048 chars): Target website URL (http:// or https://). Accepts direct URLs or canonical URLs discovered via googleSearch.
  • smartScroll (boolean, optional, default: true): Enable automated progressive scroll, semantic unfolding, and XHR stabilization.
  • ultraFast (boolean, optional, default: false): Block images, external CSS, fonts, media, and manifest (JS + XHR still run) for faster extraction on image-heavy pages.
  • scrollDelayMs (integer, optional, 100..5000, default: 500): Debounce wait time in milliseconds after each scroll step (increase to 1000–2000ms for slow networks).
  • maxScrolls (integer, optional, 0..20, default: 6): Maximum scroll step iterations for lazy content hydration and DOM convergence.
  • timeoutMs (integer, optional, 1000..60000, default: 30000): Maximum navigation deadline.

Example Tool Response:

{
  "url": "https://www.tokopedia.com/kyo-official/ssd-kyo-kaizen-m-2-nvme-512gb-pcie-gen3-x4-2280-ssd-nvme-gen-3",
  "title": "SSD KYO KAIZEN M.2 NVMe 512GB PCIe Gen3 x4 2280 SSD NVMe Gen 3",
  "byline": "KYO Indonesia",
  "excerpt": "KAIZEN diambil dari bahasa Jepang untuk perbaikan berkelanjutan...",
  "markdown": "## SSD KYO KAIZEN M.2 NVMe 512GB...\n\n**Harga:** Rp1.626.050\n**Stok:** 451\n\n### Spesifikasi Lengkap:\n- Tipe: M.2 NVMe PCIe 3 x4\n- Kapasitas: 512GB\n\n## ULASAN PEMBELI\n- **Andri:** Barang diterima dengan baik dan cepat...",
  "timestamp": "2026-11-20T00:00:00.000Z"
}

3. deepResearch (deepResearchAction)

Executes comprehensive, multi-source deep web research in a single call. Conducts Google Search, extracts top-N canonical search results sequentially into clean GitHub Flavored Markdown, filters boilerplate and anti-bot walls, and truncates results within strict per-result and total token budgets.

When to Use:

  • Use deepResearch when you need full article content or synthesis across multiple sources for a research topic in one round-trip.
  • Use googleSearch when exploring queries, triaging candidate URLs, or needing snippets only.
  • Use webExtract when the target URL is already known and requires surgical single-page extraction.

Input Parameters:

  • query (string, required, 1..500 chars): Search keywords or research query.
  • limit (integer, optional, 1..10, default: 5): Maximum search results to extract sequentially.
  • language (string, optional, default: "en"): Language code (e.g. "en", "id").
  • country (string, optional, default: "us"): Geolocation region code (e.g. "us", "id").
  • safeSearch (boolean, optional, default: true): SafeSearch adult filter.
  • ultraFast (boolean, optional, default: true): Block images, external CSS, fonts, and media. Defaults to true for deep research to maximize extraction throughput (set false if target pages gate content behind CSS visibility).
  • smartScroll (boolean, optional, default: true): Automatically scroll and wait for lazy-loaded XHR data to settle.
  • scrollDelayMs (integer, optional, 100..5000, default: 500): Debounce wait time in milliseconds after each scroll step.
  • maxScrolls (integer, optional, 0..20, default: 6): Maximum scroll step iterations for lazy content hydration.
  • timeoutMs (integer, optional, 1000..60000, default: 30000): Per-page navigation timeout in milliseconds.
  • maxCharsPerResult (integer, optional, 1000..100000, default: 20000): Maximum character length per extracted article before truncation.
  • maxTotalChars (integer, optional, 10000..500000, default: 100000): Maximum total character budget across all extracted articles.

Example Tool Response:

{
  "query": "patchright vs playwright",
  "totalFound": 2,
  "totalReturned": 2,
  "excludedCount": 0,
  "errors": [],
  "results": [
    {
      "title": "Patchright Documentation",
      "url": "https://github.com/Kaliiiiiiiiii-Vinyzu/patchright",
      "markdown": "# Patchright\n\nThe undetected driver for browser automation...",
      "truncated": false
    }
  ],
  "timestamp": "2026-11-22T14:00:00.000Z"
}

Invariant Guarantee: totalReturned + excludedCount === totalFound is guaranteed on every call. If any URL fails navigation, SSRF verification, or content extraction, it is discarded into errors[] with a short coded reason (ssrf_blocked, invalid_url, timeout, empty_content, budget_exceeded), allowing the remaining batch to complete reliably.


4. healthCheck (healthAction)

Inspects real-time subsystem readiness, browser pool connectivity, active concurrency, and memory consumption.

Example Output:

{
  "status": "healthy",
  "timestamp": "2026-11-20T00:00:00.000Z",
  "uptimeSec": 1240,
  "browser": {
    "connected": true,
    "prewarmed": true,
    "activeTabs": 0,
    "maxCapacity": 5,
    "requestCount": 42,
    "userDataDir": "/home/shukoi/.cache/mcp-web-research/chrome-profile"
  },
  "display": ":99",
  "memory": {
    "heapUsedMb": 64.25,
    "rssMb": 182.10
  }
}

🧪 Testing & Verification

Run the full automated verification pipeline:

# Execute unit and live integration tests (68+ tests)
pnpm test

# Verify strict TypeScript type-safety (0 errors)
pnpm run typecheck

# Check formatting and static quality (Biome)
pnpm run lint

# Compile production build to ./dist
pnpm run build

🙏 Acknowledgements & Open-Source Credits

This project is built on top of an incredible open-source ecosystem. Sincere gratitude and credits go to the creators and maintainers of the following foundations:

  • Patchright — Undetected browser automation driver eliminating CDP leaks, --enable-automation, and runtime flags for genuine consumer fingerprints.
  • Shukoi Framework (@shukoi/core, @shukoi/mcp) — Modular TypeScript runtime framework powering MCP action dispatching and Web-Standard transport.
  • Hono (hono, @hono/node-server) — Ultra-fast, lightweight Web-Standard HTTP framework powering Streamable HTTP transport and native health probes.
  • Model Context Protocol SDK — Official TypeScript SDK implementing the MCP specification across STDIO and Streamable HTTP transports.
  • Mozilla Readability — Standalone content extraction engine from Mozilla Firefox's Reader View for clean, token-efficient article parsing.
  • LinkeDOM — High-performance, lightweight server-side DOM implementation with near-zero memory footprint.
  • Unified Ecosystem (unified, rehype-parse, rehype-remark, remark-gfm, remark-stringify) — Composable syntax tree (AST) pipeline transforming HTML into high-density GitHub Flavored Markdown.
  • TypeBox — High-performance JSON Schema Type Builder with static type inference enforcing strict input/output contracts.
  • jose — Universal Web Cryptography library for secure token validation and cryptographic operations.
  • Biome & Vitest — Modern development toolchains delivering blazing-fast linting, formatting, and automated testing.

📄 License

MIT © Shukoi Lab

Frequently asked questions

What is Web Research MCP Server?

Stealth Google Search and token-efficient web content extraction with undetected browser automation.

How do I install Web Research MCP Server?

It runs on your machine. In Claude Code: claude mcp add web-research-mcp-server -e 'PORT=3000' -e 'HTTP_PROXY=<your http_proxy>' -e 'BROWSER_USER_DATA_DIR=~/.cache/mcp-web-research/chrome-profile' -e 'BROWSER_TIMEOUT_MS=30000' -e 'MAX_CONCURRENT_PAGES=5' -e 'MAX_REQUESTS_BEFORE_RECYCLE=1000' -e 'MAX_CONTENT_LENGTH=5242880' -e 'NETWORK_IDLE_TIMEOUT_MS=5000' -e 'SCROLL_DELAY_MS=500' -e 'SCROLL_STEP_PX=1000' -e 'SCROLL_SETTLE_TIMEOUT_MS=500' -e 'MAX_SCROLL_STEPS=6' -e 'SEARCH_WAIT_TIMEOUT_MS=10000' -e 'READABILITY_CHAR_THRESHOLD=20' -- docker run -i --rm ghcr.io/shukoilab/web-research-mcp:2.4.1. For other clients, paste the JSON configuration from this page into their MCP settings.

Does Web Research MCP Server need an API key?

Yes. It expects HTTP_PROXY, which you set in its configuration.

Is Web Research MCP Server open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Web Research MCP Server?

It is published by shukoilab. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.