DL

dedalus-labs/brave-search-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

29 stars 12 forks 品質 68 トレンド 29

ストリーミング可能なHTTP経由でMCPサーバーを検索する

概要

Brave Search API を統合した MCP サーバーの実装で、Web とローカル検索の両方の機能を提供します。 - : 一般的な質問、ニュース、記事、ペジネーションと鮮度管理 - : 詳細な情報でビジネス、レストラン、サービスを検索 - : 結果の種類、安全レベル、およびコンテンツの鮮度を制御する - : ローカル検索は、結果が見つからない場合、自動的にWebに落ちる - paginationとフィルタリングでWeb検索を実行 - 入力: - クエリ(文字列):検索条件 - カウント(オプション):ページごとの結果(最大20) - オフセット(番号、オプション):Paginationオフセット(最大9) - - ローカル企業やサービスの検索 - 入力: - クエリ(文字列): ローカル検索条件 - カウント(番号、オプション):結果の数(最大20) - ローカル結果が見つからない場合、自動的にWeb検索に戻る 1。 ブレイブ検索APIアカウント2にサインアップします。 プランを選択してください(2,000件の問い合わせ/月で無料ティア利用可) 3.

概要(AI 翻訳)

Brave Search API を統合した MCP サーバーの実装で、Web とローカル検索の両方の機能を提供します。

##特徴

-ウェブ検索:一般的な質問、ニュース、記事、パジネーションと鮮度管理 -ローカル検索:ビジネス、レストラン、およびサービスの詳細情報を検索 -柔軟なフィルタリング:結果の種類、安全レベル、コンテンツの鮮度を制御 -スマートフォールバック: 結果が見つからない場合、ローカル検索は自動的にWebに落ちます

ツール

  • **brave web search **

  • Web検索をパジネーションとフィルタリングで実行

  • 入力:

  • query (文字列): 検索条件

  • [count (番号、オプション): 1ページあたりの結果(最大20)

  • [offset(番号、オプション):パジネーションオフセット(最大9)

  • **brave local search **

  • ローカルビジネスやサービスを検索

  • 入力:

  • query (文字列): ローカル検索条件

  • [count(オプション):結果の数(最大20)

  • ローカル結果が見つからない場合、自動的にWeb検索に落ちます

設定

API キーの取得

1。 Brave Search APIアカウントに登録する 2. プランを選択してください(2,000件の問い合わせ/月で無料ティア利用可) 3。 開発者ダッシュボードからAPIキーを生成する

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Brave Search MCP Server

An MCP server implementation that integrates the Brave Search API, providing both web and local search capabilities.

Features

  • Web Search: General queries, news, articles, with pagination and freshness controls
  • Local Search: Find businesses, restaurants, and services with detailed information
  • Flexible Filtering: Control result types, safety levels, and content freshness
  • Smart Fallbacks: Local search automatically falls back to web when no results are found

Tools

  • brave_web_search

    • Execute web searches with pagination and filtering
    • Inputs:
      • query (string): Search terms
      • count (number, optional): Results per page (max 20)
      • offset (number, optional): Pagination offset (max 9)
  • brave_local_search

    • Search for local businesses and services
    • Inputs:
      • query (string): Local search terms
      • count (number, optional): Number of results (max 20)
    • Automatically falls back to web search if no local results found

Configuration

Getting an API Key

  1. Sign up for a Brave Search API account
  2. Choose a plan (Free tier available with 2,000 queries/month)
  3. Generate your API key from the developer dashboard

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

Docker

{
  "mcpServers": {
    "brave-search": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "BRAVE_API_KEY",
        "mcp/brave-search"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

NPX

{
  "mcpServers": {
    "brave-search": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-brave-search"
      ],
      "env": {
        "BRAVE_API_KEY": "YOUR_API_KEY_HERE"
      }
    }
  }
}

Usage with VS Code

For quick installation, use the one-click installation buttons below…

GitHub で README 全文を見る

インストール

docker run -i --rm -e BRAVE_API_KEY mcp/brave-search
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "brave-search": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "BRAVE_API_KEY", "mcp/brave-search" ], "env": { "BRAVE_API_KEY": "YOUR_API_KEY_HERE" } } } }