Skip to main content

Overview

The Hyperbrowser MCP server provides a standardized interface for AI models to access powerful web automation capabilities like scraping, structured extraction, and crawling. You can find the server implementation on GitHub: hyperbrowserai/mcp. With the Hyperbrowser MCP, Claude can browse the web With the Hyperbrowser MCP, Claude can browse the web.

Installation

Prerequisites

  • Node.js (v14 or later)
  • npm or yarn

Setup

  1. Install the Hyperbrowser MCP server:

Configuration

Client Setup

Configure your MCP client to launch the Hyperbrowser MCP server:

Alternative: Shell Script Wrapper

For clients that don’t support an env field (for example, Cursor):
Create run_server.sh and add your API key:

Tools

Scrape Webpage

Retrieve content from a URL in various formats.
  • Method: scrape_webpage
  • Parameters:
    • url: string – The URL to scrape
    • outputFormat: string[] – Output formats (markdown, html, links, screenshot)
    • apiKey: string (optional) – API key override
    • sessionOptions: object (optional) – Browser session configuration
Example:

Extract Structured Data

Extract data from webpages according to a prompt and optional schema.
  • Method: extract_structured_data
  • Parameters:
    • urls: string[] – URLs to extract from (supports wildcards)
    • prompt: string – Instructions for extraction
    • schema: object (optional) – JSON schema for extracted data
    • apiKey: string (optional) – API key override
    • sessionOptions: object (optional) – Browser session configuration
Example:

Crawl Webpages

Navigate through multiple pages on a site, optionally following links.
  • Method: crawl_webpages
  • Parameters:
    • url: string – Starting URL
    • outputFormat: string[] – Desired output formats
    • followLinks: boolean – Whether to follow links
    • maxPages: number (default: 10) – Max pages to crawl
    • ignoreSitemap: boolean (optional) – Skip the site’s sitemap
    • apiKey: string (optional) – API key override
    • sessionOptions: object (optional) – Browser session configuration
Example:

Session Options

All tools support these common session configuration options:
  • useStealth: boolean – Make browser detection more difficult
  • useProxy: boolean – Route traffic through proxies
  • solveCaptchas: boolean – Automatically solve CAPTCHA challenges
  • acceptCookies: boolean – Automatically handle cookie consent popups