Home / MCP / Brave Search MCP Server
Provides an MCP server that exposes Brave Search web and local search capabilities for integration with AI assistants.
Configuration
View docs{
"mcpServers": {
"brave_search": {
"command": "uv",
"args": [
"--directory",
"path-to\\\\mcp-python\\\\brave-mcp-search\\\\src",
"run",
"server.py"
],
"env": {
"BRAVE_API_KEY": "YOUR_BRAVE_API_KEY_HERE"
}
}
}
}You can run a Brave Search MCP Server that exposes Brave Search capabilities to MCP clients and AI assistants. This server enables web and local search tools to be used by your assistant, so you can perform web research and find local information through your AI workflows.
To use the Brave Search MCP Server with an MCP-compatible AI assistant, start the server according to your environment and point your assistant to the configured MCP server. Once running, your assistant can invoke the Brave Search tools to perform web searches or local searches, delivering results as part of your conversation. You don’t need to manage the low-level RPC details; simply ensure the server is running and your assistant is configured to connect to the Brave Search MCP endpoint.
Prerequisites you need before installation:
- Python 3.11+
- uvx (the Python package installer and resolver)
Installing via Smithery
npx -y @smithery/cli install @arben-adm/brave-mcp-search --client claudeManual Installation
1. Clone the repository:
git clone https://github.com/your-username/brave-search-mcp.git
cd brave-search-mcp2. Create a virtual environment and install dependencies using uvx:
uv venv
source .venv/bin/activate # On Windows, use: .venv\Scripts\activate
uv pip install -r requirements.txt3. Set up your Brave Search API key:
export BRAVE_API_KEY=your_api_key_here
```
On Windows, use: `set BRAVE_API_KEY=your_api_key_hereConfigure your MCP settings file to include the Brave Search MCP server. Use the following example to define the server that your assistant will connect to.
{
"mcpServers": {
"brave-search": {
"command": "uv",
"args": [
"--directory",
"path-to\\mcp-python\\brave-mcp-search\\src",
"run",
"server.py"
],
"env": {
"BRAVE_API_KEY": "YOUR_BRAVE_API_KEY_HERE"
}
}
}
}Replace YOUR_BRAVE_API_KEY_HERE with your actual Brave API key. Start your MCP-compatible AI assistant with this updated configuration to connect to the Brave Search MCP Server.
Start the Brave Search MCP server by running your MCP-compatible AI assistant with the updated configuration. The server will be ready to accept requests from MCP clients and provide Brave Search tools.
You can now use the Brave Search functionality in your MCP-compatible AI assistant by invoking the available tools.
Performs a web search using the Brave Search API and returns results suitable for presentation in your assistant.
Searches for local businesses and places using Brave Search local data and returns relevant results for your conversations.