Skip to content

Brave Search API and MCP

Brave Search provides web search results from Brave's independent search index. An agent can find public web pages and collect sources for research briefs. Add your Brave Search key once in Longwave settings; calls run on your vendor account.

Add to Longwave

Add Brave Search to your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

functions
1
lowest price
$0.005/call
access
Your key
tasks
1

Use Brave Search on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Add your Brave Search API key once in Longwave settings. Calls run on your Brave Search account at Brave Search's price.
  3. Ask for the result in any thread, for example: “Find sources for a technical research brief”. The agent picks the Brave Search function and calls it.

Use Brave Search in Claude Code, Codex, Cursor or ChatGPT

Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including Brave Search, and asks you to sign in on first use.

Why call Brave Search through Longwave

  • Your Brave Search key is stored once, encrypted, and used by every harness and device you use.
  • One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
  • Spending limits per key and per account, checked before a paid call is made.
  • Each call is recorded with the provider, the cost and the result, and can be read again from another device.

Brave Search functions

Function Price
Search the web Find public web pages for a query. brave.web.search
$0.005 per call Search prepaid rate; promotional credits do not change the paid unit price.

Prices are Brave Search's published rates. Source: Brave Search pricing.

Use cases

Questions people ask

How do I get a Brave Search API key?

Sign in to Brave Search and create a key at api-dashboard.search.brave.com/app/keys. Add it once in Longwave settings and your agents' Brave Search calls run on your own account. Brave Search API keys

Does Brave Search offer a free API allowance?

Brave Search publishes this allowance: $5 API credits per month. The allowance applies to the vendor account used for the call. Brave Search pricing

Do I need a Brave Search account?

Yes. Create a key at https://api-dashboard.search.brave.com/app/keys and add it in Longwave settings. Longwave stores it encrypted and uses it only for your calls.

What does a Brave Search API call cost through Longwave?

The same as calling Brave Search directly. For example, “Search the web” costs $0.005 per call. Longwave adds no markup. Brave Search pricing

How do I use Brave Search in Claude Code?

Add the Longwave MCP server once with claude mcp add --transport http longwave https://api.longwave.run/v1/mcp/tasks, sign in, and ask for what you need. Claude finds the right Brave Search function and calls it.

Use Brave Search in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave