MCP2Brave
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.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP2Brave search for recent developments in quantum computing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp2brave
一个基于MCP协议的服务器,使用Brave API实现网络搜索功能。
系统要求
Python 3.11+
UV包管理器
Brave API密钥
Related MCP server: Python Docs Server
安装步骤
克隆项目
git clone <仓库地址>
cd mcp2brave创建并编辑环境变量文件
# 添加Brave API密钥到.env文件
.env使用UV创建虚拟环境
# 创建并激活虚拟环境
uv venv
# Windows系统使用:
.venv\Scripts\activate
# Linux/Mac系统使用:
source .venv/bin/activate安装依赖
uv sync使用方法
安装为Claude扩展
fastmcp install mcp2brave.py开发模式与MCP检查器
要使用MCP检查器测试功能:
fastmcp dev mcp2brave.py运行后,可以在浏览器访问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服务器配置文件,加入以下信息
"mcp2brave": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"--with",
"python-dotenv",
"--with",
"beautifulsoup4",
"--with",
"requests",
"fastmcp",
"run",
"C:\\Users\\你的真实路径\\mcp2brave.py"
],
"env": {
"BRAVE_API_KEY": "API密钥"
}
}详细操作步骤
Cline集成

Cline集成

Cline集成

使用示例

Available Tools
6 toolsbrave_search_summaryC
使用Brave搜索引擎搜索网络信息
Inputs: query (required).
get_url_content_directC
Get webpage content directly using HTTP request
Args:
url (str): The URL to fetch content from
Returns:
str: The webpage content and metadata
Inputs: url (required).
search_brave_with_summaryC
Search the web using Brave Search API
Inputs: query (required).
search_newsC
Search news using Brave News API
Args:
query (str): The search query for news
Returns:
str: News search results including titles, sources, dates and descriptions
Inputs: query (required).
search_news_infoC
使用Brave新闻API搜索新闻
参数:
query (str): 新闻搜索关键词
返回:
str: 新闻搜索结果,包含标题、来源、日期和描述
Inputs: query (required).
url_contentC
直接获取网页内容
参数:
url (str): 目标网页地址
返回:
str: 网页内容和元数据
Inputs: url (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Multiple tools have unclear boundaries and overlapping purposes. 'brave_search_summary' and 'search_brave_with_summary' appear to serve the same function with only minor wording differences. Similarly, 'get_url_content_direct' and 'url_content' are essentially duplicates with one in English and one in Chinese. This creates significant ambiguity for agent selection.
The naming conventions are inconsistent and chaotic. There's a mix of snake_case ('brave_search_summary') and lowercase with underscores ('search_brave_with_summary'), plus inconsistent verb usage ('get_' vs just the noun 'url_content'). The bilingual naming (English and Chinese) further compounds the inconsistency with no discernible pattern.
With 6 tools, the count is reasonable for a search/content retrieval server. However, since 4 of these tools are essentially duplicates (2 search pairs and 2 URL content pairs), the effective tool count is much lower, making the server feel thin despite the nominal count being appropriate.
The server covers basic search and content retrieval operations, but there are notable gaps. While it provides search (general and news) and URL fetching, there's no way to filter search results, handle pagination, or access more advanced Brave Search features. The duplication of tools doesn't add functional coverage, leaving the surface incomplete for robust web interaction.
Related MCP Connectors
Web search API and MCP server for developers building AI agents.
An MCP server that gives your AI access to the source code and docs of all public github repos
Capability registry for the agentic economy. Semantic search over verified MCP server listings.
Related MCP Servers
- -licenseNot gradedqualityBmaintenanceAn MCP server implementation that integrates the Brave Search API, providing both web and local search capabilities.27,402 npm91,952MIT
- AlicenseBqualityDmaintenanceAn MCP server that enables users to fetch Python documentation using the Brave Search API through natural language queries.1Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that integrates the Brave Search API to provide both web and local search capabilities, with features like pagination, filtering, and smart fallbacks.16MIT
- AlicenseAqualityDmaintenanceAn MCP Server implementation that integrates the Brave Search API, providing, Web Search, Local Points of Interest Search, Image Search, Video Search, News Search and LLM Context Search capabilities5828 npm131GPL 3.0