Zed Brave Search Context Server
@reecelikesramen
Adds the Brave Search MCP server to Zed's assistant panel.
Overview
What is Zed Brave Search Context Server?
This extension provides a Model Context Server for Brave Search, designed for use with the Zed AI assistant. It adds /brave_web_search and /brave_local_search slash commands to the Assistant Panel.
How to use Zed Brave Search Context Server?
First, obtain a Brave API key by signing up for a Brave Search API account and generating a key from the developer dashboard. Then, configure the extension in your Zed settings JSON by adding the brave_api_key under context_servers.brave_search.settings. Use the slash commands in the Assistant Panel.
Key features of Zed Brave Search Context Server
- Provides
/brave_web_searchand/brave_local_searchslash commands. - Web search supports pagination with
countandoffsetparameters. - Local search automatically falls back to web search if no local results are found.
- Integrates directly with Zed AI’s Assistant Panel.
Use cases of Zed Brave Search Context Server
- Execute web searches with pagination and filtering from within the Zed assistant.
- Search for local businesses and services near a location.
- Query the internet without leaving the editor.
- Quickly retrieve factual information during coding or writing sessions.
FAQ from Zed Brave Search Context Server
How do I get a Brave API key?
Sign up for a Brave Search API account at brave.com/search/api, choose a plan (a free tier with 2,000 queries per month is available), and generate your API key from the developer dashboard.
How do I configure the extension?
Add the following to your Zed settings JSON: { "context_servers": { "brave_search": { "settings": { "brave_api_key": "<your brave API key>" } } } }.
What slash commands are available?
/brave_web_search <query> [count] [offset] for web searches, and /brave_local_search <query> [count] for local searches.
What happens if no local results are found?
The local search command automatically falls back to a web search.
Is there a free tier for the API?
Yes, the free plan includes 2,000 queries per month.