Skip to main content
Glama
machinemates-ai

Gemini Research MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_MODELNoModel for research_webgemini-3.7-flash
GEMINI_API_KEYYesGoogle AI Studio API key
FETCH_PROXY_URLNoDefault HTTP(S) proxy for fetch_webpage
DEEP_RESEARCH_AGENTNoDefault agent for research_deepdeep-research-preview-04-2026
GEMINI_SUMMARY_MODELNoModel for session summaries, titles, and clarificationgemini-3.7-flash
GEMINI_RESEARCH_HTTP_HOSTNoBind host for streamable-http. Non-loopback requires GEMINI_RESEARCH_HTTP_BEARER_TOKEN127.0.0.1
GEMINI_RESEARCH_HTTP_PATHNoURL path for streamable-http/mcp
GEMINI_RESEARCH_HTTP_PORTNoBind port for streamable-http8000
GEMINI_RESEARCH_TRANSPORTNostdio or streamable-httpstdio
GEMINI_RESEARCH_EXPORT_DIRNoDisk-first destination when export_research_session has no output_path~/.gemini-research/exports/
GEMINI_RESEARCH_STORAGE_URLNoRedis URL to share sessions/exports across multiple server instances/workers; falls back to local DiskStore when unset
GEMINI_RESEARCH_TTL_SECONDSNoOverride session/export TTL
GEMINI_RESEARCH_STORAGE_PATHNoCustom directory for the local DiskStore
GEMINI_RESEARCH_HTTP_BEARER_TOKENNoStatic bearer token required to call streamable-http. Never reuse GEMINI_API_KEY for this

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
research_runA

Run one research job on the selected engine as a background Task.

Each new submission can start a separate paid research job; a retried or resubmitted Task is a new job. Use get_research_run with the returned run_id to inspect or recover the result.

research_compareA

Run the same question on exactly two engines and return attributed reports.

This can incur two research workloads. No synthesis, merging or scoring is performed; the caller combines the reports.

research_webA

Web research with Gemini grounding. Returns an answer with citations.

Uses a fixed high thinking level for higher-quality grounded answers. Latency varies with the query and provider load.

Use for: quick lookups, fact-checking, current events, documentation, "what is", "how to", real-time information, news, API references, error messages.

research_deepA

Comprehensive autonomous research agent. Takes 3-20 minutes.

Uses the fast/default April 2026 Deep Research agent. Use this by default for interactive questions, exploratory research, competitive analysis, comparisons, and latency/cost-sensitive multi-source synthesis.

For maximum-comprehensiveness research, use research_deep_max instead.

For vague queries, the tool automatically asks clarifying questions to refine the research scope before starting (when elicitation is available).

research_deep_maxA

Maximum-comprehensiveness autonomous research agent.

Use when the user explicitly says "Max", "deep research max", "exhaustive", "comprehensive", "due diligence", "market map", "literature review", "high stakes", "board-ready", "offline/nightly", or asks for maximum completeness over speed.

For ordinary interactive research, use research_deep instead.

resume_researchA

Resume an interrupted or in-progress research_deep session.

Use when a research_deep call was cut short (client disconnect, transport error, cancellation) or when you want to check whether a long-running session has since completed on Gemini's servers.

Because research_deep persists its session at the start, the research continues on Gemini's side even when the MCP client goes away — this tool retrieves the result once it's ready.

Call with no arguments to list recoverable sessions. Call with an interaction_id (returned by the original research_deep call or by list_research_sessions) to check a specific session's status; if it has completed, the full report is returned. Hand the result off to export_research_session(format="docx") to save the report to disk.

export_research_sessionA

Save (export, download, archive) a completed research session to a file on disk — Word (.docx), Markdown (.md), or JSON. Use this to recover your report after a research_deep run completes or is interrupted, and to convert reports into a shareable Word document.

Disk-first contract. The file is always written to disk, and the absolute path is returned on the first line of the response as Saved to: <path>. When output_path is omitted the file lands in GEMINI_RESEARCH_EXPORT_DIR (default ~/.gemini-research/exports/). An EmbeddedResource is still attached so GUI hosts can expose their native "Save As" affordance.

Similar to Google's Deep Research export feature, the DOCX output is a professional Word document suitable for sharing, archiving, or further editing.

Supported formats:

  • docx: Word document with headings, lists, and table of contents

  • markdown: Clean .md file with full report and citations

  • json: Machine-readable, all metadata preserved

Typical recovery flow:

  1. research_deep(...) completes (or is resumed via resume_research).

  2. export_research_session(format="docx") — no other arguments needed; the path on disk is returned in the response text.

search_toolsB

Search for tools using natural language.

Returns matching tool definitions ranked by relevance, in the same format as list_tools.

call_toolB

Call a tool by name with the given arguments.

Use this to execute tools discovered via search_tools.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
get_research_modelsList available research models and their capabilities. Returns information about the models used by this server: - Quick research model (Gemini + Google Search grounding) - Deep Research Agent (autonomous multi-step research)
Available ExportsList all currently cached exports ready for download.

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation3/5

The research tools are mostly distinguishable by depth, latency, and explicit use-case guidance, but research_run, research_deep, research_deep_max, and research_web have nuanced overlapping intent. The generic search_tools/call_tool pair is clear as meta-tools but sits outside the research workflow.

Naming Consistency4/5

All names use snake_case and are readable, with a clear research_* family and verb_noun-style lifecycle/meta tools. The convention is not perfectly uniform because some tools use noun-prefixed research_* names while others start with a verb, but this is a minor deviation.

Tool Count5/5

Nine tools is well-scoped for a research server with quick web lookup, deep research variants, comparison, resume/export lifecycle, and meta-tool discovery. Each tool appears to serve a distinct workflow rather than inflating the surface unnecessarily.

Completeness3/5

The surface covers research web/deep/max/compare, resume, and export, but research_run explicitly relies on get_research_run, which is not present, leaving background research jobs with no stated way to inspect or recover results. Similarly, resume_research references list_research_sessions, which is absent from the tool set.

Maintenance

ActivityMaintained
ResponsivenessNo issues