Skip to main content
Glama
brave-search-mcp

brave-search-mcp

by dodou

Brave Search MCP Server on Railway

This is a Brave Search MCP HTTP service deployed on Railway.

Deployment Methods

  1. Fork or upload this directory to a GitHub repository

  2. Log in to the Railway Dashboard

  3. Click New Project → Deploy from GitHub repo

  4. Select the repository you uploaded

    • Railway will automatically detect package.json and run npm start

    • Railway will automatically set the PORT environment variable

Method 2: Via Railway CLI

npm i -g @railway/cli
railway login
railway init
railway up

Related MCP server: Brave Search MCP Server

Environment Variables

You must set the following in the Railway Dashboard:

Variable Name

Description

Example

BRAVE_API_KEY

Required Brave Search API Key

BSA-xxxxxxxxxx

There is no need to manually set PORT; Railway handles it automatically.

Obtaining a Brave API Key

  1. Go to Brave Search API to register

  2. Select the Search plan (suitable for AI Agents)

  3. Generate an API Key in the Developer Dashboard

After Deployment

Railway will provide a domain like https://xxx.up.railway.app.

The MCP endpoint address is: https://xxx.up.railway.app/mcp

Local testing:

curl -s -X POST https://xxx.up.railway.app/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

Adding MCP to Hermes

After deployment, run:

# 添加 MCP 服务器
hermes mcp add brave-search --url https://你的域名.up.railway.app

# 确认无认证需求(API Key 在服务端设置)

This allows Hermes to perform searches via the Brave Search MCP service on Railway.

Available Tools

6 tools
brave_summarizerbrave_summarizerA
Retrieves AI-generated summaries of web search results using Brave's Summarizer API. This tool processes search results to create concise, coherent summaries of information gathered from multiple sources.

When to use:

- When you need a concise overview of complex topics from multiple sources
- For quick fact-checking or getting key points without reading full articles
- When providing users with summarized information that synthesizes various perspectives
- For research tasks requiring distilled information from web searches

Returns a text summary that consolidates information from the search results. Optional features include inline references to source URLs and additional entity information.

Requirements: Must first perform a web search using brave_web_search with summary=true parameter. Requires a Pro AI subscription to access the summarizer functionality.

Inputs: key (required), entity_info, inline_references.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool serves a distinct search type (web, image, news, video, local, summarizer) with clear descriptions. No overlapping purposes.

    Naming Consistency4/5

    All tools follow 'brave_<type>_search' pattern except 'brave_summarizer', which omits '_search', causing a minor inconsistency.

    Tool Count5/5

    Six tools cover all major search verticals (web, image, news, video, local, summarizer) without being excessive or insufficient.

    Completeness5/5

    The tool set provides a comprehensive search surface for web, images, news, video, local, and summarization, with no obvious gaps for a search-focused MCP server.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP Server implementation that integrates the Brave Search API, providing, Web Search, Local Points of Interest Search, Image Search, Video Search, News Search and LLM Context Search capabilities
      5
      991 npm
      131
      GPL 3.0
    • A
      license
      A
      quality
      B
      maintenance
      An MCP implementation that integrates the Brave Search API, providing comprehensive search capabilities including web, local business, image, video, news searches, and AI-powered summarization.
      8
      49,999 npm
      1,579
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables web search capabilities through the Brave Search API, including web search, local POI lookups, and rich search results retrieval for MCP-compatible clients.
      4
      58 npm
      MIT