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

What is Zed Brave Search Context Server?

The Zed Brave Search Context Server is an extension that integrates Brave Search functionality into the Zed AI assistant. It allows the AI to access and utilize Brave Search for both web and local search queries.

How to use Zed Brave Search Context Server?

To use the server, you need a Brave Search API key, which can be obtained by signing up for a Brave Search API account. After obtaining the key, configure the server with your API key. Then, use the /brave_web_search and /brave_local_search slash commands within the Zed AI assistant.

Key features of Zed Brave Search Context Server

  • Web Search Integration

  • Local Search Integration

  • Pagination and Filtering (Web Search)

  • Slash Command Interface

Use cases of Zed Brave Search Context Server

  • Providing context to AI assistant responses

  • Finding information on the web through the AI assistant

  • Searching for local businesses and services

  • Enhancing AI assistant capabilities with search functionality

FAQ from Zed Brave Search Context Server

What is a Model Context Server?

A Model Context Server provides external information to a language model to improve its responses.

Do I need a Brave Search API key?

Yes, you need a Brave Search API key to use this extension.

Is there a free tier for the Brave Search API?

Yes, there is a free tier available with 2,000 queries/month.

What happens if no local results are found?

The /brave_local_search command automatically falls back to web search if no local results are found.

Where do I configure the Brave API key?

The API key is configured in the context_servers section of your Zed configuration file.