# Brave Search [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/pipeworx-io/mcp-brave-search  
**GitHub Stars:** 0  
**npm Downloads (last month):** 889  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/brave-search

## Description
Brave Search MCP — independent web index (no Google/Bing dependency)

## Tools
Capabilities this server exposes over MCP:

- **web_search** — General web search via the Brave index. Returns title, URL, description snippet, age, language, and site categories. Optional country, language, safesearch, and freshness filters.
- **news_search** — News-specific search with publication metadata. Returns title, URL, source, age, snippet, and breaking-news flag.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "brave-search": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-brave-search"]
  }
}
```

## Documentation

## What Brave Search MCP server does

Brave Search MCP server exposes Brave Search through the Model Context Protocol. Its two primary tools are `web_search` for general web results and `news_search` for news results. Both accept a query and optional search controls, including result count, offset, country, search language, and freshness; `web_search` also accepts a SafeSearch setting.

The integration uses Brave’s search API at `https://api.search.brave.com/res/v1/`. It is an independent, unofficial connection to Brave Search rather than a service published or endorsed by Brave.

## How it works

A hosted MCP endpoint is available at `https://gateway.pipeworx.io/brave-search/mcp`. MCP clients connect to that URL over HTTPS and can invoke the Brave Search tools. The same gateway also exposes shared Pipeworx tools, such as `ask_pipeworx`, `discover_tools`, `search_within`, and `remember`/`recall`. These shared tools appear alongside the pack’s own tools when using the hosted pack endpoint.

The gateway can route broader requests through `ask_pipeworx`, which selects a tool and fills its arguments from a plain-English question. A full gateway URL is also available when an agent should work with all cataloged data sources directly.

For local MCP configurations, the `@pipeworx/mcp-brave-search` npm package starts a stdio bridge and forwards calls to the hosted endpoint. It requires network access and has no offline mode. The local bridge lists the Brave Search tools by default; setting `PIPEWORX_META_TOOLS=1` adds the shared gateway tools.

## Setup and configuration

A hosted client configuration can use:

```json
{
  "mcpServers": {
    "brave-search": {
      "url": "https://gateway.pipeworx.io/brave-search/mcp"
    }
  }
}
```

The local npm option uses `npx`:

```json
{
  "mcpServers": {
    "brave-search": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-brave-search"]
    }
  }
}
```

A local bridge can run anonymously with a limit of 50 calls per day. Adding a Pipeworx account key through `PIPEWORX_API_KEY` raises the allowance to 200 calls per day. That key is sent as a Bearer token, and calls are metered and billed in the same way as hosted connections.

The hosted gateway can use `PLATFORM_BRAVE_KEY`. Alternatively, callers can register with Brave Search and pass their own key using the `_apiKey` query parameter. Brave’s stated free allowance for that option is 2,000 requests per month at one request per second. The upstream API receives the credential in the `X-Subscription-Token` header.

## Tools and capabilities

- `web_search(q, count?, offset?, country?, search_lang?, safesearch?, freshness?)`
- `news_search(q, count?, offset?, country?, search_lang?, freshness?)`
- Hosted MCP access over HTTPS
- Local stdio access through `@pipeworx/mcp-brave-search`
- Optional routing through Pipeworx shared tools
- Direct HTTP tool inspection through the gateway’s `/v1/tools/` endpoints

## Limitations and notes

The local bridge forwards requests to the hosted gateway, so it cannot operate without network connectivity. Pack endpoints include shared Pipeworx meta-tools in their advertised tool list; the connection’s `initialize` response reports the exact scope. Behind an HTTPS proxy, Node’s built-in `fetch` does not automatically read `HTTPS_PROXY`; newer Node releases can use that proxy when `NODE_USE_ENV_PROXY=1` is set.

The Brave API key is not fronted by the pack for unauthenticated HTTP calls. Callers using the API directly need to provide their own `_apiKey`. The MIT-licensed package is an unofficial Brave Search integration.

_Full upstream README: https://allmcps.com/mcp/brave-search/readme_

