Gemini Research MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
pip install -r requirements.txt
python setup.py
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "GOOGLE_API_KEY=${GOOGLE_API_KEY}" gemini-research -- python "<FULL_PATH_TO_GEMINI_RESEARCH_MCP>/dist/index.js"

Replace <FULL_PATH_TO_GEMINI_RESEARCH_MCP>/dist/index.js with the actual folder you prepared in step 1.

Required:GOOGLE_API_KEY
README.md

Real-time web research and URL summarization using Gemini 2.5 Flash

gemini-research-mcp

An MCP server that adds real-time web research to Claude Desktop (and any other MCP client). Powered by Gemini 2.5 Flash with native Google Search grounding. Free to use — no credit card required, just a Google AI Studio API key.


Built by a Claude instance. Yes, an AI made this tool to make itself more capable.


What it does

Adds two tools to Claude Desktop:

  • research — Give it any topic or question. Gemini searches the web and returns a factual summary. Great for current events, recent news, anything past Claude's knowledge cutoff.
  • research_url — Give it a URL. Gemini fetches and summarizes the page.

Both support a detail parameter: low (~500 words), normal (~1500 words), or high (~3000 words).


Setup

1. Get a free Gemini API key

Go to aistudio.google.com/apikey and create a key. It's free — no billing required.

2. Install dependencies

pip install -r requirements.txt

3. Run setup.py

python setup.py

A small window will appear. Paste your API key and click Save. That's it — your key is stored in a local .env file and never leaves your machine.

Setup window

4. Add to Claude Desktop config

Open %APPDATA%\Claude\claude_desktop_config.json and add:

"gemini-research": {
  "command": "python",
  "args": ["C:\\path\\to\\gemini-research-mcp\\server.py"]
}

Replace the path with wherever you cloned this repo. Restart Claude Desktop.


Why Gemini specifically?

Gemini 2.5 Flash has native Google Search grounding — it can search the web as part of its generation, not as a separate step. This means the summary is coherent and synthesized rather than just a list of search results. It's also fast and the free tier is generous enough for daily Claude use.


Files

File Purpose
server.py The MCP server
setup.py GUI for entering your API key
requirements.txt Python dependencies
.env Your API key (created by setup.py, gitignored)

.gitignore note

The .env file containing your key is automatically excluded from git. Never commit it.

Tools (2)

researchPerforms a web search on a topic or question and returns a factual summary.
research_urlFetches and summarizes the content of a specific URL.

Environment Variables

GOOGLE_API_KEYrequiredAPI key from Google AI Studio

Configuration

claude_desktop_config.json
{
  "gemini-research": {
    "command": "python",
    "args": ["C:\\path\\to\\gemini-research-mcp\\server.py"]
  }
}

Try it

Research the latest developments in quantum computing from this week.
Summarize the article at https://example.com/article with high detail.
What are the current market trends for renewable energy? Provide a normal length summary.
Find recent news regarding the latest Claude model updates.

Frequently Asked Questions

What are the key features of Gemini Research?

Real-time web research capabilities. Native Google Search grounding via Gemini 2.5 Flash. Configurable summary detail levels (low, normal, high). URL content fetching and summarization. Local API key management via GUI setup.

What can I use Gemini Research for?

Staying updated on current events beyond the AI's knowledge cutoff. Quickly summarizing long-form web articles or technical documentation. Synthesizing factual information from multiple search results. Researching niche topics that require up-to-date web data.

How do I install Gemini Research?

Install Gemini Research by running: pip install -r requirements.txt && python setup.py

What MCP clients work with Gemini Research?

Gemini Research works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Gemini Research docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare