This python program allows you to use Claude Code with Google's Gemini models.
# Add to your Claude Code skills
git clone https://github.com/coffeegrind123/gemini-for-claude-codeThis server acts as a bridge, enabling you to use Claude Code with Google's powerful Gemini models. It translates API requests and responses between the Anthropic format (used by Claude Code) and the Gemini format (via LiteLLM), allowing seamless integration.

haiku, sonnet, opus aliases) to your chosen Gemini models./health and /test-connection for easier troubleshooting of your setup./v1/messages/count_tokensnpm install -g @anthropic-ai/claude-code).Clone the repository:
git clone https://github.com/coffeegrind123/gemini-code.git # Or your fork
cd gemini-code
Create and activate a virtual environment (recommended):
python3 -m venv .venv
source .venv/bin/activate
Install dependencies:
pip install -r requirements.txt
Configure Environment Variables...