Labsco
MCP SERVER

Gemini OCR

by WindoC

Read the text out of an image — a screenshot, a scan, a CAPTCHA — by handing it to Gemini and getting plain text back.

Image Analysis, OCR & Vision
Summary
Text trapped in an image becomes text you can work with.

It does one thing — hand an image to Gemini and return what it reads — and takes the image either as a path or inline, which is what makes it usable inside a pipeline as well as from a chat.

What it is

An OCR service in front of the Google Gemini API. Point it at an image on disk or pass one inline as base64, and it returns the text it can read.

What you get
  • Text extracted from an image file on the local filesystem, by path
  • Text extracted from a base64-encoded image string, for images that never touch disk
  • The Gemini model chosen by configuration, so accuracy and cost can be traded off without a code change
Requirements

Python 3.8 or newer, uv, and a Google Gemini API key from AI Studio. Images are sent to Google for recognition.