Brave Search MCP
关于此服务器
Brave 官方 MCP 服务器,基于 Brave Search API 为智能体提供注重隐私的实时 Web 搜索——网页、新闻、图片、视频与本地商户检索,用独立索引避开大厂搜索的追踪。
安装方式
npx -y @brave/brave-search-mcp-server官方 README 安装指南(英文原文)
Usage with Claude Desktop
Add this to your claude_desktop_config.json:
Docker
{
"mcpServers": {
"brave-search": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "BRAVE_API_KEY", "docker.io/mcp/brave-search"],
"env": {
"BRAVE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}NPX
{
"mcpServers": {
"brave-search": {
"command": "npx",
"args": ["-y", "@brave/brave-search-mcp-server", "--transport", "http"],
"env": {
"BRAVE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Usage with VS Code
For quick installation, use the one-click installation buttons below:
 
 
For manual installation, add the following to your User Settings (JSON) or .vscode/mcp.json:
Docker
{
"inputs": [
{
"password": true,
"id": "brave-api-key",
"type": "promptString",
"description": "Brave Search API Key",
}
],
"servers": {
"brave-search": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "BRAVE_API_KEY", "mcp/brave-search"],
"env": {
"BRAVE_API_KEY": "${input:brave-api-key}"
}
}
}
}NPX
{
"inputs": [
{
"password": true,
"id": "brave-api-key",
"type": "promptString",
"description": "Brave Search API Key",
}
],
"servers": {
"brave-search-mcp-server": {
"command": "npx",
"args": ["-y", "@brave/brave-search-mcp-server", "--transport", "stdio"],
"env": {
"BRAVE_API_KEY": "${input:brave-api-key}"
}
}
}
}常见问题
Brave Search MCP 和 Exa MCP 有什么区别?
Brave 提供的是注重隐私的通用搜索(网页、新闻、图片、视频、本地商户),基于自建独立索引、不追踪用户;Exa 偏向为 AI 优化的神经搜索、返回适合大模型的正文内容。要通用检索与隐私选 Brave,要结构化研究结果选 Exa,二者可互补。
怎么安装 Brave Search MCP?需要 API Key 吗?
用 npx -y @brave/brave-search-mcp-server 运行,并在环境变量里配置 BRAVE_API_KEY。API Key 在 Brave Search API 官网注册获取,免费层每月有一定额度,足够个人与轻量集成使用。
Brave Search MCP 免费吗?
MCP 服务器开源免费(MIT);搜索能力由 Brave Search API 提供,有免费层(含每月免费额度),超出后按用量付费。个人与小规模集成通常在免费额度内即可。