Brave's official server for the Brave Search API, covering web, local business, image, video and news search plus AI summarization.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add brave-search -- npx -y @brave/brave-search-mcp-server --transport stdio~/.codex/config.toml
[mcp_servers.brave-search]
command = "npx"
args = ["-y", "@brave/brave-search-mcp-server", "--transport", "stdio"]
# codex mcp add brave-search -- npx -y @brave/brave-search-mcp-server --transport stdio~/.cursor/mcp.json
{
"mcpServers": {
"brave-search": {
"command": "npx",
"args": [
"-y",
"@brave/brave-search-mcp-server",
"--transport",
"stdio"
]
}
}
}.vscode/mcp.json
{
"servers": {
"brave-search": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@brave/brave-search-mcp-server",
"--transport",
"stdio"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"brave-search": {
"command": "npx",
"args": [
"-y",
"@brave/brave-search-mcp-server",
"--transport",
"stdio"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"brave-search": {
"command": "npx",
"args": [
"-y",
"@brave/brave-search-mcp-server",
"--transport",
"stdio"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"brave-search": {
"command": "npx",
"args": [
"-y",
"@brave/brave-search-mcp-server",
"--transport",
"stdio"
]
}
}
}Remote
claude mcp add --transport http brave-search https://server.smithery.ai/brave/mcp --header 'Authorization: Bearer <SMITHERY_API_KEY>'~/.codex/config.toml
[mcp_servers.brave-search]
url = "https://server.smithery.ai/brave/mcp"
bearer_token_env_var = "BRAVE_SEARCH_SMITHERY_API_KEY"
# codex mcp add brave-search --url https://server.smithery.ai/brave/mcp --bearer-token-env-var BRAVE_SEARCH_SMITHERY_API_KEY
# export BRAVE_SEARCH_SMITHERY_API_KEY=<SMITHERY_API_KEY>~/.cursor/mcp.json
{
"mcpServers": {
"brave-search": {
"url": "https://server.smithery.ai/brave/mcp",
"headers": {
"Authorization": "Bearer <SMITHERY_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"brave-search": {
"type": "http",
"url": "https://server.smithery.ai/brave/mcp",
"headers": {
"Authorization": "Bearer <SMITHERY_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"brave-search": {
"httpUrl": "https://server.smithery.ai/brave/mcp",
"headers": {
"Authorization": "Bearer <SMITHERY_API_KEY>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"brave-search": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://server.smithery.ai/brave/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer <SMITHERY_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"brave-search": {
"url": "https://server.smithery.ai/brave/mcp",
"headers": {
"Authorization": "Bearer <SMITHERY_API_KEY>"
}
}
}
}