https://github.com/leighmcculloch/mcp-gemini
A Claude MCP that chats to Google's Gemini
https://github.com/leighmcculloch/mcp-gemini
Last synced: about 1 month ago
JSON representation
A Claude MCP that chats to Google's Gemini
- Host: GitHub
- URL: https://github.com/leighmcculloch/mcp-gemini
- Owner: leighmcculloch
- Created: 2025-04-26T13:27:31.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-04-26T13:35:53.000Z (about 1 month ago)
- Last Synced: 2025-04-29T17:16:58.386Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Claude MCP Server for Google Gemini
A [Claude Model Context Protocol (MCP)] server that chats to Google's Gemini.
[Claude Model Context Protocol (MCP)]: https://www.claudemcp.com/
## Prerequisites
Set an environment variable containing a Gemini API key:
```
GEMINI_API_KEY=your_api_key_here
```## Usage (Claude Desktop)
To use with Claude Desktop:
1. Add the server config:
On macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
```json
{
"mcpServers": {
"mcp-gemini": {
"command": "npx",
"args": ["deno", "run", "--allow-read", "--allow-env", "--allow-net=generativelanguage.googleapis.com:443", "https://github.com/leighmcculloch/mcp-gemini/raw/refs/heads/main/mcp-gemini.ts"]
}
}
}
```2. Reopen Claude Desktop.
## Usage (Claude Code)
1. Add the server config:
```
claude mcp add \
--transport stdio \
--scope user \
mcp-gemini \
-- \
npx deno run --allow-read --allow-env --allow-net=generativelanguage.googleapis.com:443 https://github.com/leighmcculloch/mcp-gemini/raw/refs/heads/main/mcp-gemini.ts
```2. Reopen Claude Code.