This MCP2Brave server provides three core capabilities:
- Search the web using the Brave API, with support for both English and Chinese
- Search for news articles through the Brave News API, returning titles, sources, dates, and descriptions
- Retrieve webpage content directly from specified URLs, including metadata
Integrates with Brave Search API to provide web search capabilities, including general web searches with summaries, direct webpage content retrieval, and news search functionality.
mcp2brave
一个基于MCP协议的服务器,使用Brave API实现网络搜索功能。
系统要求
- Python 3.11+
- UV包管理器
- Brave API密钥
安装步骤
- 克隆项目
- 创建并编辑环境变量文件
- 使用UV创建虚拟环境
- 安装依赖
使用方法
安装为Claude扩展
开发模式与MCP检查器
要使用MCP检查器测试功能:
运行后,可以在浏览器访问MCP检查器:http://localhost:5173
可用工具
search_web(query: str)
: 使用Brave API搜索网络search_web_info(query: str)
: 同上,带中文描述
环境变量
Brave_API_KEY
: 你的Brave API密钥(必需)
注意事项
- 确保在使用前已正确设置API密钥
- 虚拟环境激活后才能运行相关命令
- 如遇到编码问题,请确保系统使用UTF-8编码
手动添加Cline Continue Claude
打开Cline Continue Claude的MCP服务器配置文件,加入以下信息
详细操作步骤
Cline集成
Cline集成
Cline集成
使用示例
This server cannot be installed
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.
Tools
A server based on the MCP protocol that uses the Brave API for web search functionality.
Related Resources
Related MCP Servers
- -securityAlicense-qualityAn MCP server implementation that integrates the Brave Search API, providing both web and local search capabilities.Last updated -215,87049,637JavaScriptMIT License
- AsecurityAlicenseAqualityAn MCP server implementation that integrates the SearxNG API, providing web search capabilities.Last updated -21,581102JavaScriptMIT License
- -securityAlicense-qualityThe Search MCP Server enables seamless integration of network and local search capabilities in tools like Claude Desktop and Cursor, utilizing the Brave Search API for high-concurrency and asynchronous requests.Last updated -152PythonMIT License
- AsecurityFlicenseAqualityAn MCP protocol server that enables web search functionality using the Tavily API, allowing AI assistants to perform internet searches in real-time.Last updated -42Python