Brave Deep Researchのロゴ

Brave Deep Research

コミュニティ
suthio

A Model Context Protocol (MCP) server that combines Brave Search with Puppeteer-powered content extraction for deep research capabilities. This server allows AI assistants to perform comprehensive…

公開者suthio
リポジトリbrave-deep-research-mcp
言語TypeScript
フォーク
5
スター
7
利用可能なツール
0
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

    Brave Deep Researchは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには7件のスターと5件のフォークがあります。

@suthio/brave-deep-research-mcp

A Model Context Protocol (MCP) server that combines Brave Search with Puppeteer-powered content extraction for deep research capabilities. This server allows AI assistants to perform comprehensive web searches by not only retrieving search results but also visiting the pages to extract full content and explore linked pages.

Comparison with Standard Brave Search MCP Server

Standard Brave Search MCP Server:

  • Search Capability: Uses the Brave Search API to perform basic web searches
  • Data Retrieval: Returns only the search results (title, URL, and snippet) provided by the API
  • Content Depth: No access to full webpage content beyond the search snippets
  • Page Exploration: No ability to visit pages or follow links
  • Information Scope: Limited to the brief information available in search results
  • Content Processing: No content extraction or cleaning capabilities
  • Customization: Limited to basic search parameters (query, count, offset)
  • Use Case: Best for quick searches where only an overview is needed

Brave Deep Research MCP Server (this project):

  • Search Capability: Uses Brave Search API for initial results, then enhances with web scraping
  • Data Retrieval: Extracts complete page content from each search result
  • Content Depth: Provides full webpage content with main text extraction
  • Page Exploration: Can traverse links to explore related content at configurable depths
  • Information Scope: Accesses comprehensive information across multiple related pages
  • Content Processing: Intelligently identifies and extracts main content, filtering out navigation, ads, footers, etc.
  • Customization: Configurable depth of exploration, result count, headless mode, and timeouts
  • Use Case: Ideal for in-depth research requiring detailed information and context

Practical Differences in an Example Query

For a query like "climate change mitigation technologies":

Standard Brave Search MCP:

Title: "Latest Climate Change Mitigation Technologies - Example Site"
URL: "https://example.com/climate-tech"
Snippet: "Various technologies are being developed to mitigate climate change, including carbon capture..."

(Limited to just these search result snippets)

Brave Deep Research MCP:

# Latest Climate Change Mitigation Technologies - Example Site
URL: https://example.com/climate-tech

## Content
Carbon capture and storage (CCS) technology has advanced significantly in recent years. The latest direct air capture facilities can now remove CO2 at a cost of $250 per ton, down from $600 just five years ago. Implementation challenges remain, including...

[Followed by several pages of detailed content from the original page and linked pages]

Features

  • Deep Search: Go beyond search results to extract complete page content
  • Configurable Depth: Specify how many levels of links to follow from initial results
  • Content Extraction: Intelligently identify and extract main content from pages
  • Metadata Extraction: Get titles, descriptions, and structured content
  • Debug Mode: Configurable logging for troubleshooting
  • Headless Mode Toggle: Run browser in visible or headless mode

Installation

bash
# Install from npm
npm install -g @suthio/brave-deep-research-mcp

# Or clone the repository
git clone https://github.com/suthio/brave-deep-research-mcp.git
cd brave-deep-research-mcp
npm install
npm run build

Configuration

Create a .env file based on the provided .env.example:

bash
# Copy the example env file
cp .env.example .env

# Edit the file to add your Brave API key and other settings
nano .env

Environment Variables

  • BRAVE_API_KEY: Your Brave Search API key (required)
  • PUPPETEER_HEADLESS: Whether to run Puppeteer in headless mode (default: true)
  • PAGE_TIMEOUT: Timeout for page loading in milliseconds (default: 30000)
  • DEBUG_MODE: Enable detailed debug logging (default: false)

Usage

Running from command line

bash
# If installed globally via npm
brave-deep-research-mcp

# Or run directly from the package
npx @suthio/brave-deep-research-mcp

# Or run locally after cloning
npm start

Using with Claude for Desktop

To use this server with Claude for Desktop:

  1. Install the package:
bash
npm install -g @suthio/brave-deep-research-mcp
  1. Edit the Claude for Desktop configuration file:

    • On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • On Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the following to the mcpServers section:

json
{
  "mcpServers": {
    "brave-deep-research": {
      "command": "npx",
      "args": ["@suthio/brave-deep-research-mcp"],
      "env": {
        "BRAVE_API_KEY": "your_brave_api_key_here",
        "PUPPETEER_HEADLESS": "true"
      }
    }
  }
}
  1. Restart Claude for Desktop
  2. You can now use the deep-search tool in your conversations

Example Queries

  • "Use deep-search to research the latest developments in quantum computing"
  • "Perform a deep search on climate change mitigation strategies with depth 2"
  • "Deep search for information about sustainable architecture, with 5 results"

Tool Parameters

The deep-search tool accepts the following parameters:

  • query (required): The search query
  • results (optional): Number of search results to process (default: 3, max: 10)
  • depth (optional): Depth of link traversal for each result (default: 1, max: 3)

Development

bash
# Clone the repository
git clone https://github.com/suthio/brave-deep-research-mcp.git
cd brave-deep-research-mcp

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build the project
npm run build

How It Works

  1. The tool first performs a search using the Brave Search API to get initial results
  2. For each search result, it launches a Puppeteer browser to visit the page
  3. It extracts the main content, metadata, and links from each page
  4. If depth > 1, it follows links on the page and repeats the process
  5. All extracted content is formatted and returned to the AI assistant

License

MIT

インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "brave-deep-research": {
      "command": "npx",
      "args": [
        "@suthio/brave-deep-research-mcp"
      ],
      "env": {
        "BRAVE_API_KEY": "your_brave_api_key_here",
        "PUPPETEER_HEADLESS": "true"
      }
    }
  }
}

Brave Deep ResearchのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Brave Deep Researchに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Brave Deep Researchをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Brave Deep ResearchのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "brave-deep-research": {
      "command": "npx",
      "args": [
        "-y",
        "@suthio/brave-deep-research-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてBrave Deep ResearchのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Brave Deep ResearchのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Brave Deep Researchを使ってこのタスクを手伝ってもらえますか?
Brave Deep Research
はい、読みました。
Brave Deep Researchで調べた結果をお伝えします。

よくある質問

Brave Deep Research MCPサーバーは何に使いますか?

Brave Deep Researchは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでBrave Deep Research MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでBrave Deep Researchを利用できます。

TypingMindでBrave Deep Research MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Brave Deep Researchを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Brave Deep Research MCPをTypingMindに接続するにはどうすればよいですか?

Brave Deep ResearchはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでBrave Deep Research MCPのどのようなツールを利用できますか?

Brave Deep ResearchはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Brave Deep Research MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Brave Deep Researchで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇