Brave Search

Live

API KEY

ANALYTICS

Analytics

Connect to Brave Search to perform web, image, video, and news searches with privacy-focused results, plus AI-powered suggestions and spellcheck.

  • Acts as the user: Every tool call runs as the authorizing user. Access and audit trail stay intact.
  • Credentials stay vaulted: AES-256 encrypted, resolved at request time, never stored in LLM context.
  • Scoped before every call: Per-user permissions enforced automatically. 90-day audit trail included.
Brave Search
agent · Acme Q3
Run
Chat Completions in Brave Search
S
brave_chat_completions
85ms
Brave Search agent
Get ai-generated answers grounded in real-time brave search results using an openai-compatible chat completions interfac.
Sources: Brave Search
bravemcp
1 tool call
18:29
Message Claude...

Brave Search tools for AI agents

CALL ANY TOOL
12 tools covering image, llm, chat.
brave_chat_completions
Chat completions
Get AI-generated answers grounded in real-time Brave Search results using an OpenAI-compatible chat completions interface. Returns summarized, cited answers with source references and token usage statistics.
Parameters
Name
Type
Required
Description
messages
array
Required
Array of conversation messages. Each message must have a 'role' (system, user, or assistant) and 'content' (string).
country
string
Optional
Target country code for search results used to ground the answer (e.g., us, gb).
enable_citations
boolean
Optional
Include inline citation markers in the response text.
enable_entities
boolean
Optional
Include entity information (people, places, organizations) in the response.
enable_research
boolean
Optional
Enable multi-search research mode for more comprehensive answers.
language
string
Optional
Language code for the response (e.g., en, fr, de).
model
string
Optional
The model to use. Must be 'brave' to use Brave's search-grounded AI model.
stream
boolean
Optional
Whether to stream the response as server-sent events.
brave_image_search
Search image
brave_llm_context
Llm context
brave_local_descriptions
Local descriptions
brave_local_place_search
Search local place
brave_local_pois
Local pois
brave_news_search
Search news
brave_spellcheck
Spellcheck
brave_suggest_search
Search suggest
brave_summarizer_enrichments
Summarizer enrichments
brave_summarizer_entity_info
Summarizer entity info
brave_summarizer_followups
Summarizer followups
brave_summarizer_search
Search summarizer
brave_summarizer_summary
Summarizer summary
brave_summarizer_title
Summarizer title
brave_video_search
Search video
brave_web_search
Search web
Build your Agent
Same auth pattern across every framework.
Python · LlamaIndex
from langchain_mcp_adapters.client import MultiServerMCPClient
from scalekit import ScalekitClient

client = ScalekitClient(env_url=ENV_URL, client_id=CLIENT_ID, client_secret=SECRET)
token = client.agent.get_token(user_id="user_id", connector="brave")

mcp = MultiServerMCPClient({
"brave": {
"url": "https://mcp.scalekit.com/brave",
"headers": {"Authorization": "Bearer " + token}
}
})
tools = await mcp.get_tools()
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const client = new ScalekitClient({ envUrl, clientId, clientSecret });
const token = await client.agent.getToken({ userId: "user_id", connector: "brave" });

const openai = new OpenAI();
// Connect to MCP at https://mcp.scalekit.com/brave
// Pass: Authorization: Bearer + token
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const client = new ScalekitClient({ envUrl, clientId, clientSecret });
const token = await client.agent.getToken({ userId: "user_id", connector: "brave" });

const anthropic = new Anthropic();
// Connect to MCP at https://mcp.scalekit.com/brave
// Pass: Authorization: Bearer + token
from google.adk.agents import LlmAgent
from scalekit import ScalekitClient

client = ScalekitClient(env_url=ENV_URL, client_id=CLIENT_ID, client_secret=SECRET)
token = client.agent.get_token(user_id="user_id", connector="brave")
# Connect to MCP at https://mcp.scalekit.com/brave
# Pass: Authorization: Bearer + token
Try these prompts
Paste any prompt into your agent to get started.
Get started
Copy the prompt
Copied
Fetch AI-generated descriptions for locations using IDs from a Brave web search response?
Copy the prompt
Copied
Fetch the complete AI-generated summary for a summarizer key?
Advanced
Copy the prompt
Copied
Search the web using Brave Search’s privacy-focused search engine?
Copy the prompt
Copied
Get AI-generated answers grounded in real-time Brave Search results using an OpenAI-compatible chat completions interfac?
SEE HOW AUTH WORKS
User authorises once. Every agent call after uses their token with scope enforcement.
1
Authorize
Your user connects
Brave Search
once. We tie it to their identity and the meetings they approved — no shared bot account, no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Brave Search
token lives in a vault scoped to them. User A's meetings are never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tokens:
auto-refreshed
3
Resolve
When your agent calls a
Brave Search
tool, we fetch the right token server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Brave Search
tool call is logged — who triggered it, which meeting was fetched, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other connectors.
SALES
Deal intelligence agent
Score Gong call risk with an LLM, cross-reference the Attio record, and DM each owner their at-risk deals in Slack.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
SALES
Outbound prospecting agent
Search Apollo for ICP matches, rank them, draft personalised Gmail outreach, and log every send to Google Sheets.
SUPPORT
Support triage agent
Classify new Zendesk tickets, search the Notion knowledge base for an answer, and route what it cannot resolve to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared token looks fine in a demo. In production every call looks like a service account. Scalekit resolves the real user credential.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
One connector today. Ten tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions

Does the agent access Brave Search as the user or as a shared key?
As the user. Each workspace member authorizes once and Scalekit resolves their credential at request time. Audit logs attribute every action to that user, not a shared service account.

Where is the Brave Search API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Tokens never appear in prompts, logs, or LLM context.

Can I limit what the agent is allowed to do in Brave Search?
Yes. Pass a tool name filter to listScopedTools so the analytics agent only sees the subset you authorize. Pre-API-call scope checks block out-of-policy actions before the request reaches Brave Search.

What happens when a user revokes Brave Search access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.

Are search queries private and per user?
Yes. Web, image, video, and news searches run with the authorizing user's Brave Search key from the vault. Privacy-focused results, no shared query history.

Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""brave"": {
""url"": ""https://mcp.scalekit.com/brave"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.brave]
url = ""https://mcp.scalekit.com/brave""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""brave"": {
""url"": ""https://mcp.scalekit.com/brave"",
""type"": ""http""
}
}
}