3D MCP Cursor Visualization
Brave Search MCP Logo - AI-Powered Development Tool for Cursor IDE

Brave Search MCP

Model Context Protocol Integration

Overview

An MCP server implementation that integrates the Brave Search API, providing both web and local search capabilities with smart fallbacks and flexible filtering options.

Brave Search Features

  • Web search with pagination and filtering
  • Local business and service search
  • Smart fallback from local to web search
  • Control result types and safety levels
  • Content freshness controls
  • Flexible result count and pagination
  • News and article search capabilities

Brave Search Setup & Configuration

Requirements

  • Brave Search API account
  • API key (Free tier: 2,000 queries/month)
  • Docker or Node.js
  • Claude Desktop

Installation Instructions

# Docker Installation
docker build -t mcp/brave-search:latest -f src/brave-search/Dockerfile .
docker run -i --rm -e BRAVE_API_KEY mcp/brave-search

# NPX Installation
npx -y @modelcontextprotocol/server-brave-search

Configuration

# Docker Configuration
{
  "mcpServers": {
    "brave-search": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BRAVE_API_KEY",
        "mcp/brave-search"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

# NPX Configuration
{
  "mcpServers": {
    "brave-search": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-brave-search"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Brave Search Available Tools

  • brave_web_search
  • brave_local_search

Brave Search Required Inputs

BRAVE_API_KEY

Type
string
Description
Your Brave Search API key
Required
Yes

query

Type
string
Description
Search terms
Required
Yes

count

Type
number
Description
Results per page (max 20)
Required
No

offset

Type
number
Description
Pagination offset (max 9)
Required
No

Brave Search Use Cases

  • General web search and research
  • Local business discovery
  • News and article retrieval
  • Location-based service search
  • Content filtering and safety controls
  • Paginated search results
  • Fresh content discovery

Frequently Asked Questions

An MCP server implementation that integrates the Brave Search API, providing both web and local search capabilities with smart fallbacks and flexible filtering options.
Brave Search API account, API key (Free tier: 2,000 queries/month), Docker or Node.js, Claude DesktopView detailed requirements
Follow the installation instructions in the setup section above.View installation guide

Brave Search MCP provides the following tools:

  • brave_web_search
  • brave_local_search