@integrabot/brave-search
v0.0.7
Published
MCP server for Brave Search API integration
Readme
Brave Search MCP Server
Category: Search
An MCP server that integrates the Brave Search API, providing web search 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
Web Search
- 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)
Local Discovery
- 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
{
"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",
"@integrabot/brave-search"
],
"env": {
"BRAVE_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}Timeouts
This server implements a 15-second timeout on all API requests to prevent blocking.
Build
Docker build:
docker build -t mcp/brave-search:latest -f 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.
