gemini_promptLABSCO SUMMARY
A second model's read without leaving the conversation you are already in.
gemini_analyze_code is the one with a purpose beyond 'ask another model': it takes files plus a mode — review, security, testing — so the answer comes back shaped rather than freeform. Run the bundled setup check first, because most failures here are really authentication failures in the underlying tool.
What it is
A server that wraps the Gemini command-line tool and exposes prompting, research, code analysis and summarization as four tools.
What you get
- gemini_prompt — send a prompt to Gemini and get the response back
- gemini_research — research a topic, optionally with files as context
- gemini_analyze_code — analyze code files for review, explanation, optimization, security or testing
- gemini_summarize — summarize content given as text or as files
- A setup command that checks the command-line tool's installation, authentication and environment before you wire anything in
Requirements
The Gemini command-line tool installed and signed in on the same machine — the server shells out to it, so an unauthenticated tool means every call fails. Runs as a Python package through uv. This is a community project, not affiliated with Google.
Setup effort
One command plus credentials — uvx --from git+https://github.com/DiversioTeam/gemini-cli-mcp gemini-mcp, then supply credentials
USE CASES
Getting a second opinion on a diff
Point it at the changed files with the review mode and read both models' takes in one thread.
Researching something with your own files as context
Ask the research tool for the topic and attach the files it should reason over.
Condensing a long document
Pass the text or the file and get a summary without switching applications.
Checking code for security problems specifically
Run the analysis in security mode rather than asking an open-ended question.
4 tools
Listed in project docs. Your client may show a different list.
gemini_researchgemini_analyze_codegemini_summarizeBEFORE YOU INSTALL
What to know first
Tools you get
4 tools named in the project's documentation.
Requires
- uvx on PATH
- Gemini CLI installed and signed in (gemini auth login)
Where it runs
Both documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
uvx --from git+https://github.com/DiversioTeam/gemini-cli-mcp gemini-mcpMCP Clients
Claude Code
{
"mcpServers": {
"gemini": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/DiversioTeam/gemini-cli-mcp.git",
"gemini-mcp"
]
}
}
}Claude Desktop
{
"mcpServers": {
"gemini": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/DiversioTeam/gemini-cli-mcp.git",
"gemini-mcp"
],
"env": {
"LOG_LEVEL": "INFO"
}
}
}
}