This MCP server integrates Brave Search capabilities with AI assistants like Claude through the Model Context Protocol. It enables your AI assistant to perform web searches and find local businesses directly using Brave's search engine.
To install Brave Search MCP server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @arben-adm/brave-mcp-search --client claude
Clone the repository:
git clone https://github.com/your-username/brave-search-mcp.git
cd brave-search-mcp
Create a virtual environment and install dependencies using uv:
uv venv
source .venv/bin/activate # On Windows, use: .venv\Scripts\activate
uv pip install -r requirements.txt
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_here
Configure your MCP settings file (e.g., claude_desktop_config.json) to include the Brave Search MCP server:
{
"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.
The server provides two main tools:
When interacting with your AI assistant (like Claude), you can prompt it to use these tools by asking for information that would require a web search or local business search. The assistant will automatically invoke the appropriate tool based on your query.
For example:
The AI assistant will use the Brave Search tools to retrieve and present the requested information.
If you encounter issues:
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.