Skip to content
AI Dev Toolkit.
Esc
  • Loading…

MCP server · Docs and web search

Brave Search MCP server

The Brave Search MCP server is Brave’s official MCP server for web search. It lets an assistant search the web, news, images, videos and local places through the Brave Search API. It runs locally with npx and needs a Brave Search API key; queries count against your API plan.

Maintainer
Brave (official)
Licence
MIT
Runs
Locally (npx)
Sign-in
A token or API key
Registry version
2.2.0 (updated 2026-11-19)
Last activity
2026-10-05

Overview

What can the Brave Search MCP server do?

This is Brave’s own MCP server for the Brave Search API. It replaced the older Brave server that once sat in the MCP reference repository, which is now archived. It runs locally through npx or Docker, uses stdio by default and can also serve HTTP. Every call goes to Brave’s API with your key.

It covers web search with filters for country, language, freshness and safe search, plus news, image and video search, local business and place search, an LLM context tool that returns pre-extracted page content for grounding, and a summariser that turns a web search into an AI summary. Some features, such as full local search and extra snippets, need a Pro plan. You can limit which tools load with BRAVE_MCP_ENABLED_TOOLS or BRAVE_MCP_DISABLED_TOOLS. Pick it when you want an independent search index and a clear, documented tool set.

Tools

Tools it gives the assistant

  • Web search with country, language, freshness and safe search filters
  • News, image and video search
  • Local business and point-of-interest search
  • LLM context: pre-extracted web content for grounding
  • AI summaries of web search results
  • Tool allow and block lists

Install

How do I install Brave Search MCP in Claude Code, Cursor or VS Code?

You need:

  • Node.js with npx
  • A Brave Search API account and API key

Run in your project. --scope local keeps the servers private to you in this project; use user for every project.

Terminal
claude mcp add --env BRAVE_API_KEY="${BRAVE_API_KEY}" --scope local brave-search -- npx -y @brave/brave-search-mcp-server --transport stdio
Native Windows (PowerShell)
claude mcp add --env BRAVE_API_KEY="$env:BRAVE_API_KEY" --scope local brave-search -- cmd /c npx -y '@brave/brave-search-mcp-server' --transport stdio
  • Set BRAVE_API_KEY first, e.g. export BRAVE_API_KEY=… in your shell. The command saves the value, not the variable.

Need another app? Open Brave Search MCP Server in the MCP config generator for a shared project .mcp.json, Devin, or several servers at once; it writes one file per app. The snippets follow the setup in the server’s README, checked on 2026-10-14.

Is the Brave Search MCP server safe? Check before you install

  • Queries go to Brave’s API and count against your plan; it has no access to local files.
  • The HTTP mode is unauthenticated and binds to 127.0.0.1 by default; only set BRAVE_MCP_HOST to 0.0.0.0 on a trusted network.
  • Use BRAVE_API_KEY_FILE to read the key from a mounted secret instead of an environment variable.
  • A local MCP server runs with your user account’s permissions. Install it only from the source linked above. See how to choose a safe server.

FAQ

Brave Search MCP questions

Is the Brave Search MCP server official?

Yes. Brave publishes and maintains it, under the MIT licence. Install it only from the source linked on this page, not from a copy in another directory.

Is Brave Search MCP server remote or local?

Local. Your MCP app starts it on your machine with npx, and it runs with your user account’s permissions.

Does Brave Search MCP server need an API key or account?

Yes. It needs an API key or token from the service, which you pass as an environment variable or header rather than writing it into the config file. You also need: Node.js with npx; A Brave Search API account and API key.

Why it’s listed

Why we list it

The official server for an independent web index, actively released by Brave and listed in the MCP Registry.

Related

All MCP serversMCP config generatorGuide: MCP servers in Claude CodeGuide: what is MCP?