Skip to main content
Web search using the Brave Search API — a fast, privacy-focused alternative to Google.

Installation

Install this tool individually:
Or install all tools from the toolkit:

Configuration

Prerequisites

Config Examples

Basic setup with API key:
Using environment variable:
No apiKey in config needed — the plugin picks up BRAVE_API_KEY automatically. Custom result count and timeout:

Usage

The plugin provides a brave-search tool with a single search subcommand:
Examples:

Output Format

Results are returned as a numbered list with title, URL, snippet, and age:

Command Reference

Tool name: brave-search

Error Reference

Implementation Details

  • Target: Sandbox (runs inside the agent container)
  • API: GET https://api.search.brave.com/res/v1/web/search
  • Auth: X-Subscription-Token header
  • Timeout: Configurable, defaults to 30 seconds
  • Rate limits: Enforced by Brave based on your plan; the plugin does not cache results

API Limits

Brave Search API is rate-limited by plan: Monitor usage at brave.com/search/api to avoid unexpected charges.

Privacy

Brave Search is privacy-focused:
  • No user tracking
  • No personal data retention
  • Queries sent directly to Brave’s API
  • No search history stored by the plugin