BrowserCat MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "BROWSERCAT_API_KEY=${BROWSERCAT_API_KEY}" browsercat-mcp-server -- npx -y @browsercatco/mcp-server
Required:BROWSERCAT_API_KEY
README.md

Cloud-based browser automation for LLMs

BrowserCat MCP Server

A Model Context Protocol server that provides browser automation capabilities using BrowserCat's cloud browser service. This server enables LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment without needing to install browsers locally.

Components

Tools

  • browsercat_navigate
    • Navigate to any URL in the browser
    • Input: url (string)
  • browsercat_screenshot
    • Capture screenshots of the entire page or specific elements
    • Inputs:
      • name (string, required): Name for the screenshot
      • selector (string, optional): CSS selector for element to screenshot
      • width (number, optional, default: 800): Screenshot width
      • height (number, optional, default: 600): Screenshot height
  • browsercat_click
    • Click elements on the page
    • Input: selector (string): CSS selector for element to click
  • browsercat_hover
    • Hover elements on the page
    • Input: selector (string): CSS selector for element to hover
  • browsercat_fill
    • Fill out input fields
    • Inputs:
      • selector (string): CSS selector for input field
      • value (string): Value to fill
  • browsercat_select
    • Select an option from a dropdown menu
    • Inputs:
      • selector (string): CSS selector for select element
      • value (string): Value to select
  • browsercat_evaluate
    • Execute JavaScript in the browser console
    • Input: script (string): JavaScript code to execute

Resources

The server provides access to two types of resources:

  1. Console Logs (console://logs)
    • Browser console output in text format
    • Includes all console messages from the browser
  2. Screenshots (screenshot://<name>)
    • PNG images of captured screenshots
    • Accessible via the screenshot name specified during capture

Key Features

  • Cloud-based browser automation
  • No local browser installation required
  • Console log monitoring
  • Screenshot capabilities
  • JavaScript execution
  • Basic web interaction (navigation, clicking, form filling)

Configuration to use BrowserCat MCP Server

Environment Variables

The BrowserCat MCP server requires the following environment variable:

NPX Configuration

{
  "mcpServers": {
    "browsercat": {
      "command": "npx",
      "args": ["-y", "@browsercatco/mcp-server"],
      "env": {
        "BROWSERCAT_API_KEY": "your-api-key-here"
      }
    }
  }
}

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Tools (7)

browsercat_navigateNavigate to any URL in the browser
browsercat_screenshotCapture screenshots of the entire page or specific elements
browsercat_clickClick elements on the page
browsercat_hoverHover elements on the page
browsercat_fillFill out input fields
browsercat_selectSelect an option from a dropdown menu
browsercat_evaluateExecute JavaScript in the browser console

Environment Variables

BROWSERCAT_API_KEYrequiredYour BrowserCat API key

Configuration

claude_desktop_config.json
{"mcpServers": {"browsercat": {"command": "npx", "args": ["-y", "@browsercatco/mcp-server"], "env": {"BROWSERCAT_API_KEY": "your-api-key-here"}}}}

Try it

Navigate to https://example.com and take a full-page screenshot named 'homepage'.
Fill out the search input field with selector '#search-box' with the value 'MCP servers' and click the submit button.
Execute JavaScript to extract all link URLs from the current page.
Hover over the navigation menu element with selector '.nav-menu' and capture a screenshot of the result.

Frequently Asked Questions

What are the key features of BrowserCat MCP Server?

Cloud-based browser automation without local installation. Full screenshot capabilities for pages or specific elements. JavaScript execution in a real browser environment. Console log monitoring and retrieval. Support for standard web interactions like clicking, hovering, and form filling.

What can I use BrowserCat MCP Server for?

Automated web testing and visual regression monitoring. Extracting data from complex, JavaScript-heavy websites. Generating visual documentation or reports from live web pages. Interacting with web-based tools that require authentication or form submission.

How do I install BrowserCat MCP Server?

Install BrowserCat MCP Server by running: npx -y @browsercatco/mcp-server

What MCP clients work with BrowserCat MCP Server?

BrowserCat MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep BrowserCat MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare