Gemini CLI vs ref-tools-mcp
Gemini CLI: Gemini CLI is Google's open-source AI agent for the terminal, providing direct access to Gemini models with a free tier of 60 requests/minute and 1,000/day. It ships with built-in tools for Google Search grounding, file operations, shell command execution, and web fetching, plus native MCP support for custom integrations. Built for developers who work primarily in the command line.; ref-tools-mcp: Ref MCP is a server that enables AI coding tools and agents to access technical documentation efficiently. It optimizes token usage by filtering search results and extracting only the most relevant parts of documentation pages, helping models stay focused and reducing operational costs.
TL;DR
- You want an Apache-2.0 terminal coding and task agent from Google with a generous free tier using a personal Google account.
- You want built-in file editing, shell execution, Google Search grounding, MCP server support, and a GitHub Action for CI.
- You want to switch freely between Claude, OpenAI, DeepSeek, and local Ollama models inside the same terminal agent; Open Interpreter supports any OpenAI-compatible provider.
- You prefer a graphical desktop workspace over a command-line interface; AionUi or Cherry Studio provide GUI clients.
- Context size is your main concern: page reads return about the most relevant 5k tokens, and repeat searches do not return the same results in a session.
- You want two simple tools, search and read-URL, in Claude Code, Cursor or another MCP client.
- You want to search private resources such as repos and PDFs alongside public docs.
- You cannot send queries to a vendor: it needs an API key and the hosted ref.tools service.
- You want the recommended HTTP server: this repository is the legacy stdio server.
- You need independent proof of the token savings: the README's numbers are the project's own example traces.
Side-by-Side Comparison
Features
Use Cases
Best For
FAQ
Deploy on DigitalOcean
Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.