7
GitHub Stars

This project provides a simple yet powerful OCR (Optical Character Recognition) service through a FastMCP server, leveraging the capabilities of the Google Gemini API. It allows you to extract text from images either by providing a file path or a base64 encoded string.

Installation

⭐ RecommendedUv
uv --directory /path/to/your/project/gemini-ocr-mcp run gemini-ocr-mcp.py
View configuration snippet
{
  "mcpServers": {
    "gemini-ocr-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/your/project/gemini-ocr-mcp",
        "run",
        "gemini-ocr-mcp.py"
      ],
      "env": {
        "GEMINI_MODEL": "gemini-2.5-flash-preview-05-20",
        "GEMINI_API_KEY": "YOUR_GEMINI_API_KEY"
      }
    }
  }
}

💡 Tip: Make sure you have the appropriate package manager installed. Refer to the official documentation for detailed installation instructions.

Compatibility Matrix

Filter:

Cursor

STDIO
stdio:From mcp.so (unverified)

Claude Desktop

STDIO
stdio:From mcp.so (unverified)

MCP Compatible

STDIO
stdio:From mcp.so (unverified)
Verified - Tested by community
Unverified - Not yet tested
⚡ STDIO🌊 SSE🌐 HTTP

Server Information

License:unknown
Classification:active
Source:Data aggregated from public MCP directories

Quick Stats

Transports:
STDIO
Compatible Clients:3
Install Methods:1

Like this server?

Discover more MCP servers or submit your own to directory.