Zed Brave Search Context Server logo

Zed Brave Search Context Server

by reecelikesramen

This extension provides a Model Context Server for Brave Search, designed for use with the Zed AI assistant. It adds slash commands to the Assistant Panel for web and local searches.

View on GitHub

Last updated: N/A

Zed Brave Search Context Server

This extension provides a Model Context Server for Brave Search, for use with the Zed AI assistant. It leverages this MCP server.

It adds /brave_web_search and /brave_local_search slash commands to the Assistant Panel.

Configuration

Getting an API Key

To use the extension, first you will need to acquire a Brave API key.

  1. Sign up for a Brave Search API account
  2. Choose a plan (Free tier available with 2,000 queries/month)
  3. Generate your API key from the developer dashboard
{
  "context_servers": {
    "brave_search": {
      "settings": {
        "brave_api_key": "<your brave API key>"
      }
    }
  }
}

Usage

  • /brave_web_search <query> [count] [offset]: Execute web searches with pagination and filtering.
  • /brave_local_search <query> [count]: Search for local businesses and services. Automatically falls back to web search if no local results found.