Gemini CLI
Give Gemini CLI real-time web search, content extraction, and citation-backed research through the You.com MCP Server. (Yes, Gemini’s CLI can use You.com — that’s what MCP is for.)
Quick setup
Add You.com to your Gemini CLI settings
Edit ~/.gemini/settings.json and add the You.com server under mcpServers:
Gemini CLI gotcha: Gemini CLI uses httpUrl (not url) for streamable HTTP MCP servers. This is different from Claude Code, Cursor, and VS Code.
This uses our free tier: 100 web searches per day, no signup.
Higher rate limits + full toolset
For unlimited queries and the full tool set:
Get a key at you.com/platform.
Local install (stdio)
For offline development or self-hosted use:
Omit YDC_API_KEY for free-tier behavior.
Quick demo
Troubleshooting
/mcp listshows nothing — confirm you usedhttpUrl(noturlorserverUrl). Gemini CLI silently ignores unrecognized keys.- Server connects but tools fail — Gemini CLI requires tool name allowlisting in some configs. Check
~/.gemini/settings.jsonfor amcpServers.you-com.includeToolsfield; remove it to allow all tools, or add"you-search","you-contents","you-research". - 401 / invalid key — regenerate at you.com/platform and re-paste, watching for extra whitespace.
spawn npx ENOENT(local install only) — install Node.js 18+ and ensurenpxis on yourPATH.