Ad space · Your tool here
PluginStack
MCP Servers · by Brave

Brave Search MCP Server

Brave Search MCP Server official site ↗

Last checked against the official docs:

What it does

Brave's official MCP server for the Brave Search API. It adds web, local, place, image, video and news search tools, plus LLM context and AI summarization. Version 2.x uses stdio by default, with HTTP as an option. MIT licensed.

Who it's for

Builders who want their agent to search the web through an independent search index. Needs a Brave Search API key; some features (like extra snippets and full local search) need a Pro plan.

How to set it up

  1. Sign up for the Brave Search API at brave.com/search/api, pick a plan and create an API key.

  2. Add to your MCP client config:

    json
    {
      "mcpServers": {
        "brave-search": {
          "command": "npx",
          "args": [
            "-y",
            "@brave/brave-search-mcp-server",
            "--transport",
            "stdio"
          ],
          "env": {
            "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
          }
        }
      }
    }
  3. Docker also works with the image mcp/brave-search (see the README).

Check the official Brave Search MCP Server docs for the latest steps.

Install Brave Search MCP Server in your client

Runs on your computer. Needs: Node.js (runs with npx). Sign-in or keys: Brave Search API key.

No one-click install for this one: the snippet has a placeholder (like an API key or a folder path) that you need to fill in first, so copy it below and edit it.

Claude Code

Run in a terminal

bash
claude mcp add --env BRAVE_API_KEY=YOUR_API_KEY_HERE --transport stdio brave-search -- npx -y @brave/brave-search-mcp-server --transport stdio

Everything after -- is the server command. Run /mcp inside Claude Code to check it connected.

Claude Desktop

Settings → Developer → Edit Config (claude_desktop_config.json)

json
{
  "mcpServers": {
    "brave-search": {
      "command": "npx",
      "args": [
        "-y",
        "@brave/brave-search-mcp-server",
        "--transport",
        "stdio"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Fully quit and reopen Claude Desktop after saving.

Cursor

.cursor/mcp.json in a project, or ~/.cursor/mcp.json for all projects

json
{
  "mcpServers": {
    "brave-search": {
      "command": "npx",
      "args": [
        "-y",
        "@brave/brave-search-mcp-server",
        "--transport",
        "stdio"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}
VS Code

.vscode/mcp.json (note the top-level "servers" key)

json
{
  "servers": {
    "brave-search": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@brave/brave-search-mcp-server",
        "--transport",
        "stdio"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}
Codex

Run in a terminal, or edit ~/.codex/config.toml

CLI

bash
codex mcp add brave-search --env BRAVE_API_KEY=YOUR_API_KEY_HERE -- npx -y @brave/brave-search-mcp-server --transport stdio

Or in ~/.codex/config.toml

toml
[mcp_servers.brave-search]
command = "npx"
args = ["-y", "@brave/brave-search-mcp-server", "--transport", "stdio"]

[mcp_servers.brave-search.env]
BRAVE_API_KEY = "YOUR_API_KEY_HERE"

Checked against the official docs. Snippets use placeholders; keep real keys out of files you commit. Windsurf is not listed because we have not verified its format.

Set it up / Fixes

Step-by-step guides for getting Brave Search MCP Server running and fixing common errors.

Example prompts

prompt
Search the web for the latest Next.js release notes and summarize them.
prompt
Find recent news about MCP security and list the sources.
prompt
Search for coffee shops near Denver, CO and give me the top 5.

Made Brave Search MCP Server? Add the badge

If you like, show that Brave Search MCP Server is listed and hand-checked here. It's optional: listings are free and we never ask for a link back.

Hand-checked on PluginStack
Get the Markdown or HTML

Markdown (for a GitHub README)

markdown
[![Hand-checked on PluginStack](https://www.pluginstackai.com/badge/hand-checked.svg)](https://www.pluginstackai.com/plugins/brave-search-mcp/)

HTML (for a website)

html
<a href="https://www.pluginstackai.com/plugins/brave-search-mcp/"><img src="https://www.pluginstackai.com/badge/hand-checked.svg" alt="Hand-checked on PluginStack" width="226" height="28"></a>

About the badge

Free: MCP Starter Checklist

After you set this tool up, use the one-page checklist so your next MCP server doesn't fail on first connect.

Markdown download + occasional PluginStack updates. No spam. Privacy policy.

See all MCP Servers on PluginStack