Gemini

by alexcong

Not rated
GitHub

About

Provides access to Google Gemini AI capabilities as tools.

Details

Author
alexcong
Categories
Cloud Service, AI, Other

Setup

Install Gemini in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/alexcong/gemini-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

A Model Context Protocol (MCP) server that provides Google Gemini AI capabilities as tools. Built with Deno and TypeScript.

- ask_gemini: Unified AI assistant powered by Gemini 3 Pro with built-in Google Search and URL analysis capabilities

- Deno(v1.40+)
- Google Gemini API key (
Get one here)

The easiest way is to use the published JSR package directly in your Claude Desktop configuration:

# No installation needed! Use jsr:@cong/gemini-mcp directly in your Claude config
git clone <repository-url> cd gemini-mcp
export GEMINI_API_KEY=your_api_key_here export GEMINI_MODEL=gemini-3-pro-preview
# Set your environment variables first export GEMINI_API_KEY=your_api_key_here export GEMINI_MODEL=gemini-3-pro-preview # Development mode (with watch) deno task dev # Production mode deno task start

To test the server with the MCP Inspector, make sure your environment variables are set:

# Set environment variables in your shell export GEMINI_API_KEY=your_api_key_here export GEMINI_MODEL=gemini-3-pro-preview # Install MCP Inspector if you haven't already npm install -g @modelcontextprotocol/inspector # Run the inspector npx @modelcontextprotocol/inspector src/server.ts

Important: The environment variables must be set in the same shell where you run the MCP Inspector.

# Run all tests deno task test # Run tests with watch mode deno task test:watch
# Format code deno fmt # Lint code deno lint

The unified AI assistant powered by Gemini 3 Pro with built-in Google Search and URL analysis capabilities.

- prompt(required): Your question or request. Include URLs directly in the text for analysis.

{ "name": "ask_gemini", "arguments": { "prompt": "What are the latest developments in quantum computing? Please analyze this paper: https://arxiv.org/abs/2301.01234" } }

- πŸ” Automatically searches the web for current information
- πŸ“„ Analyzes URLs mentioned in your prompt text
- 🧠 Uses Gemini 3 Pro with thinking capabilities, urlContext and googleSearch tools
- πŸ“š Provides comprehensive, well-sourced answers with enhanced reasoning

- @modelcontextprotocol/sdk- MCP TypeScript SDK
-
@google/generative-ai- Google Gemini API client
-
zod- Runtime type validation
-
@std/assert- Deno standard library assertions

This project uses Deno with TypeScript. Key development commands:

- deno task dev- Start development server with watch mode
- deno task test- Run test suite
- deno cache src/server.ts- Cache dependencies
- deno fmt- Format code
- deno lint- Lint code
-

Verify your environment variables are set:

For MCP Inspector testing, ensure both variables are set in the same terminal:

export GEMINI_API_KEY=your_api_key_here export GEMINI_MODEL=gemini-3-pro-preview npx @modelcontextprotocol/inspector src/server.ts

Check the server logs: When the server starts, it will show(API Key: configured)to confirm your key is loaded.

- Google Gemini API Documentation
-
Model Context Protocol
-
Deno Documentation

To use this MCP server with Claude Desktop, add it to your Claude configuration:

- macOS:~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:%APPDATA%\Claude\claude_desktop_config.json

{ "mcpServers": { "gemini": { "command": "deno", "args": [ "run", "--allow-net", "--allow-env", "jsr:@cong/gemini-mcp" ], "env": { "GEMINI_API_KEY": "your_api_key_here", "GEMINI_MODEL": "gemini-3-pro-preview" } } } }

If you're running from source code:

{ "mcpServers": { "gemini": { "command": "deno", "args": [ "run", "--allow-net", "--allow-env", "src/server.ts" ], "env": { "GEMINI_API_KEY": "your_api_key_here", "GEMINI_MODEL": "gemini-3-pro-preview" } } } }

- Fork the repository
- Create a feature branch
- Make your changes
- Run tests:deno task test
- Format code:deno fmt
- Submit a pull request

MIT License - seeLICENSEfile for details.

The DataFast MCP server lets MCP-compatible clients such as Codex, Claude Code, and Cursor query your analytics and manage your account through natural language.

Competitive intelligence platform with 24 tools β€” monitor competitor pricing, content, positioning, tech stacks, and how ChatGPT, Claude, and Gemini rank your brand.

MCP Server for full Easypanel control via Claude Code, Cursor and Claude Desktop.

Free crypto news API + MCP - real-time aggregator for Bitcoin, Ethereum, DeFi, Solana & altcoins. No API key required. RSS/Atom feeds, JSON REST API, historical archive with market context, embeddable widgets, ChatGPT plugin, Claude MCP server, SDKs (Python, TypeScript, Go, React, PHP). AI/LLM ready. Vibe coding friendly. Open source.

An MCP server to interact with Google's Gemini AI models, requiring a Gemini API key.

An MCP server for Google Gemini AI featuring Smart Tool Intelligence and self-contained, configurable preferences.

Access Google's Gemini AI through the gemini-cli command-line tool.

A Model Context Protocol (MCP) server for managing app publishing on Huawei AppGallery Connect. Integrates directly with Claude Desktop or any MCP-compatible client.

Interact with Infactory APIs using Claude and other large language models.

An MCP server for Google's Gemini CLI, allowing AI assistants to leverage Gemini's capabilities.

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.