Integrations
Integrates with Brave Search API to provide web search capabilities with pagination and filtering, plus local business search with automatic fallback to web search when no results are found.
Brave Search MCP 服务器
MCP 服务器利用 Brave Search API 进行网络和本地搜索,并具有可选的 HTTP 代理配置。
该存储库从模型上下文协议服务器分叉并用库node-fetch-native替换本机fetch
实现。
如果已设置http_proxy
和https_proxy
环境变量,服务器将默认使用这两个变量通过代理服务器路由请求。您也可以设置BRAVE_SEARCH_PROXY
环境变量来使用其他代理服务器。
特征
- 网络搜索:一般查询、新闻、文章,具有分页和新鲜度控制
- 本地搜索:查找商家、餐厅和服务的详细信息
- 灵活过滤:控制结果类型、安全级别和内容新鲜度
- 智能回退:本地搜索在未找到结果时自动回退到网络
工具
- brave_web_search
- 使用分页和过滤功能执行网页搜索
- 输入:
query
(字符串):搜索词count
(数字,可选):每页结果数(最多 20 条)offset
(数字,可选):分页偏移量(最大 9)
- brave_local_search
- 搜索本地企业和服务
- 输入:
query
(字符串):本地搜索词count
(数字,可选):结果数量(最多 20 条)
- 如果未找到本地结果,则自动返回网络搜索
配置
获取 API 密钥
- 注册Brave Search API 帐户
- 选择计划(免费套餐,每月 2,000 次查询)
- 从开发者仪表板生成您的 API 密钥
与 Claude Desktop 一起使用
将其添加到您的claude_desktop_config.json
中:
Docker
NPX
与 VS Code 一起使用
为了快速安装,请使用下面的一键安装按钮...
如需手动安装,请将以下 JSON 块添加到 VS Code 中的“用户设置 (JSON)”文件中。您可以按下Ctrl + Shift + P
并输入Preferences: Open User Settings (JSON)
来完成此操作。
或者,您可以将其添加到工作区中名为.vscode/mcp.json
的文件中。这样您就可以与其他人共享该配置。
请注意
.vscode/mcp.json
文件中不需要mcp
键。
Docker
NPX
建造
Docker 构建:
执照
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
MCP 服务器利用 Brave Search API 进行网络和本地搜索,并具有可选的 HTTP 代理配置。
Related MCP Servers
- -securityAlicense-qualityAn MCP server implementation that integrates the Brave Search API, providing both web and local search capabilities.Last updated -221,63345,669JavaScriptMIT License
- -securityAlicense-qualityA server based on the MCP protocol that uses the Brave API for web search functionality.Last updated -6PythonMIT License
- AsecurityAlicenseAqualityFacilitates integration of Brave Search functionalities with AI assistants through the Model Context Protocol, enabling web and local searches using the Brave Search API.Last updated -24PythonMIT License
- JavaScript