Skip to main content
Glama
w-jeon

mcp-brave-search

by w-jeon

Brave Search MCP Server

An MCP server implementation that integrates the Brave Search API, providing both web and local search capabilities.

Features

  • Web Search: General queries, news, articles, with pagination and freshness controls

  • Local Search: Find businesses, restaurants, and services with detailed information

  • Flexible Filtering: Control result types, safety levels, and content freshness

  • Smart Fallbacks: Local search automatically falls back to web when no results are found

Related MCP server: Brave Search MCP Server

Tools

  • brave_web_search

    • Execute web searches with pagination and filtering

    • Inputs:

      • query (string): Search terms

      • count (number, optional): Results per page (max 20)

      • offset (number, optional): Pagination offset (max 9)

  • brave_local_search

    • Search for local businesses and services

    • Inputs:

      • query (string): Local search terms

      • count (number, optional): Number of results (max 20)

    • Automatically falls back to web search if no local results found

Configuration

Getting an API Key

  1. Sign up for a Brave Search API account

  2. Choose a plan (Free tier available with 2,000 queries/month)

  3. Generate your API key from the developer dashboard

Usage with Claude Desktop

Add this to your 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"
      }
    }
  }
}

Build

Docker build:

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

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Available Tools

2 tools

TDQS

A4.2/5.0
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
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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.
    259
    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.
    20,927
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/w-jeon/mcp-brave-search'

If you have feedback or need assistance with the MCP directory API, please join our Discord server