Brave Search MCP Server
Provides web search capabilities using the Brave Search API, with features like freshness filters, page content fetching, and usage tracking.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Brave Search MCP Serversearch for recent articles on quantum computing"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Brave Search MCP Server
An MCP (Model Context Protocol) server that provides web search via Brave Search API. Designed for Claude Code and Claude Desktop integration.
Features:
Web search with freshness filters (past day/week/month/year)
Full page content fetching with markdown extraction
AI-optimized result metadata (authority, content type, recency)
Usage tracking with monthly limits (2,000 free requests)
Prerequisites
Node.js 18+
Brave Search API key (free tier)
Related MCP server: Brave Search MCP Server
Getting a Brave API Key
Click "Get Started" or "Get API Key"
Create an account or sign in
Navigate to API keys section
Generate a new API key
Copy the key (you won't see it again)
Note: Free tier includes 2,000 requests/month with no rate limiting.
Installation
git clone <repo-url>
cd bravesearchmcp
npm install
cp .env.example .env
# Edit .env and add your BRAVE_API_KEYClaude Desktop Configuration
macOS
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"brave-search": {
"command": "npx",
"args": ["tsx", "/absolute/path/to/bravesearchmcp/src/index.ts"],
"env": {
"BRAVE_API_KEY": "your_api_key_here"
}
}
}
}Windows
Edit %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"brave-search": {
"command": "npx",
"args": ["tsx", "C:\\path\\to\\bravesearchmcp\\src\\index.ts"],
"env": {
"BRAVE_API_KEY": "your_api_key_here"
}
}
}
}Claude Code Configuration
Add to your Claude Code MCP settings:
{
"brave-search": {
"command": "npx",
"args": ["tsx", "/path/to/bravesearchmcp/src/index.ts"],
"env": {
"BRAVE_API_KEY": "your_api_key_here"
}
}
}Available Tools
Tool | Description |
| Search the web with optional freshness filter and result count |
| Fetch and extract content from a URL as markdown |
Usage Examples
Search:
Use brave_web_search to find recent articles about TypeScript 5.4 featuresFetch page:
Use brave_fetch_page to get the content from https://example.com/articleUsage Tracking
The server tracks your monthly API usage:
Displayed with each search result: "Usage: X/2000 (Y%)"
Warning at 80%: "Warning: approaching limit"
Warning at 95%: "Critical: nearly exhausted"
Counter resets on the 1st of each month
Usage stored in
.brave-usage.json(gitignored)
Troubleshooting
Issue | Solution |
"BRAVE_API_KEY environment variable is required" | Set the API key in Claude Desktop config or .env file |
"Invalid API key" | Check your key at brave.com/search/api dashboard |
"Rate limit exceeded" | Wait a moment - Brave has burst protection |
Server not appearing in Claude | Restart Claude Desktop after config changes |
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables web searching and local business discovery through the Brave Search API. Provides both general web search with pagination and filtering controls, plus local business search with automatic fallback to web results.Last updated2
- Flicense-qualityDmaintenanceEnables 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.Last updated
- Alicense-quality-maintenanceIntegrates Brave Search API to enable web, image, video, news, and local business searches with filtering options like result count and content freshness.Last updated248
- Alicense-qualityDmaintenanceIntegrates 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.Last updated2481GPL 3.0
Related MCP Connectors
Visit https://brave.com/search/api/ for a free API key. Search the web, local businesses, images,…
Web search, news, page retrieval, sitemaps, and trending topics through Search1API.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/cuer-bot/bravesearchmcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server