AG

alexcong/gemini-deepsearch-mcp

Developer tools

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

28 stars 11 forks 品質 56 トレンド 11

Gemini DeepSearch MCP is an automated research agent that leverages Google Gemini models and Google Search to perform deep, multi-step web research.

概要

Gemini DeepSearch MCP is an automated research agent that leverages Google Gemini models and Google Search to perform deep, multi-step web research. It generates sophisticated queries, synthesizes information from search results, identifies knowledge gaps, and produces high-quality, citation-rich answers. - using Gemini models and Google Search - for both HTTP API and stdio deployment - (low, medium, high) for research depth - with source tracking - with state management Start the LangGraph development server with Studio UI: Start the MCP server with stdio transport for integration with MCP clients: The deep_search tool accepts: - (string): The research question or topic to investigate - (string): Research effort level - "low", "medium", or "high" - : 1 query, 1 loop, Flash model - : 3 queries, 2 loops, Flash model - : 5 queries, 3 loops, Pro model (Development mode): - : Comprehensive research response with citations - : List of source URLs used in research (Claude Desktop...

README

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

Gemini DeepSearch MCP

Gemini DeepSearch MCP is an automated research agent that leverages Google Gemini models and Google Search to perform deep, multi-step web research. It generates sophisticated queries, synthesizes information from search results, identifies knowledge gaps, and produces high-quality, citation-rich answers.

Features

  • Automated multi-step research using Gemini models and Google Search
  • FastMCP integration for both HTTP API and stdio deployment
  • Configurable effort levels (low, medium, high) for research depth
  • Citation-rich responses with source tracking
  • LangGraph-powered workflow with state management

Usage

Development Server (HTTP + Studio UI)

Start the LangGraph development server with Studio UI:

make dev

Local MCP Server (stdio)

Start the MCP server with stdio transport for integration with MCP clients:

make local

Testing

Run the test suite:

make test

Test the MCP stdio server:

make test_mcp

Use MCP inspector

make inspect

With Langsmith tracing

GEMINI_API_KEY=AI******* LANGSMITH_API_KEY=ls******* LANGSMITH_TRACING=true make inspect

API

The deep_search tool accepts:

  • query (string): The research question or topic to investigate
  • effort (string): Research effort level - “low”, “medium”, or “high”
    • Low: 1 query, 1 loop, Flash model
    • Medium: 3 queries, 2 loops, Flash model
    • High: 5 queries, 3 loops, Pro model

Return Format

HTTP MCP Server (Development mode):

  • answer: Comprehensive research response with citations
  • sources: List of source URLs used in research

Stdio MCP Server (Claude Desktop integration):

  • file_path: Path to a JSON file containing the research results

The stdio MCP server writes results to a JSON file in the system temp directory to optimize token usage. The JSON file contains the same answer and sources data as the HTTP version, but is accessed via file path rather than returned directly.

Requirements

  • Python 3.12+
  • GEMINI_API_KEY environment variable

Installation

Install directly using uvx:

uvx install gemini-deepsearch-mcp

Claude Desktop Integration

To use the MCP server with Claude Desktop, add this configuration to your Claude Desktop config file:

macOS

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "gemini-deepsearch": {
      "command": "uvx",
      "args": ["gemini-deepsearch-mcp"],
      "env": {
        "GEMINI_API_KEY": "your-gemini-api-key-here"
      },
      "timeout": 180000
    }
  }
}

Windows

Edit %APPDATA%/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "gemini-deepsearch": {
      "command": "uvx",
      "args": ["gemini-deepsearch-mcp"],
      "env": {
        "GEMINI_API_KEY": "your-gemini-api-key-here"
      },
      "timeout": 180000
    }
  }
}

Linux

GitHub で README 全文を見る

インストール

uvx gemini-deepsearch-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "gemini-deepsearch": { "command": "uvx", "args": ["gemini-deepsearch-mcp"], "env": { "GEMINI_API_KEY": "your-gemini-api-key-here" }, "timeout": 180000 } } }