gemini-research-mcp
Provides web research through Google Gemini: runs Google searches with search grounding and fetches/summarizes URLs via Gemini's URL context tool, returning summaries and source links.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
gemini-research-mcp
A local MCP server (stdio) that hands web research to Gemini. Your assistant gets live search results and page summaries with source links, while the raw pages and search results stay out of its context.
Tool | Arguments | What it does |
|
| Runs a Google search via Gemini's search grounding and returns a summary plus a list of source URLs |
|
| Fetches one page via Gemini's URL context tool and summarizes it. Returns an error if the page could not be retrieved, instead of a guessed summary |
detail sets the length of the summary: low (≈ 300 words, default), normal (≈ 800), high (≈ 2000).
Requirements
Python ≥ 3.11 and Poetry 2.x
A Gemini API key from Google AI Studio. Search grounding needs a project with billing enabled: on the free tier
researchfails with429. Costs are per request, see Gemini pricing.
Related MCP server: @jhzhu89/mcp-server-web-search
Installation
git clone <repo-url> gemini-research-mcp
cd gemini-research-mcp
poetry install --only main # creates .venv/ in the project (see poetry.toml)
poetry run python configure.py # prompts for the API key, writes .env with mode 600Instead of running configure.py you can create .env yourself or pass the variables through your MCP client's config:
Variable | Default | |
| – | required |
|
| any Gemini model that supports search grounding and URL context |
Environment variables set by the client take precedence over .env.
Registering the server
The server is started by the client over stdio. Point the client at the interpreter inside .venv so no shell activation is needed:
macOS/Linux:
<repo>/.venv/bin/python <repo>/server.pyWindows:
<repo>\.venv\Scripts\python.exe <repo>\server.py
Claude Code (all projects):
claude mcp add --scope user gemini-research -- <repo>/.venv/bin/python <repo>/server.pyClaude Desktop: add to mcpServers in claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\), then restart the app:
{
"mcpServers": {
"gemini-research": {
"command": "<repo>/.venv/bin/python",
"args": ["<repo>/server.py"]
}
}
}Other MCP clients work the same way: a stdio server with the command above.
Troubleshooting
Error | Cause |
| No |
| Google retired the model for new keys. Set |
| Billing is not enabled, or the rate limit was hit |
| Model temporarily overloaded. Retry later or switch |
| Gemini could not fetch the page (paywall, bot protection, unreachable host) |
The server logs to stderr. In Claude Code, /mcp shows the connection status.
Development
poetry install
poetry run pytest # starts the server over stdio and checks the tool schemas, no API key neededLicense
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Provides AI assistants with access to Seltz's powerful Web Search capabilities.
Checks the most important factual claims in AI output against live web sources by default.
Web search, fetch, extract, and research for AI agents. Markdown output + AI-synthesized answers.
Enable AI assistants to perform web searches using Perplexity's Sonar Pro.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to perform comprehensive web research through tiered search, secure URL fetching with markdown conversion, and automated multi-source synthesis pipelines. Provides read-only tools with configurable caching, SSRF protection, and optional LLM-powered summarization for search results and content analysis.81MIT
- AlicenseNot gradedqualityDmaintenanceEnables web search via Azure OpenAI Responses API with the web_search_preview tool, returning results with citations.31 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables web search and webpage content fetching with SSRF protections, returning structured results.MIT
- AlicenseAqualityBmaintenanceEnables finding information online, reading web pages, finding images, capturing screenshots, and performing multi-source research with per-answer confidence.5AGPL 3.0