Skip to main content
Glama
w-jeon

mcp-brave-search

by w-jeon

Brave Search MCP 服务器

集成 Brave Search API 的 MCP 服务器实现,提供网络和本地搜索功能。

特征

  • 网络搜索:一般查询、新闻、文章,具有分页和新鲜度控制

  • 本地搜索:查找商家、餐厅和服务的详细信息

  • 灵活过滤:控制结果类型、安全级别和内容新鲜度

  • 智能回退:本地搜索在未找到结果时自动回退到网络

Related MCP server: Brave Search MCP Server

工具

  • brave_web_search

    • 使用分页和过滤功能执行网页搜索

    • 输入:

      • query (字符串):搜索词

      • count (数字,可选):每页结果数(最多 20 条)

      • offset (数字,可选):分页偏移量(最大 9)

  • brave_local_search

    • 搜索本地企业和服务

    • 输入:

      • query (字符串):本地搜索词

      • count (数字,可选):结果数量(最多 20 条)

    • 如果未找到本地结果,则自动返回网络搜索

配置

获取 API 密钥

  1. 注册Brave Search API 帐户

  2. 选择计划(免费套餐,每月 2,000 次查询)

  3. 从开发者仪表板生成您的 API 密钥

与 Claude Desktop 一起使用

将其添加到您的claude_desktop_config.json中:

Docker

{
  "mcpServers": {
    "brave-search": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BRAVE_API_KEY",
        "mcp/brave-search"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

NPX

{
  "mcpServers": {
    "brave-search": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-brave-search"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

建造

Docker 构建:

docker build -t mcp/brave-search:latest -f src/brave-search/Dockerfile .

执照

此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。

Available Tools

2 tools

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv1.0.0
    • First observedbrave_local_search
    • First observedbrave_web_search

TDQS

A4.2/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have clearly distinct purposes: brave_local_search is for local business and place queries (e.g., 'near me'), while brave_web_search is for general web searches (e.g., news, articles). Their descriptions explicitly differentiate use cases, making misselection unlikely.

Naming Consistency5/5

Both tools follow a consistent verb_noun pattern with 'brave_' prefix and snake_case: brave_local_search and brave_web_search. This predictable naming scheme enhances readability and agent usability.

Tool Count3/5

With only 2 tools, the server feels thin for a search domain, potentially limiting functionality. While it covers local and web search basics, more specialized tools (e.g., image search, news search) could enhance completeness. The count is borderline but reasonable for a minimal setup.

Completeness3/5

The server covers core search types (local and web), but there are notable gaps for a search API, such as image search, video search, or news-specific search. Agents can work around this by using web search broadly, but the surface is incomplete for comprehensive search operations.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables web and local business searches through the Brave Search API. Provides general web search with pagination and filtering, plus local business search with automatic fallback to web results.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Integrates the Brave Search API to provide web and local search capabilities, including news, articles, and business information. It features smart fallbacks from local to web search and supports pagination and freshness controls.
    270 npm
    1
    GPL 3.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Integrates the Brave Search API to provide comprehensive web and local search capabilities. It enables users to perform general web queries, search for news, and find local business information with smart fallback functionality.
    23,542 npm
    MIT