MCP server for AI-powered research using Gemini: quick grounded search + Deep Research Agent
Project description
Gemini Research MCP Server
MCP server for AI-powered research using Gemini. Fast grounded search + comprehensive Deep Research.
Tools
| Tool | Description | Latency |
|---|---|---|
research_web |
Fast web search with citations | 5-30 sec |
research_deep |
Multi-step autonomous research | 3-20 min |
research_followup |
Continue conversation after research | 5-30 sec |
Workflow
research_web ─── quick lookup ───▶ Got what you need? ── yes ──▶ Done
│ │
│ no
│ ▼
└──────────────────────────────▶ research_deep ──▶ Comprehensive report
│
▼
research_followup ──▶ Dive deeper
Features
- Auto-Clarification:
research_deepasks clarifying questions for vague queries via MCP Elicitation - MCP Tasks: Real-time progress with streaming updates
- File Search: Search your own data alongside web using
file_search_store_names - Format Instructions: Control report structure (sections, tables, tone)
- Models Resource: Discover available models via
research://models
Installation
pip install gemini-research-mcp
# or
uv add gemini-research-mcp
From source:
git clone https://github.com/fortaine/gemini-research-mcp
cd gemini-research-mcp
uv sync
Configuration
| Variable | Required | Default | Description |
|---|---|---|---|
GEMINI_API_KEY |
Yes | — | Google AI Studio API key |
GEMINI_MODEL |
No | gemini-3-flash-preview |
Model for research_web |
DEEP_RESEARCH_AGENT |
No | deep-research-pro-preview-12-2025 |
Agent for research_deep |
cp .env.example .env
# Edit .env with your API key
Usage
VS Code MCP
Add to .vscode/mcp.json:
{
"servers": {
"gemini-research": {
"command": "uvx",
"args": ["gemini-research-mcp"],
"env": {
"GEMINI_API_KEY": "your-api-key"
}
}
}
}
Or run from source:
{
"servers": {
"gemini-research": {
"command": "uv",
"args": ["--directory", "path/to/gemini-research-mcp", "run", "gemini-research-mcp"],
"envFile": "${workspaceFolder}/path/to/gemini-research-mcp/.env"
}
}
}
Command Line
uv run gemini-research-mcp
# or
uvx gemini-research-mcp
Development
uv sync --extra dev
uv run pytest
uv run mypy src/
uv run ruff check src/
Tests
uv run pytest # Unit tests
uv run pytest -m e2e # E2E tests (requires GEMINI_API_KEY)
uv run pytest --cov=src/gemini_research_mcp # With coverage
Pricing
| Tool | Typical Cost |
|---|---|
research_web |
~$0.01-0.05 per query |
research_deep |
~$2-5 per task |
Deep Research uses ~80-160 searches and ~250k-900k tokens per task.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gemini_research_mcp-0.1.4.tar.gz.
File metadata
- Download URL: gemini_research_mcp-0.1.4.tar.gz
- Upload date:
- Size: 100.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cee1a5442fee54e23ee58ef4385b057a0f4f60b5eab45a0f1f429c3d01b01f3e
|
|
| MD5 |
222d78f6a61da4e4c86a0a181f450ef2
|
|
| BLAKE2b-256 |
a1566a61583508bc156b952af60a68719d2ab39121120856380ac0852da50bd1
|
Provenance
The following attestation bundles were made for gemini_research_mcp-0.1.4.tar.gz:
Publisher:
publish.yml on fortaine/gemini-research-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gemini_research_mcp-0.1.4.tar.gz -
Subject digest:
cee1a5442fee54e23ee58ef4385b057a0f4f60b5eab45a0f1f429c3d01b01f3e - Sigstore transparency entry: 834631920
- Sigstore integration time:
-
Permalink:
fortaine/gemini-research-mcp@ff2bb113197675fb2fd79a8c568927ae58c51b9a -
Branch / Tag:
refs/tags/0.1.4 - Owner: https://github.com/fortaine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ff2bb113197675fb2fd79a8c568927ae58c51b9a -
Trigger Event:
release
-
Statement type:
File details
Details for the file gemini_research_mcp-0.1.4-py3-none-any.whl.
File metadata
- Download URL: gemini_research_mcp-0.1.4-py3-none-any.whl
- Upload date:
- Size: 28.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42d96b2509c264236d1bdf866db81cf685d3012e4ab3426dfc793ce73aa0670b
|
|
| MD5 |
1e4e3e5f32a9ecd47313f758394413d1
|
|
| BLAKE2b-256 |
72721c130bd087673f25e1b5b822d2f1008af525005e020c982124eb5b7ae721
|
Provenance
The following attestation bundles were made for gemini_research_mcp-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on fortaine/gemini-research-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gemini_research_mcp-0.1.4-py3-none-any.whl -
Subject digest:
42d96b2509c264236d1bdf866db81cf685d3012e4ab3426dfc793ce73aa0670b - Sigstore transparency entry: 834631954
- Sigstore integration time:
-
Permalink:
fortaine/gemini-research-mcp@ff2bb113197675fb2fd79a8c568927ae58c51b9a -
Branch / Tag:
refs/tags/0.1.4 - Owner: https://github.com/fortaine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ff2bb113197675fb2fd79a8c568927ae58c51b9a -
Trigger Event:
release
-
Statement type: