
brave-search-mcp
by mikechao·★ 117·综合分 47
MCP 服务器集成 Brave Search API,提供网络、图片、视频、新闻、本地兴趣点和 LLM 上下文搜索功能。
概述
brave-search-mcp 是一个全面的 MCP 服务器实现,通过多个专业工具提供对 Brave Search API 的访问。它提供六种不同的搜索功能,包括传统网络搜索、图片搜索、视频搜索、新闻搜索、本地兴趣点搜索以及专门针对优化的 LLM 上下文搜索。该服务器支持 stdio 和 HTTP 两种模式,并提供适当的配置选项。
试试问 AI
装完之后,这里有 7 个你可以让 AI 做的事:
什么时候选它
当您需要将全面的搜索功能(网页、图片、新闻、本地)集成到基于 MCP 的 AI 工作流中时,选择此工具。
什么时候不要选它
如果您需要来自多个提供商的搜索结果,或者担心与 Brave API 的供应商锁定问题,请不要选择此工具。
此 server 暴露的工具
从 README 抽取出 6 个工具brave_web_searchExecute web searches using Brave's API
brave_image_searchGet images from the web relevant to the query
brave_news_searchSearch the web for news articles, trending topics, or recent events
brave_local_searchSearch for local businesses, services, and points of interest
brave_video_searchSearch the web for videos
brave_llm_context_searchPre-extracted web content optimized for AI agents, LLM grounding, and RAG pipelines
可对比工具
安装
安装
- 从 [Brave Search API 账户](https://brave.com/search/api/) 获取 Brave Search API 密钥
使用 Claude Desktop
添加到您的 claude_desktop_config.json:
{
"mcp-servers": {
"brave-search": {
"command": "npx",
"args": [
"-y",
"brave-search-mcp"
],
"env": {
"BRAVE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}作为独立程序运行
BRAVE_API_KEY="your_key_here" npx -y brave-search-mcp对于 HTTP 模式:
BRAVE_API_KEY="your_key_here" npx -y brave-search-mcp --httpFAQ
- 这个 MCP 服务器需要身份验证吗?
- 是的,您需要提供一个 Brave Search API 密钥作为环境变量(BRAVE_API_KEY)。
- 我可以在 ChatGPT 中使用这个服务器吗?
- 是的,该服务器通过 OpenAI Apps 支持 ChatGPT,需要在 HTTP 模式下运行并创建本地隧道。
- LLM 上下文搜索功能是什么?
- LLM 上下文搜索专门针对 AI 消费提取并格式化网页内容,可配置令牌限制和片段数量等参数。
brave-search-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。