MCP server · Brave
Brave Search MCP Server
Pick it for web and news search from the agent through Brave's independent index; you need a Brave Search API key and queries go to Brave's API.
Tools: 8, ~8,282 tokens of tool definitions loaded into the model's context (default configuration; measured 2026-10-28, v2.1.4). Compare all servers →
All 8 tools, by token cost
- brave_llm_context1,731
- brave_place_search1,525
- brave_local_search1,386
- brave_web_search1,367
- brave_news_search973
- brave_video_search659
- brave_image_search365
- brave_summarizer276
Same server, other documented flags (measured 2026-10-28):
BRAVE_MCP_ENABLED_TOOLS=brave_web_search(web search only (BRAVE_MCP_ENABLED_TOOLS)): 1 tools, ~1,367 tokens (83% less than the default)BRAVE_MCP_ENABLED_TOOLS="brave_web_search brave_llm_context"(web search + LLM context only): 2 tools, ~3,098 tokens (63% less than the default)
Install
`npx -y @brave/brave-search-mcp-server --transport stdio` with BRAVE_API_KEY, or Docker image `mcp/brave-search` (see README). Official install docs ↗
Credentials: BRAVE_API_KEY (or BRAVE_API_KEY_FILE) from a Brave Search API account.
What it can access
Sends your search queries to the Brave Search API (web, local, image, video, news, place search, summarizer and LLM context tools); tools can be limited with BRAVE_MCP_ENABLED_TOOLS / BRAVE_MCP_DISABLED_TOOLS.
Minimal safe setup
- Expose only the tools you use with
BRAVE_MCP_ENABLED_TOOLS(space-separated whitelist) orBRAVE_MCP_DISABLED_TOOLS. Measured: all 8 tools ~8,282 tokens;brave_web_searchalone ~1,367 tokens (−83%); web search +brave_llm_context~3,098 tokens. source ↗ - Keep the key out of config files with
BRAVE_API_KEY_FILE(takes precedence overBRAVE_API_KEY, handy for Docker secrets). source ↗
Common setup errors
- After upgrading from 1.x, a client that connected over HTTP no longer reaches the server.
- 2.x defaults to stdio. Set
BRAVE_MCP_TRANSPORT=httpor pass--transport httpto keep HTTP. source ↗ brave_local_searchreturns ordinary web results.- Full local search needs a Pro plan; otherwise it falls back to web search.
extra_snippetsis also Pro-only. source ↗ - HTTP mode in a container is unreachable, or browser clients get 403.
- The server binds 127.0.0.1 by default; set
BRAVE_MCP_HOST=0.0.0.0only on a trusted network (the HTTP endpoint is unauthenticated). Browser clients on a real domain needBRAVE_MCP_ALLOWED_ORIGINS. source ↗
How it differs from alternatives
- Exa MCP: Neural/semantic search with a hosted endpoint that lists its default tools without a key; Brave is a classic web index with local, news, video and image search. Measured: 2 tools, ~464 tokens.
- Tavily MCP: Adds extract, map and crawl on top of search; Brave sticks to search plus summarizer and LLM context. Measured: 5 tools, ~1,651 tokens.
Notes written from the official sources linked above, checked 2026-10-28.
Details
- Type
- MCP server
- Tasks
- Library docs & research
- Compatible agents
- Claude Desktop, VS Code (source: clients with a usage section in the official README (Claude Desktop, VS Code; also the fx terminal agent))
- Maintenance
- Release v2.1.4 on 2026-09-17; last commit 2026-10-21
- License
- MIT
- Source
- https://github.com/brave/brave-search-mcp-server
- Verified on
- 2026-10-26
No independent security audit: entries summarize official sources only. Review permissions and code before installing.
Compared in: Best MCP servers for Library docs & research in VS Code · Best MCP servers for Library docs & research in Claude Desktop · Best MCP servers for Library docs & research
Badge for your README (maintainers)
The badge only says it's listed; it is not a security review or an endorsement.