Skip to main content
Glama
browser-research-mcp

browser-research-mcp

browser-research-mcp

Browser-based research as an MCP server. Drives a real Chromium via patched Playwright (patchright) so the agent can read JavaScript-rendered tables, dynamic charts, login-walled dashboards, and AJAX dropdowns that the cheaper rungs of the fetch ladder can't reach.

This is the last rung of the ladder:

web_search → web_fetch → pdf_fetch → http_post_form → browser-research

Tools

Tool

Purpose

visit(url, …)

Open a URL with Chromium, return DOM text + screenshot. Cheap, no LLM call.

extract(url, focus, …)

visit + Sonnet structured extraction. Same response shape as pdf_fetch_structured. Sends the screenshot to Sonnet so chart values drawn via canvas/SVG get picked up.

Related MCP server: Browser MCP

Why patchright

patchright is a drop-in Apache-2.0 patched Playwright that disables the AutomationControlled blink feature, removes Runtime.enable leaks, and a few other detection vectors. Indian government dashboards (PPAC, RBI, MoSPI, SEBI) work fine with this without paying for residential proxies or a hosted browser SaaS.

Run locally

uv tool install browser-research-mcp --python 3.12
# Install Chromium for patchright (one-off):
uv tool run patchright install chromium

# stdio (Claude Desktop / Cursor / desktop clients):
ANTHROPIC_API_KEY=… uvx browser-research

# HTTP (the platform backend):
ANTHROPIC_API_KEY=… uvx browser-research --transport streamable-http --port 7862

Environment

Var

Required

Default

ANTHROPIC_API_KEY

for extract (not visit)

—

ANTHROPIC_MODEL

no

claude-sonnet-4-6

HEADLESS

no

true (false to debug locally)

MCP_TRANSPORT

no

stdio

MCP_HOST / PORT

no

0.0.0.0 / 7862

Stack

Layer

Library

Browser engine

patchright (patched Playwright)

Structured extraction

Anthropic Claude Sonnet 4.6, with vision input

MCP transport

mcp[server] FastMCP — stdio / SSE / streamable-http

Session isolation

One Playwright context per MCP client_id

Available Tools

3 tools
actA

Drive a real Chromium through a sequence of steps, then run Sonnet structured extraction on the final state.

Use this when the data is BEHIND an interaction — a Year/Month dropdown that fires AJAX inline, a tab to click, a "Load more" button, a form to submit. visit and extract only read the page as it loaded; act clicks/types/selects first.

Steps are a list of single-key dicts: {"click": "css-selector"} {"fill": {"selector": "#q", "value": "x"}} {"select": {"selector": "#year", "value": "2024-2025"}} {"press": {"selector": "#q", "key": "Enter"}} {"scroll": {"to": "bottom"|"top"|}} {"wait_for_selector": "css-selector"} {"wait_for_load_state": "networkidle"|"load"} {"wait_ms": 1500} {"goto": "https://…"} // mid-flow navigation {"screenshot": {"name": "after-select"}} // logged, not returned

Example — pull PPAC FY2024-25 monthly consumption (a flow that needs the year dropdown change to fire an AJAX request): act( url="https://ppac.gov.in/consumption/products-wise", steps=[ {"wait_for_selector": "#financialYear"}, {"select": {"selector": "#financialYear", "value": "2024-2025"}}, {"wait_for_load_state": "networkidle"}, {"wait_ms": 2000}, ], focus="FY2024-25 monthly LPG, MS, HSD, ATF consumption", )

Returns the same shape as extract PLUS step_results (per-step timing + ok/error) and final_url.

Args: url: Starting page URL. steps: Ordered list of action dicts (vocabulary above). focus: Extraction focus passed to Sonnet. timeout_ms: Per-step navigation / wait timeout. full_page_screenshot: Whether the final screenshot is full-page.

Returns: {url, domain, title, dateline, summary, key_facts[], numeric_values[], dates[], tables_summary[], step_results[], final_url, kind: "browser"}.

Inputs: url (required), steps (required), focus, timeout_ms, +1 more. Returns: object

extractA

Visit a URL → focused Sonnet structured extraction.

Sends BOTH rendered text AND a screenshot to Sonnet — so numbers drawn via canvas / SVG (chart values on PPAC, RBI, NSE dashboards) that don't appear in the DOM still get extracted. Same returned shape as pdf_fetch_structured / web_fetch_structured on authority-web-search-mcp.

Args: url: The page URL. focus: What to extract, e.g. "monthly LPG, MS, HSD consumption for FY2024-25" or "Q4 FY26 EBITDA margin and revenue". wait_for_selector: Optional CSS selector to await (see visit). full_page_screenshot: Default True so charts below the fold are seen.

Returns: {url, domain, title, dateline, summary, key_facts[], numeric_values[], dates[], tables_summary[], kind: "browser"}.

Inputs: url (required), focus, wait_for_selector, full_page_screenshot. Returns: object

visitA

Open a URL with a real Chromium and return its rendered state.

Use when the cheaper fetch tools (web_fetch, pdf_fetch, http_post_form) fail because the page is a SPA, JS-rendered chart, login-walled, or has a dropdown that's not a separate URL.

Args: url: The page URL. wait_for_selector: Optional CSS selector to await before reading the DOM. Use when data appears only after an AJAX call returns — e.g. ".chart svg", "table#monthly tbody tr". wait_extra_ms: Extra settle time after the wait fires (default 1500). timeout_ms: Hard navigation timeout (default 45s). screenshot: Whether to capture a PNG (default True). Adds ~200ms. full_page_screenshot: Scroll-stitch the whole page (default False). text_cap: Cap on extracted text length (default 30000).

Returns: {url, title, domain, text, screenshot_b64, screenshot_bytes, fetched_at, current_date}

Inputs: url (required), wait_for_selector, wait_extra_ms, timeout_ms, +3 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: 'visit' fetches raw page state, 'extract' performs structured extraction on a static page, and 'act' handles interactive flows with extraction. The descriptions explicitly highlight when to use each, leaving no ambiguity.

    Naming Consistency5/5

    All tool names are single imperative verbs ('act', 'extract', 'visit'), following a consistent pattern. While not verb_noun compound names, the style is uniform and predictable.

    Tool Count5/5

    With only 3 tools, the server covers the essential browser automation tasks: raw page access, static extraction, and interactive extraction. The count is well-scoped and avoids unnecessary bloat.

    Completeness4/5

    The tool set covers the core workflows (fetch, extract, interact+extract). A minor gap is the lack of a standalone interaction tool without extraction, but this can be approximated via 'act' with a trivial focus. Overall, the surface feels reasonably complete for browser research.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that enables AI-powered browser automation, web scraping, and testing using Playwright across Chromium, Firefox, and WebKit. It allows users to perform actions like navigation, clicking, typing, and taking screenshots through natural language interfaces.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      An MCP server for browser automation using Puppeteer that enables AI assistants to navigate web pages, interact with UI elements, and capture screenshots. It supports comprehensive web tasks including form filling, content extraction, and executing custom JavaScript within the browser context.
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables browser automation and web scraping by exposing Playwright tools through an HTTP-based MCP server. Users can navigate pages, interact with web elements, capture screenshots, and extract structured content using a persistent Chromium instance.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      MCP server that provides browser automation capabilities through a Chrome extension, enabling terminal-based agents to interact with any website via a live browser session with optimized context.
      1
      508 npm
      3
      Apache 2.0