Brave Search Cloudflare
FreeNot checkedEnables Brave Search tools (web, news, image, video, local, summarizer) via remote MCP over HTTP, deployable on Cloudflare Workers with optional Cloudflare Acce
About
Enables Brave Search tools (web, news, image, video, local, summarizer) via remote MCP over HTTP, deployable on Cloudflare Workers with optional Cloudflare Access authentication.
README
A remote MCP server that wraps the official Brave Search MCP server and deploys it as a Cloudflare Worker with Durable Objects.
The official repo supports only stdio/Express transports. This project makes it a proper remote MCP server reachable over HTTP — usable by any MCP-compatible client without running a local process.
Tools
All 6 Brave Search tools are available:
| Tool | Description |
|---|---|
brave_web_search |
General web search |
brave_news_search |
News search |
brave_image_search |
Image search |
brave_video_search |
Video search |
brave_local_search |
Local/maps search with POIs and descriptions |
brave_summarizer |
AI-powered search summarization |
Architecture
- Runtime: Cloudflare Workers with Durable Objects (for
McpAgentstate) - MCP SDK:
McpAgentfromagentspackage +McpServerfrom@modelcontextprotocol/sdk - Auth: Cloudflare Access (Zero Trust) — protects
/mcpendpoint - API key: Stored as a Wrangler secret (
BRAVE_API_KEY), never committed
Deployment
Prerequisites
- Cloudflare account
- Wrangler CLI authenticated (
wrangler login) - Brave Search API key
Deploy
npm install
# Set your Brave Search API key as a secret
wrangler secret put BRAVE_API_KEY
# Deploy to Cloudflare Workers
npm run deploy
The Worker will be available at https://brave-search-mcp-cloudflare.<your-subdomain>.workers.dev.
Health check
curl https://brave-search-mcp-cloudflare.<your-subdomain>.workers.dev/health
# {"status":"ok"}
Cloudflare Access Setup (recommended)
To protect the /mcp endpoint so only authorized clients can connect:
- Go to Zero Trust dashboard → Access → Applications
- Click Add an application → Self-hosted
- Set the application domain to your Worker URL with path
/mcp - Create a policy (e.g., allow specific email domains, or use Service Tokens for programmatic access)
- To create a Service Token: Access → Service Auth → Service Tokens → Create Service Token
Connecting an MCP client through Cloudflare Access
Use mcp-remote with your Service Token credentials:
{
"mcpServers": {
"brave-search": {
"command": "npx",
"args": [
"mcp-remote",
"https://brave-search-mcp-cloudflare.<your-subdomain>.workers.dev/mcp",
"--header",
"CF-Access-Client-Id:<your-client-id>",
"--header",
"CF-Access-Client-Secret:<your-client-secret>"
]
}
}
}
Local development
# Set your API key in .dev.vars (never commit this file)
echo "BRAVE_API_KEY=your_key_here" > .dev.vars
npm run dev
# Worker available at http://localhost:8787
# MCP endpoint: http://localhost:8787/mcp
Test with MCP Inspector:
npx @modelcontextprotocol/inspector http://localhost:8787/mcp
License
MIT — see LICENSE
Installing Brave Search Cloudflare
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/NolanFoster/brave-search-mcp-cloudflareFAQ
Is Brave Search Cloudflare MCP free?
Yes, Brave Search Cloudflare MCP is free — one-click install via Unyly at no cost.
Does Brave Search Cloudflare need an API key?
No, Brave Search Cloudflare runs without API keys or environment variables.
Is Brave Search Cloudflare hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Brave Search Cloudflare in Claude Desktop, Claude Code or Cursor?
Open Brave Search Cloudflare on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
ARA
Generate images, video and audio from any AI agent — one connector.
by ARAOmni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
by buildwithtazaYouTube
Transcripts, channel stats, search
by YouTubeEverArt
AI image generation using various models.
by modelcontextprotocolgpu-bridge/mcp-server
Unified GPU inference API with 30 AI services (LLM, image gen, video, TTS, whisper, embeddings, reranking, OCR) as MCP tools. Pay-per-use via x402 USDC or API k
by gpu-bridgehamflx/imagen3-mcp
A powerful image generation tool using Google's Imagen 3.0 API through MCP. Generate high-quality images from text prompts with advanced photography, artistic,
by hamflxmerterbak/Grok-MCP
MCP server for xAI's [Grok API](https://docs.x.ai/docs/overview) with agentic tool calling, image generation, vision, and file support.
by merterbakSureScaleAI/openai-gpt-image-mcp
OpenAI GPT image generation/editing MCP server.
by SureScaleAIYangLiangwei/PersonalizationMCP
Comprehensive personal data aggregation MCP server with Steam, YouTube, Bilibili, Spotify, Reddit and other platforms integrations. Features OAuth2 authenticati
by YangLiangweiAceDataCloud/MCPFlux
Flux AI image generation and editing (Black Forest Labs) via Ace Data Cloud API.
by AceDataCloudCompare Brave Search Cloudflare with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All media MCPs
