gemsuite (google gemini).com
gemsuite (google gemini).com logo

GemSuite (Google Gemini)

Integrates with Google's Gemini API through specialized tools for search, reasoning, processing, and file analysis, auto...

Created byApr 23, 2025

GemSuite MCP: The Most Comprehensive Gemini API Integration for Model Context Protocol

The ultimate open-source server for advanced Gemini API interaction with Model Context Protocol (MCP), intelligently selecting models for optimal performance, minimal token cost, and seamless integration.

GemSuite MCP Logo <br><br/> ![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg) ![TypeScript](https://img.shields.io/badge/TypeScript-4.9.5-blue?logo=typescript) ![MCP](https://img.shields.io/badge/MCP-Compatible-38c7b0?logo=cloudsmith) ![smithery badge](https://smithery.ai/badge/@PV-Bhat/gemsuite-mcp) ![Node.js](https://img.shields.io/badge/Node.js-16%2B-339933?logo=node.js) <br><br/><a href="https://glama.ai/mcp/servers/m2ljvlatlu"> <img width="300" height="170" src="https://glama.ai/mcp/servers/m2ljvlatlu/badge" /> </a><br><br/> Professional Gemini API integration for Claude and all MCP-compatible hosts with intelligent model selection and advanced file handling
Evolved from the [geminiserchMCP](https://github.com/Lorhlona/geminiserchMCP) project with enhanced capabilities
Installation Features Usage Examples Models Contributing

What is GemSuite MCP?

GemSuite (Model Context Protoco) MCP is the ultimate Gemini API integration interface for MCP hosts, intelligently selecting models for the task at hand delivering optimal performance, minimal token cost, and seamless integration. It enables any MCP-compatible host (Claude, Cursor, Replit, etc.) to seamlessly leverage Gemini's capabilities with a focus on:
  1. Intelligence: Automatically selects the optimal Gemini model based on task and content
  1. Efficiency: Optimizes token usage and performance across different workloads
  1. Simplicity: Provides a clean, consistent API for complex AI operations
  1. Versatility: Advanced file handling; Handles multiple file types, operations, and use cases
Whether you're analyzing documents, solving complex problems, processing large text files, or searching for information, GemSuite MCP provides the right tools with the right models for the job.

Why GemSuite MCP?

Unlike other Gemini MCP servers that offer limited functionality, GemSuite MCP provides:
Intelligent Model Selection: Automatically selects the optimal Gemini model based on task Unified File Handling: Seamlessly processes various file types with automatic format detection Comprehensive Tool Suite: Four specialized tools covering search, reasoning, processing, and analysis Production-Ready: Deployed and validated on Smithery.ai, MCP.so, and Glama.io

Installation

Option 1: Smithery.ai (Recommended)

Option 2: Manual Installation

API Key Setup

  1. Obtain a Gemini API key from Google AI Studio
  1. Set it as an environment variable:or create a .env file in the project root:

Key Features

Unified File Handling

  • Seamless File Processing: All tools support file inputs via the file_path parameter
  • Automatic Format Detection: Correct handling of various file types with appropriate MIME types
  • Multimodal Support: Process images, documents, code files, and more
  • Batch Processing: Support for processing multiple files in a single operation

Intelligent Model Selection

GemSuite MCP automatically selects the most appropriate Gemini model based on:
  • Task Type: Search, reasoning, processing, or analysis
  • Content Type: Text, code, images, or documents
  • Complexity: Simple queries vs. complex reasoning
  • User Preferences: Optional manual overrides
This intelligence ensures optimal performance while minimizing token usage.

Specialized Tools

[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]

Robust Error Handling

  • Exponential Backoff: Graceful handling of API rate limits
  • Comprehensive Error Detection: Clear identification of error sources
  • Actionable Messages: Detailed error information for troubleshooting
  • Recovery Mechanisms: Intelligent fallbacks when primary approaches fail

Usage

In Claude or Other MCP-Compatible Hosts

When using GemSuite MCP with Claude or other MCP-compatible hosts, the tools will be available directly in the assistant's toolkit. Simply call the appropriate tool for your needs:

Tool Selection Guide

  • `gem_search`: For factual questions requiring search integration
  • `gem_reason`: For complex problems requiring step-by-step reasoning
  • `gem_process`: For efficient processing of text or files (most token-efficient)
  • `gem_analyze`: For detailed analysis of files with automatic model selection

Usage Examples

image

Claude Desktop Using GemSuite Gemini Search to access Google Search

Processing Files (Most Token-Efficient)

Analyzing Files

Complex Reasoning

Searching with Files

Model Characteristics

GemSuite MCP leverages three primary Gemini models, intelligently selecting the optimal model for each task:

Gemini 2.0 Flash

  • 1M token context window: Process extensive content
  • Search integration: Ground responses in current information
  • Multimodal capabilities: Handle text, images, and more
  • Balanced performance: Good mix of quality and speed

Gemini 2.0 Flash-Lite

  • Most cost-efficient: Minimize token usage
  • Fastest response times: Ideal for high-volume operations
  • Text-focused: Optimized for text processing
  • Optimal for efficiency: When search and reasoning aren't needed

Gemini 2.0 Flash Thinking

  • Enhanced reasoning: Logical analysis and problem-solving
  • Step-by-step analysis: Shows reasoning process
  • Specialized capabilities: Excels at complex calculations
  • Best for depth: When thorough analysis is necessary

Workflow Examples

Document Analysis Workflow

Code Review Workflow

Integration with Other MCP Hosts

GemSuite MCP works with any MCP-compatible host:
  • Claude Desktop: Seamless integration with Claude's powerful reasoning capabilities
  • Cursor IDE: Enhanced coding assistance with Gemini's capabilities
  • Replit: Code generation and analysis directly in your development environment
  • Other MCP Hosts: Compatible with any platform implementing the MCP standard

Advanced Configuration

Custom Model Selection

You can override the automatic model selection by specifying the model_id parameter:

Available Operations for `gem_process`

  • summarize: Create a concise summary
  • extract: Extract specific information
  • restructure: Reorganize content into a more useful format
  • simplify: Make complex content easier to understand
  • expand: Add detail or context to content
  • critique: Provide critical analysis
  • feedback: Offer constructive feedback
  • analyze: General analysis of content

Contributing

Contributions are welcome! Here's how to get started:
  1. Fork the repository
  1. Create a feature branch: git checkout -b feature/my-new-feature
  1. Make your changes
  1. Run tests: npm test
  1. Commit your changes: git commit -m 'Add my new feature'
  1. Push to your branch: git push origin feature/my-new-feature
  1. Submit a pull request
For major changes, please open an issue first to discuss what you'd like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • Google Gemini - For the powerful AI models that power this server

Links


GemSuite MCP: The Most Comprehensive Gemini API Integration for Model Context Protocol

The ultimate open-source server for advanced Gemini API interaction with Model Context Protocol (MCP), intelligently selecting models for optimal performance, minimal token cost, and seamless integration.

GemSuite MCP Logo <br><br/> ![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg) ![TypeScript](https://img.shields.io/badge/TypeScript-4.9.5-blue?logo=typescript) ![MCP](https://img.shields.io/badge/MCP-Compatible-38c7b0?logo=cloudsmith) ![smithery badge](https://smithery.ai/badge/@PV-Bhat/gemsuite-mcp) ![Node.js](https://img.shields.io/badge/Node.js-16%2B-339933?logo=node.js) <br><br/><a href="https://glama.ai/mcp/servers/m2ljvlatlu"> <img width="300" height="170" src="https://glama.ai/mcp/servers/m2ljvlatlu/badge" /> </a><br><br/> Professional Gemini API integration for Claude and all MCP-compatible hosts with intelligent model selection and advanced file handling
Evolved from the [geminiserchMCP](https://github.com/Lorhlona/geminiserchMCP) project with enhanced capabilities
Installation Features Usage Examples Models Contributing

What is GemSuite MCP?

GemSuite (Model Context Protoco) MCP is the ultimate Gemini API integration interface for MCP hosts, intelligently selecting models for the task at hand delivering optimal performance, minimal token cost, and seamless integration. It enables any MCP-compatible host (Claude, Cursor, Replit, etc.) to seamlessly leverage Gemini's capabilities with a focus on:
  1. Intelligence: Automatically selects the optimal Gemini model based on task and content
  1. Efficiency: Optimizes token usage and performance across different workloads
  1. Simplicity: Provides a clean, consistent API for complex AI operations
  1. Versatility: Advanced file handling; Handles multiple file types, operations, and use cases
Whether you're analyzing documents, solving complex problems, processing large text files, or searching for information, GemSuite MCP provides the right tools with the right models for the job.

Why GemSuite MCP?

Unlike other Gemini MCP servers that offer limited functionality, GemSuite MCP provides:
Intelligent Model Selection: Automatically selects the optimal Gemini model based on task Unified File Handling: Seamlessly processes various file types with automatic format detection Comprehensive Tool Suite: Four specialized tools covering search, reasoning, processing, and analysis Production-Ready: Deployed and validated on Smithery.ai, MCP.so, and Glama.io

Installation

Option 1: Smithery.ai (Recommended)

Option 2: Manual Installation

API Key Setup

  1. Obtain a Gemini API key from Google AI Studio
  1. Set it as an environment variable:or create a .env file in the project root:

Key Features

Unified File Handling

  • Seamless File Processing: All tools support file inputs via the file_path parameter
  • Automatic Format Detection: Correct handling of various file types with appropriate MIME types
  • Multimodal Support: Process images, documents, code files, and more
  • Batch Processing: Support for processing multiple files in a single operation

Intelligent Model Selection

GemSuite MCP automatically selects the most appropriate Gemini model based on:
  • Task Type: Search, reasoning, processing, or analysis
  • Content Type: Text, code, images, or documents
  • Complexity: Simple queries vs. complex reasoning
  • User Preferences: Optional manual overrides
This intelligence ensures optimal performance while minimizing token usage.

Specialized Tools

[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]
[object Object]

Robust Error Handling

  • Exponential Backoff: Graceful handling of API rate limits
  • Comprehensive Error Detection: Clear identification of error sources
  • Actionable Messages: Detailed error information for troubleshooting
  • Recovery Mechanisms: Intelligent fallbacks when primary approaches fail

Usage

In Claude or Other MCP-Compatible Hosts

When using GemSuite MCP with Claude or other MCP-compatible hosts, the tools will be available directly in the assistant's toolkit. Simply call the appropriate tool for your needs:

Tool Selection Guide

  • `gem_search`: For factual questions requiring search integration
  • `gem_reason`: For complex problems requiring step-by-step reasoning
  • `gem_process`: For efficient processing of text or files (most token-efficient)
  • `gem_analyze`: For detailed analysis of files with automatic model selection

Usage Examples

image

Claude Desktop Using GemSuite Gemini Search to access Google Search

Processing Files (Most Token-Efficient)

Analyzing Files

Complex Reasoning

Searching with Files

Model Characteristics

GemSuite MCP leverages three primary Gemini models, intelligently selecting the optimal model for each task:

Gemini 2.0 Flash

  • 1M token context window: Process extensive content
  • Search integration: Ground responses in current information
  • Multimodal capabilities: Handle text, images, and more
  • Balanced performance: Good mix of quality and speed

Gemini 2.0 Flash-Lite

  • Most cost-efficient: Minimize token usage
  • Fastest response times: Ideal for high-volume operations
  • Text-focused: Optimized for text processing
  • Optimal for efficiency: When search and reasoning aren't needed

Gemini 2.0 Flash Thinking

  • Enhanced reasoning: Logical analysis and problem-solving
  • Step-by-step analysis: Shows reasoning process
  • Specialized capabilities: Excels at complex calculations
  • Best for depth: When thorough analysis is necessary

Workflow Examples

Document Analysis Workflow

Code Review Workflow

Integration with Other MCP Hosts

GemSuite MCP works with any MCP-compatible host:
  • Claude Desktop: Seamless integration with Claude's powerful reasoning capabilities
  • Cursor IDE: Enhanced coding assistance with Gemini's capabilities
  • Replit: Code generation and analysis directly in your development environment
  • Other MCP Hosts: Compatible with any platform implementing the MCP standard

Advanced Configuration

Custom Model Selection

You can override the automatic model selection by specifying the model_id parameter:

Available Operations for `gem_process`

  • summarize: Create a concise summary
  • extract: Extract specific information
  • restructure: Reorganize content into a more useful format
  • simplify: Make complex content easier to understand
  • expand: Add detail or context to content
  • critique: Provide critical analysis
  • feedback: Offer constructive feedback
  • analyze: General analysis of content

Contributing

Contributions are welcome! Here's how to get started:
  1. Fork the repository
  1. Create a feature branch: git checkout -b feature/my-new-feature
  1. Make your changes
  1. Run tests: npm test
  1. Commit your changes: git commit -m 'Add my new feature'
  1. Push to your branch: git push origin feature/my-new-feature
  1. Submit a pull request
For major changes, please open an issue first to discuss what you'd like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • Google Gemini - For the powerful AI models that power this server

Links