Brave Search MCP Server
MCP integration for web, image, news, video, and local search via Brave Search API.
Key Features
Use Cases
README
Brave Search MCP Server
An MCP Server implementation that integrates the Brave Search API, providing, Web Search, Local Points of Interest Search, Video Search, Image Search and News Search capabilities
Features
- Web Search: Perform a regular search on the web
- Image Search: Search the web for images. Image search results will be available as a Resource
- News Search: Search the web for news
- Video Search: Search the web for videos
- Local Points of Interest Search: Search for local physical locations, businesses, restaurants, services, etc
Tools
-
brave_web_search
- Execute web searches using Brave's API
- Inputs:
query(string): The term to search the internet forcount(number, optional): The number of results to return (max 20, default 10)offset(number, optional, default 0): The offset for paginationfreshness(enum, optional): Filters search results by when they were discovered- The following values are supported
- pd: Discovered within the last 24 hours.
- pw: Discovered within the last 7 Days.
- pm: Discovered within the last 31 Days.
- py: Discovered within the last 365 Days
- YYYY-MM-DDtoYYYY-MM-DD: Custom date range (e.g., 2022-04-01to2022-07-30)
- The following values are supported
-
brave_image_search
- Get images from the web relevant to the query
- Inputs:
query(string): The term to search the internet for images ofcount(number, optional): The number of images to return (max 3, default 1)
-
brave_news_search
- Searches the web for news
- Inputs:
query(string): The term to search the internet for news articles, trending topics, or recent eventscount(number, optional): The number of results to return (max 20, default 10)freshness(enum, optional): Filters search results by when they were discovered- The following values are supported
- pd: Discovered within the last 24 hours.
- pw: Discovered within the last 7 Days.
- pm: Discovered within the last 31 Days.
- py: Discovered within the last 365 Days
- YYYY-MM-DDtoYYYY-MM-DD: Custom date range (e.g., 2022-04-01to2022-07-30)
- The following values are supported
-
brave_local_search
- Search for local businesses, services and points of interest
- REQUIRES subscription to the Pro api plan for location results
- Falls back to brave_web_search if no location results are found
- Inputs:
query(string): Local search termcount(number, optional): The number of results to return (max 20, default 5)
-
brave_video_search
- Search the web for videos
- Inputs:
query: (string): The term to search for videoscount: (number, optional): The number of videos to return (max 20, default 10)freshness(enum, optional): Filters search results by when they were discovered- The following values are supported
- pd: Discovered within the last 24 hours.
- pw: Discovered within the last 7 Days.
- pm: Discovered within the last 31 Days.
- py: Discovered within the last 365 Days
- YYYY-MM-DDtoYYYY-MM-DD: Custom date range (e.g., 2022-04-01to2022-07-30)
- The following values are supported
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 Code
For Claude Code users, run this command:
Windows:
claude mcp add-json brave-search '{"command":"cmd","args":["/c","npx","-y","brave-search-mcp"],"env":{"BRAVE_API_KEY":"YOUR_API_KEY_HERE"}}'
Linux/macOS:
claude mcp add-json brave-search '{"command":"npx","args":["-y","brave-search-mcp"],"env":{"BRAVE_API_KEY":"YOUR_API_KEY_HERE"}}'
Replace YOUR_API_KEY_HERE with your actual Brave Search API key.
Usage with Claude Desktop
Desktop Extension (DXT)
- Download the
dxtfile from the Releases - Open it with Claude Desktop or Go to File -> Settings -> Extensions and drag the .DXT file to the window to install it
Docker
- Clone the repo
- Docker build
docker build -t brave-search-mcp:latest -f ./Dockerfile .
- Add this to your
claude_desktop_config.json:
{
"mcp-servers": {
"brave-search": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"BRAVE_API_KEY",
"brave-search-mcp"
],
"env": {
"BRAVE_API_KEY": "YOUR API KEY HERE"
}
}
}
}
NPX
Add this to your claude_desktop_config.json:
{
"mcp-servers": {
"brave-search": {
"command": "npx",
"args": [
"-y",
"brave-search-mcp"
],
"env": {
"BRAVE_API_KEY": "YOUR API KEY HERE"
}
}
}
}
Usage with LibreChat
Add this to librechat.yaml
brave-search:
command: sh
args:
- -c
- BRAVE_API_KEY=API KEY npx -y brave-search-mcp
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Desktop Extensions (DXT)
Anthropic recently released Desktop Extensions allowing installation of local MCP Servers with one click.
Install the CLI tool to help generate both manifest.json and final .dxt file.
npm install -g @anthropic-ai/dxt
Creating the manifest.json file
- In this folder/directory which contains the local MCP Server, run
dxt init. The command will start an interactive CLI to help create themanifest.json.
Creating the dxt file
- First install dev dependencies and build
npm install
npm run build
- Then install only the production dependencies, generate a smaller nodule_modules directory
npm install --omit=dev
- Run
dxt packto create adxtfile. This will also validate the manifest.json that was created. Thedxtis essentially a zip file and will contain everything in this directory.
Disclaimer
This library is not officially associated with Brave Software. It is a third-party implementation of the Brave Search API with a MCP Server.
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Star History
Repository Owner
User
Repository Details
Programming Languages
Tags
Topics
Join Our Newsletter
Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.
Related MCPs
Discover similar Model Context Protocol servers
Brave Search MCP Server
MCP-compliant server providing advanced Brave Search API tools via STDIO and HTTP.
Implements a Model Context Protocol (MCP) server for integrating with the Brave Search API, offering tools for web, local business, image, video, and news searches along with AI-powered summarization. Supports both STDIO and HTTP transports and adheres to established MCP conventions for context management. Provides structured tool schemas and customizable parameters to handle sophisticated search queries and results. Enables advanced filtering, multi-type result aggregation, and seamless integration for AI model workflows.
- ⭐ 337
- MCP
- brave/brave-search-mcp-server
tavily-search MCP server
A search server that integrates Tavily API with Model Context Protocol tools.
tavily-search MCP server provides an MCP-compliant server to perform search queries using the Tavily API. It returns search results in text format, including AI responses, URLs, and result titles. The server is designed for easy integration with clients like Claude Desktop or Cursor and supports both local and Docker-based deployment. It facilitates AI workflows by offering search functionality as part of a standardized protocol interface.
- ⭐ 44
- MCP
- Tomatio13/mcp-server-tavily
searchcraft-mcp-server
An MCP Server for managing Searchcraft clusters and powering AI-driven search administration.
searchcraft-mcp-server is a TypeScript/Node.js server that implements the Model Context Protocol (MCP) for Searchcraft clusters. It provides a suite of programmable tools for managing indexes, documents, federations, access keys, and analytics using plain English prompts via AI model clients. The server enables seamless interaction between AI interfaces like Claude Desktop and Searchcraft's administrative functions by exposing these operations as protocol-driven actions.
- ⭐ 6
- MCP
- searchcraft-inc/searchcraft-mcp-server
MCP-searxng
MCP server bridging agentic systems with SearXNG web search
MCP-searxng enables agentic systems to interface with web search engines via the SearXNG platform by implementing the Model Context Protocol. It supports both command-line and local server deployment, providing flexible integration options. Users can configure custom SearXNG server URLs and connect through clients like uvx or claude desktop. The tool simplifies access to structured web search within agentic workflows.
- ⭐ 107
- MCP
- SecretiveShell/MCP-searxng
MCP Web Research Server
Bring real-time web research and Google search capabilities into Claude using MCP.
MCP Web Research Server acts as a Model Context Protocol (MCP) server, seamlessly integrating web research functionalities with Claude Desktop. It enables Google search, webpage content extraction, research session tracking, and screenshot capture, all accessible directly from Claude. The server supports interactive and guided research sessions, exposing session data and screenshots as MCP resources for enhanced context-aware AI interactions.
- ⭐ 284
- MCP
- mzxrai/mcp-webresearch
DuckDuckGo Search MCP Server
A Model Context Protocol server for DuckDuckGo web search and intelligent content retrieval.
DuckDuckGo Search MCP Server provides web search capabilities through DuckDuckGo, with advanced content fetching and parsing tailored for large language models. It supports rate limiting, error handling, and delivers results in an LLM-friendly format. The server is designed for seamless integration with AI applications and tools like Claude Desktop, enabling enhanced web search and content extraction through the Model Context Protocol.
- ⭐ 637
- MCP
- nickclyde/duckduckgo-mcp-server
Didn't find tool you were looking for?