MCP.so
Sign In

Brave Search MCP Server

@kwp-lab

About Brave Search MCP Server

An MCP server for integrating with the Brave Search API, and it supports HTTP proxying.

Basic information

Category

Search

Runtime

node

Transports

stdio

Publisher

kwp-lab

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "brave-search": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BRAVE_API_KEY",
        "mcp/brave-search"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY_HERE",
        "BRAVE_SEARCH_PROXY": "https://example.com:10890"
      }
    }
  }
}

Tools

2

Execute web searches with pagination and filtering

Search for local businesses and services

Overview

What is Brave Search MCP Server?

Brave Search MCP Server integrates the Brave Search API into MCP (Model Context Protocol) clients, providing both web search and local search capabilities. It is intended for developers and users who need to retrieve search results—general web content or local businesses/services—directly through MCP-compatible tools like Claude Desktop and VS Code.

How to use Brave Search MCP Server?

Obtain a Brave Search API key from the Brave developer dashboard (free tier available, 2 000 queries/month). Then configure your MCP client by adding a server entry using Docker or NPX, setting the BRAVE_API_KEY environment variable and optionally BRAVE_SEARCH_PROXY for proxy support. The server exposes two tools: brave_web_search and brave_local_search.

Key features of Brave Search MCP Server

  • Web search with pagination and freshness controls
  • Local search for businesses, restaurants, and services
  • Smart local search fallback to web when no results found
  • Proxy support via http_proxy/https_proxy or BRAVE_SEARCH_PROXY
  • Flexible result filtering (safety levels, content type)
  • Built on node-fetch-native for robust HTTP handling

Use cases of Brave Search MCP Server

  • Retrieve up-to-date news articles or general information via web search
  • Find nearby businesses, restaurants, or services with detailed information
  • Automatically fall back to web search if local results are unavailable
  • Route search requests through a proxy in restricted network environments

FAQ from Brave Search MCP Server

How do I get a Brave Search API key?

Sign up for a Brave Search API account at brave.com/search/api/, choose a plan, and generate your API key from the developer dashboard.

Is there a free tier for the Brave Search API?

Yes, the free tier includes 2 000 queries per month.

Does Brave Search MCP Server support proxy servers?

Yes. The server automatically uses the http_proxy and https_proxy environment variables if set. You can also set the BRAVE_SEARCH_PROXY environment variable to use a different proxy server.

What are the result limits for the search tools?

For brave_web_search, count can be up to 20 results per page and offset can be up to 9. For brave_local_search, count can be up to 20 results. Both are optional inputs.

What happens if a local search finds no results?

The server automatically falls back to a web search to ensure you still get relevant results.

Comments

More Search MCP servers