Brave Browser MCP Server

Brave Browser MCP Server

Gives AI agents full control over Brave Browser, optimized for local LLMs to ensure low latency and high reliability.

Category
Visit Server

README

🦁 Brave Browser MCP Server

A powerful Model Context Protocol (MCP) server that gives AI agents full control over your Brave Browser. Unlike standard automation, this server is optimized for local LLMs (like Qwen3.5 27B) to ensure low latency and high reliability.


⚡ Quick Setup

1. Install dependencies

pip install mcp[cli] playwright
playwright install chromium

Note: Even though we use Brave, Playwright needs its driver components to control it.

2. Add to Claude Desktop (or your MCP Host)

Edit your claude_desktop_config.json:

{
  "mcpServers": {
    "brave-browser": {
      "command": "python",
      "args": ["C:/PATH/TO/MCP-Brave-Browser/server.py"]
    }
  }
}

🔧 Optimized Tools (27)

Speed & Discovery (VITAL for Local Models)

Tool Description
page_summary Instant Orientation. Returns Title, H1s, and Meta info. Use this first to save context.
find_elements Targeted Search. Finds specific items by text/URL. Faster than reading a whole page.
snapshot Accessibility Tree. Returns elements with ref=N IDs.

Navigation

Tool Description
navigate Opens a URL.
get_page_info Returns current URL and page title.
tabs List, open, close, or switch tabs.

Page Interaction

Tool Description
click / hover Interact via CSS selector or ref=N from snapshot.
type_text Real-time character typing.
fill_input Instant form filling.
take_screenshot Visual verification (Timestamped in /screenshots).

🚀 Performance Tips (Context & Compute)

If you are using a local 4B-9B model, full page snapshots can be slow. Use these strategies to make it lightning fast:

  1. Filter Noise: Use snapshot(interactive_only=True). This strips out div, section, and nav containers, returning only the interactive elements. It usually reduces context size by 70%.
  2. Scope your Search: Use snapshot(selector="#main-content") to only see a specific part of the page.
  3. Use Summaries First: Instead of taking a snapshot immediately, call page_summary() to understand where you are.
  4. Targeted Discovery: Use find_elements(query="Login") if you just need to find one specific button.

⚙️ Configuration

Setting Default Override
Brave path C:\Program Files\BraveSoftware\Brave-Browser\Application\brave.exe Set BRAVE_EXECUTABLE_PATH env var
Profile Path ./brave_mcp_profile Managed automatically (Persistent sessions)

📦 Dependencies

  • mcp[cli] — FastMCP framework
  • playwright — High-speed browser automation engine

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured