brave-search-mcp-server
v2.2.0Brave Search MCP Server: web results, images, videos, rich results, AI summaries, and more.
Values you need
| Variable | What it is | |
|---|---|---|
BRAVE_API_KEY | required secret | Your API key for the service |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add brave-search-mcp-server -e 'BRAVE_API_KEY=<BRAVE_API_KEY>' -- npx -y @brave/brave-search-mcp-server@2.2.0Add to
claude_desktop_config.json{
"mcpServers": {
"brave-search-mcp-server": {
"args": [
"-y",
"@brave/brave-search-mcp-server@2.2.0"
],
"command": "npx",
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"brave-search-mcp-server": {
"args": [
"-y",
"@brave/brave-search-mcp-server@2.2.0"
],
"command": "npx",
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "BRAVE_API_KEY",
"id": "brave-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"brave-search-mcp-server": {
"args": [
"-y",
"@brave/brave-search-mcp-server@2.2.0"
],
"command": "npx",
"env": {
"BRAVE_API_KEY": "${input:brave-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.brave-search-mcp-server]
command = "npx"
args = ["-y", "@brave/brave-search-mcp-server@2.2.0"]
env = { "BRAVE_API_KEY" = "<BRAVE_API_KEY>" }For AI agents
- Ask the user for: BRAVE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: brave_web_search, brave_local_search, brave_video_search, brave_image_search, brave_news_search, brave_summarizer, brave_llm_context, brave_place_search, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json