MCP servers · Google Gemini API · MCP server + skill
Connect Claude Code to Google Gemini API
One line gives Claude Code your Google Gemini API account as tools: 4 endpoints, embed, models, chat, called with your own connection. No key in the prompt, a receipt for every call, revoke Claude Code's access alone any time.
Three steps
- Create a free 0n3 account and connect Google Gemini API. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Claude Code. Claude in your Terminal. Paste one line, and Claude can use every app you added.
- Ask Claude Code: whoami. Then: "Embed content in Google Gemini API".
Paste this in Terminal and press Enter
claude mcp add --transport http --scope user 0n3 https://0n3.app/mcp --header "Authorization: Bearer <your 0n token>"
The line above carries a placeholder; 0n3.app/install mints a real key named for Claude Code and fills it in.
What Claude Code can then do in Google Gemini API
Embed · Text embeddings1
Embed content
POST /models/{model}:embedContentModels · List available models3
List models
GET /modelsGenerate a content
POST /models/{model}:generateContentCount tokens
POST /models/{model}:countTokensChat · Generate content (text, vision, tools)0
Generate content (text, vision, tools)
Google Gemini API in other AI clients
Claude (desktop & claude.ai) + Google Gemini APIconnectorChatGPT + Google Gemini APIconnector · GPT actionGrok Bot (xAI) + Google Gemini APIcustom connectorCodex CLI + Google Gemini APIMCP serverGemini CLI + Google Gemini APIMCP serverCursor + Google Gemini APIMCP serverVS Code (Copilot) + Google Gemini APIMCP serverWindsurf + Google Gemini APIMCP server
