CLDGeminiPDF MCP Server

CLDGeminiPDF MCP Server

cldgeminipdf-analyzer•bytfll37

A Model Context Protocol server that enables Claude Desktop to analyze PDF documents using Google's Gemini AI models.

License: MIT License•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Extracts and analyzes PDF content using Gemini AI models.
  • •Supports choosing among multiple Gemini models and Gemma models.
  • •Uses dual processing: direct PDF upload to Gemini or fallback text extraction.
  • •Integrates with Claude Desktop via Model Context Protocol with environment-based configuration.

BEST FOR

  • •Analyzing a research paper with focus on methodology and conclusions.
  • •Finding a PDF by name in a directory and analyzing it with Gemini.
  • •Reviewing contracts for key terms and potential risks with a specific model.

ABOUT CLDGEMINIPDF-ANALYZER

CLDGeminiPDF MCP Server is cataloged as an MCP server attributed to tfll37. A Model Context Protocol server that enables Claude Desktop to analyze PDF documents using Google's Gemini AI models. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for CLDGeminiPDF MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server support drag-and-drop PDF files in the chat interface?

No, version 1.0.0 does not support drag-and-drop files in the chat interface; files must be accessible through the filesystem server.

Which model is used by default?

The gemini-2.0-flash model is stable and fast and is the default.

Can I ask which Gemini models are available for PDF analysis?

Yes, the README shows asking the assistant to list the available Gemini models.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 5538a1fa6798 · 采集于 2026-11-13 13:34:19 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

CLDGeminiPDF MCP Server

A Model Context Protocol (MCP) server that enables Claude Desktop to analyze PDF documents using Google's AI models. This server sends PDF files & extracts text from PDFs by leveraging Gemini's powerful language understanding to provide intelligent analysis and insights.

Quick Start

  1. Download: Get the pre-built JAR from Releases
  2. API Key: Get your free Gemini API key from Google AI Studio
  3. Configure: Add the server to your Claude Desktop config with the JAR path and API key
  4. Analyze: Start analyzing PDFs with Claude!

Features

  • PDF Analysis: Extract and analyze PDF content using Gemini AI models
  • Multiple Model Support: Choose from various Gemini models (2.5, 2.0, 1.5 series, and Gemma models)
  • Dual Processing Methods: Direct PDF upload to Gemini or fallback text extraction
  • MCP Integration: Seamless integration with Claude Desktop via Model Context Protocol
  • Flexible Configuration: Environment-based configuration for easy deployment

Prerequisites

Installation

  1. Download the latest CLDGeminiPDF.v1.0.0.jar from the Releases page
  2. Save it to a convenient location on your system

Option 2: Build from Source

git clone <your-repository-url>
cd CLDGeminiPDF
mvn clean compile assembly:single

This will create a JAR file with all dependencies included in the target/ directory.

Get Your Gemini API Key

  1. Visit Google AI Studio
  2. Sign in with your Google account
  3. Click "Get API Key" and create a new key
  4. Copy the API key for use in environment variables

Claude Desktop Integration

1. Locate Claude Desktop Configuration

The configuration file location depends on your operating system:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Update Configuration File

Add both the filesystem server and CLDGeminiPDF server to your claude_desktop_config.json:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/your/documents"
      ]
    },
    "CLDGeminiPDF": {
      "command": "java",
      "args": [
        "-jar",
        "/path/to/CLDGeminiPDF.v1.0.0.jar"
      ],
      "env": {
        "GEMINI_API_KEY": "your_api_key_here",
        "GEMINI_MODEL": "gemini-2.0-flash"
      }
    }
  }
}

Important:

  • Replace /path/to/your/documents with the directory containing your PDF files
  • Replace /path/to/CLDGeminiPDF.v1.0.0.jar with the actual path to your downloaded JAR file
  • Replace your_api_key_here with your actual Gemini API key

Example Paths:

  • Windows: "C:\\Users\\YourName\\Downloads\\CLDGeminiPDF.v1.0.0.jar"
  • macOS: "/Users/YourName/Downloads/CLDGeminiPDF.v1.0.0.jar"
  • Linux: "/home/yourusername/Downloads/CLDGeminiPDF.v1.0.0.jar"

3. Restart Claude Desktop

Close and restart Claude Desktop for the changes to take effect.

Available Gemini Models

Data for Free Tier Users of Google API

ModelDescriptionLimits
gemini-2.5-flash-preview-05-20Latest preview with high performance10 RPM, 250K TPM
gemini-2.5-flash-preview-04-17Previous preview version10 RPM, 250K TPM
gemini-2.5-pro-preview-05-06Pro version with advanced capabilitiesLimited availability
gemini-2.0-flashStable, fast model (default)15 RPM, 1M TPM
gemini-2.0-flash-liteLightweight version30 RPM, 1M TPM
gemini-1.5-flashStable general-purpose model15 RPM, 250K TPM
gemini-1.5-proLargest context window of 2M tokensUnavailable for free tier users
gemma-3 modelsOpen models, up to 27B parameters30 RPM, 15K TPM

Model availability depends on your API key and usage tier. Check your Google AI Studio account for available models.

Data sourced from https://ai.google.dev/gemini-api/docs/rate-limits#free-tier

Usage Examples

The CLDGeminiPDF MCP server requires the Filesystem MCP server to access PDF files. It works with complete file paths or by finding files within the allowed directory scope.

Note: Version 1.0.0 does NOT support drag-and-drop files in the chat interface. Files must be accessible through the filesystem server.

Once configured, you can use these commands in Claude Desktop:

Analyze a PDF with Full Path

Please analyze this research paper: file:///Users/username/Documents/research_paper.pdf

Focus on the methodology and conclusions.

Find and Analyze a PDF by Name

Find the "research_paper.pdf" file in the Documents directory and analyze it using Gemini.

List Available Models

What Gemini models are available for PDF analysis?

Use a Specific Model

Analyze this contract using the gemini-2.5-pro model: file:///path/to/contract.pdf

Look for key terms and potential risks.

Troubleshooting

Common Issues

  1. "GEMINI_API_KEY environment variable is not set!"

    • Ensure your API key is properly set in the Claude Desktop configuration
    • Restart Claude Desktop after updating the configuration
  2. "PDF file not found or not readable"

    • Verify the file path is correct and within the filesystem server's allowed directory
    • Ensure the PDF file exists and is readable
    • Check file permissions
  3. "Gemini API error: 401"

    • Verify your API key is correct and valid
    • Check if your API key has the necessary permissions in Google AI Studio
  4. "Gemini API error: 429"

    • You've hit rate limits. Wait and try again
    • Consider using a model with higher rate limits (see table above)
  5. Filesystem server not working

    • Ensure the filesystem MCP server is properly configured
    • Check that the directory path in the filesystem configuration is correct
    • Verify Claude Desktop has permission to access the specified directory

Debugging

To enable detailed logging, you can modify the Java command in your configuration:

"args": [
  "-Djava.util.logging.level=INFO",
  "-jar",
  "/path/to/CLDGeminiPDF.v1.0.0.jar"
]

Verify Configuration

Test your setup by asking Claude Desktop:

List the available Gemini models

If successful, you should see a JSON response with available models and their capabilities.

Development

Building from Source

git clone <your-repository-url>
cd CLDGeminiPDF
mvn clean compile assembly:single

The JAR file will be created in the target/ directory.

Dependencies

  • Jackson (JSON processing)
  • Apache PDFBox (PDF text extraction)
  • MCP Java SDK (Model Context Protocol)
  • Java HTTP Client (API communication)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

License

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

Support

For issues and questions:

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for CLDGeminiPDF MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/cldgeminipdf-analyzer)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation