What are the prerequisites for running Gemini OCR MCP?
You need Python 3.8 or higher and a valid Google Gemini API Key from Google AI Studio.
@WindoC
Basic information
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.
Add this server to your MCP-compatible client using the configuration below.
{
"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"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Gemini OCR MCP is an MCP server that provides Optical Character Recognition (OCR) by leveraging the Google Gemini API. It allows you to extract text from images either by providing a file path or a base64-encoded string, making it useful for developers who need programmatic text extraction from images.
Clone the repository, install dependencies with uv sync, and configure the server in your MCP client’s config.json using the provided Windows/macOS/Linux examples. Set the environment variables GEMINI_API_KEY and optionally GEMINI_MODEL, then invoke the tools ocr_image_file (with an image file path) or ocr_image_base64 (with a base64 image string).
You need Python 3.8 or higher and a valid Google Gemini API Key from Google AI Studio.
Add a configuration entry to your MCP client’s `config.json` specifying the command `uv`, the project directory, and environment variables `GEMINI_API_KEY` and `GEMINI_MODEL` (optional). Example configurations for Windows and Linux/macOS are provided in the README.
The default model is `gemini-2.5-flash-preview-05-20`, but you can override it by setting the `GEMINI_MODEL` environment variable.
It provides two tools: `ocr_image_file` (accepts an image file path) and `ocr_image_base64` (accepts a base64-encoded image string). Both return the extracted text.
It reads the Google Gemini API key from the `GEMINI_API_KEY` environment variable. No other authentication or transport configuration is required beyond standard MCP setup.
BERGHAIN MCP server — sovereign AI stress-testing mcp / ai / multi-agent / adversarial / stress-test / claude

Extract, search and tag any document — invoices, receipts, contracts, forms, or your own templates. 13 tools, one sign-in (OAuth 2.1) or API key, free FileTag tier, data residency in the EU, US, Israel or Asia.
早起鸟儿喊真人验真 is a remote MCP server available at http://121.40.18.232.

Live Texas Hold'em for AI agents: your assistant plays your 3D star, talks trash, anyone can watch.

scvd.store is an evidence observatory for agentic commerce. Independent signed observation of what other people's endpoints, artifacts and payments actually did among other things. USDC on Base, Arbitrum One, World Chain
Comments