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
基本信息
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.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"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"
}
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
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.
MCP-native LLM councils for debates, juries, blind panels, voting, refinement, and custom multi-model deliberation.
28-tool MCP server for web scraping, crawling, deep research & autonomous extraction — clean Markdown & structured JSON for Claude, Cursor & any MCP client. 1,000 free one-time credits, local-Ollama LLM support.

superbot is your own AI agent: anything you can do on your computer, it can do, fast. Its MCP server gives other agents one tool for errands: fax, calls, texts, Gmail drafts, calendar, web search. Free in your browser, n
HeyLead: AI agent for LinkedIn outreach. Finds the right people, writes in your voice, follows up and handles replies, from Claude Code, Cursor, any MCP client or a web dashboard.
Official MCP server for BlazingCDN - AI agents (Claude, Cursor, Windsurf) manage CDN resources, purge cache, query metrics, domains, Anycast CDN, Video CDN and Media CDN
评论