Skip to main content
Glama
GemForge-Gemini-Tools-MCP

GemForge-Gemini-Tools-MCP

by PV-Bhat

GemForge (Gemini Tools)

Overview

Smithery Badge MCP.so

GemForge-Gemini-Tools-MCP: Enterprise-grade Gemini integration for your favorite MCP agents. Supercharge Claude, Roo Code, and Windsurf with codebase analysis, live search, text/PDF/image processing, and more.

Related MCP server: Vibe Check MCP

Quick Navigation

Why GemForge?

GemForge is the essential bridge between Google's Gemini AI and the MCP ecosystem: gemfog

  • Real-Time Web Access: Fetch breaking news, market trends, and current data with gemini_search

  • Advanced Reasoning: Process complex logic problems with step-by-step thinking via gemini_reason

  • Code Mastery: Analyze full repositories, generate solutions, and debug code with gemini_code

  • Multi-File Processing: Handle 60+ file formats including PDFs, images, and more with gemini_fileops

  • Intelligent Model Selection: Automatically routes to optimal Gemini model for each task

  • Enterprise-Ready: Robust error handling, rate limit management, and API fallback mechanisms

Quick Start

One-Line Install

npx @gemforge/mcp-server@latest init

Manual Setup

  1. Create configuration file (claude_desktop_config.json):

{
  "mcpServers": {
    "GemForge": {
      "command": "node",
      "args": ["./dist/index.js"],
      "env": {
        "GEMINI_API_KEY": "your_api_key_here"
      }
    }
  }
}
  1. Install and run:

npm install gemforge-mcp
npm start

Watch 30-second setup demo →

Heavy-Duty Reliability

GemForge is built for production environments:

  • Support for 60+ File Types: Process everything from code to documents to images

  • Automatic Model Fallbacks: Continues functioning even during rate limits or service disruptions

  • Enterprise-Grade Error Logging: Detailed diagnostics for troubleshooting

  • API Resilience: Exponential backoff, retry logic, and seamless model switching

  • Full Repository Support: Analyze entire codebases with configurable inclusion/exclusion patterns

  • XML Content Processing: Specialized handling for structured data

Key Tools

Tool

Description

Key Capability

gemini_search

Web-connected information retrieval

Real-time data access

gemini_reason

Complex problem solving with step-by-step logic

Transparent reasoning process

gemini_code

Deep code understanding and generation

Full repository analysis

gemini_fileops

Multi-file processing across 60+ formats

Document comparison and transformation

{
  "toolName": "gemini_search",
  "toolParams": {
    "query": "Latest advancements in quantum computing",
    "enable_thinking": true
  }
}
{
  "toolName": "gemini_code",
  "toolParams": {
    "question": "Identify improvements and new features",
    "directory_path": "path/to/project",
    "repomix_options": "--include \"**/*.js\" --no-gitignore"
  }
}
{
  "toolName": "gemini_fileops",
  "toolParams": {
    "file_path": ["contract_v1.pdf", "contract_v2.pdf"],
    "operation": "analyze",
    "instruction": "Compare these contract versions and extract all significant changes."
  }
}

Configuration

GemForge offers flexible configuration options:

GEMINI_API_KEY=your_api_key_here       # Required: Gemini API key
GEMINI_PAID_TIER=true                  # Optional: Set to true if using paid tier (better rate limits)
DEFAULT_MODEL_ID=gemini-2.5-pro        # Optional: Override default model selection
LOG_LEVEL=info                         # Optional: Set logging verbosity (debug, info, warn, error)
{
  "mcpServers": {
    "GemForge": {
      "command": "node",
      "args": ["./dist/index.js"],
      "env": {
        "GEMINI_API_KEY": "your_api_key_here"
      }
    }
  }
}

GemForge intelligently selects the best model for each task:

  • gemini_search: Uses gemini-2.5-flash for speed and search integration

  • gemini_reason: Uses gemini-2.5-pro for deep reasoning capabilities

  • gemini_code: Uses gemini-2.5-pro for complex code understanding

  • gemini_fileops: Selects between gemini-2.0-flash-lite or gemini-1.5-pro based on file size

Override with model_id parameter in any tool call or set DEFAULT_MODEL_ID environment variable.

Deployment

Smithery.ai

One-click deployment via Smithery.ai

Docker

docker run -e GEMINI_API_KEY=your_api_key ghcr.io/pv-bhat/gemforge:latest

Self-Hosted

Use our MCP.so Directory listing for integration instructions.

What Sets GemForge Apart?

  • Cross-Ecosystem Power: Bridge Google's AI with Claude and other MCP agents

  • Multi-File Analysis: Compare documents, images, or code versions

  • Smart Routing: Automatic model selection based on task requirements

  • Production-Ready: Built for enterprise environments

GemForge in Action

Community & Support

Documentation

Visit our Documentation Site for:

  • Advanced usage tutorials

  • API reference

  • Troubleshooting tips

License

Licensed under the MIT License. See LICENSE for details.

Acknowledgments

  • Google Gemini API for providing the underlying AI capabilities

  • Model Context Protocol (MCP) for standardizing AI tool interfaces

Available Tools

4 tools
gemini_codeC

Analyzes codebases using Repomix and Gemini 2.5 Pro. Answers questions about code structure, logic, and potential improvements.

Inputs: question (required), codebase_path, directory_path, model_id.

gemini_fileopsA

Performs efficient operations on files (text, PDF, images, etc.) using appropriate Gemini models (Flash-Lite or 1.5 Pro for large files). Use for summarization, extraction, or basic analysis.

Inputs: file_path (required), instruction, model_id, operation, +1 more.

gemini_reasonA

Solves complex problems with step-by-step reasoning using Gemini 2.0 Flash Thinking. Best for math and science problems, coding challenges, and tasks requiring transparent reasoning process.

Inputs: problem (required), file_path, model_id, show_steps.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: gemini_code analyzes codebases, gemini_fileops handles file operations, gemini_reason solves complex problems with reasoning, and gemini_search retrieves general information. The descriptions clearly differentiate their domains and use cases, making misselection unlikely.

    Naming Consistency5/5

    All tool names follow a consistent 'gemini_' prefix pattern with descriptive suffixes (code, fileops, reason, search). This uniform naming convention makes the tool set predictable and easy to understand, with no deviations in style or structure.

    Tool Count4/5

    Four tools is a reasonable number for a Gemini-focused server, covering key areas like code analysis, file operations, reasoning, and search. It feels slightly thin but well-scoped, as each tool addresses a distinct domain without unnecessary duplication.

    Completeness4/5

    The tool set covers major use cases for Gemini models: code analysis, file handling, reasoning, and information retrieval. Minor gaps might include more specialized operations like image generation or multimodal analysis, but the core functionalities are well-represented for general-purpose tasks.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      The ultimate Gemini API interface for MCP hosts, intelligently selecting models for the task at hand—delivering optimal performance, minimal token cost, and seamless integration.
      32
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      A metacognitive pattern interrupt system that helps prevent AI assistants from overcomplicated reasoning paths by providing external validation, simplification guidance, and learning mechanisms.
      2
      561 npm
      504
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that gives your IDE or agent access to Google Gemini with autonomous codebase exploration, enabling deep code analysis, architectural reviews, and bug hunting.
      20
      10
      MIT