Brave Search MCP/SSE Server logo

Brave Search MCP/SSE Server

by Shoofio

An implementation of the Model Context Protocol (MCP) using Server-Sent Events (SSE) that integrates the Brave Search API, providing AI models and other clients with web and local search capabilities through a streaming interface. This server acts as a tool provider for Large Language Models that understand the Model Context Protocol.

View on GitHub

Last updated: N/A

What is Brave Search MCP/SSE Server?

This server provides an implementation of the Model Context Protocol (MCP) using Server-Sent Events (SSE) to expose Brave's web and local search functionalities. It allows AI models and other clients to access search capabilities through a real-time streaming interface.

How to use Brave Search MCP/SSE Server?

To use this server, you need a Brave Search API key. You can deploy it using Docker, Helm (Kubernetes), or run it locally. Configuration is done via environment variables. Clients connect via HTTP GET to establish an SSE connection and communicate using MCP messages.

Key features of Brave Search MCP/SSE Server

  • Web Search

  • Local Search

  • Smart Fallbacks

  • Server-Sent Events (SSE)

  • Model Context Protocol (MCP)

  • Docker Support

  • Helm Chart

  • Centralized Access

  • Observability

  • Flexible Deployment

Use cases of Brave Search MCP/SSE Server

  • Providing web search capabilities to AI models

  • Enabling local business search for AI assistants

  • Centralized management of Brave Search API key for multiple clients

  • Integrating Brave Search into applications via a streaming interface

FAQ from Brave Search MCP/SSE Server

What is MCP?

Model Context Protocol is a standard for communication between AI models and tools.

What is SSE?

Server-Sent Events is a protocol for real-time streaming of data from a server to a client.

How do I get a Brave Search API key?

Sign up for a Brave Search API account at brave.com/search/api and generate a key from the developer dashboard.

What environment variables are required?

The BRAVE_API_KEY is required. PORT and LOG_LEVEL are optional.

How do I deploy to Kubernetes?

Use the provided Helm chart and configure it with your Brave Search API key, preferably using a Kubernetes secret.