The Brave Search MCP Server integrates the Brave Search API to provide web and local search capabilities with flexible filtering and fallback mechanisms.
Web Search: Perform general queries, news, and article searches with pagination (up to 20 results per request with offset up to 9), content filtering, and freshness controls.
Local Search: Find local businesses, restaurants, and services with detailed information like addresses, ratings, phone numbers, and opening hours. Automatically falls back to web search if no local results are found.
Flexible Filtering: Control result types, safety levels, and content freshness.
Integration: Can be used with tools like Claude Desktop and VS Code via Docker or NPX, with easy configuration and API key setup.
Allows to perform web and local searches using the Brave Search API, with features including general queries, news, articles, local business search, and flexible filtering options.
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
Tools
- brave_web_search
- Execute web searches with pagination and filtering
- Inputs:
query
(string): Search termscount
(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 termscount
(number, optional): Number of results (max 20)
- Automatically falls back to web search if no local results found
Configuration
Getting an API Key
- Sign up for a Brave Search API account
- Choose a plan (Free tier available with 2,000 queries/month)
- Generate your API key from the developer dashboard
Usage with Claude Desktop
Add this to your claude_desktop_config.json
:
Docker
NPX
Usage with VS Code
For quick installation, use the one-click installation buttons below...
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P
and typing Preferences: Open User Settings (JSON)
.
Optionally, you can add it to a file called .vscode/mcp.json
in your workspace. This will allow you to share the configuration with others.
Note that the
mcp
key is not needed in the.vscode/mcp.json
file.
Docker
NPX
Build
Docker build:
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.
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.
An MCP server implementation that integrates the Brave Search API, providing both web and local search capabilities.
Related MCP Servers
- -securityAlicense-qualityA server based on the MCP protocol that uses the Brave API for web search functionality.Last updated -1MIT License
- AsecurityAlicenseAqualityThe 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 -172MIT License
- AsecurityAlicenseAqualityAn MCP server that enables users to fetch Python documentation using the Brave Search API through natural language queries.Last updated -1Apache 2.0
- -securityAlicense-qualityAn MCP server that integrates the Brave Search API to provide both web and local search capabilities, with features like pagination, filtering, and smart fallbacks.Last updated -13MIT License