Sandbox
@brian-girko/image-reader

OCR browser extension with MCP server for agents

OCR Image Reader adds a toolbar button to your browser. When you click it, you can select a region in the current window and extract text from that area using Tesseract.js. It also includes an MCP server definition so agents can use the OCR features as tools through JSON-RPC and JSON Schema.

127 stars40 forksJavaScriptUpdated 23d ago
OCR - Image Reader - Browser Extension Review
eccorem project90k views • 4 years ago
Who it's for

Builders who want their agent to read text from selected screen regions or screenshots.

What it delivers

You can turn text in images into usable text without retyping it yourself.

What it does

Area selection OCR

Adds a browser button that lets you draw a region in the active window and run OCR on it.

Tesseract-based text recognition

Uses `tesseract.js` for OCR, with support for many languages, text orientation, and script detection.

MCP tool definition

Provides `v3/mcp/mcp.json` so agents can call the OCR actions as tools.

Cross-browser extension builds

Includes extension code for Chrome, Firefox, and the v3 browser extension layout.

README

OCR Image Reader

This extension adds a toolbar button to your browser to perform OCR. When this action button is pressed, it allows the user to select a region in the currently active window. The extension captures the area and tries to recognize text inside this region using the internal powerful OCR engine (Tesseract engine). This extension uses the "tesseract.js" library that supports more than 100 languages, automatic text orientation, and script detection.

YouTube Preview

Preview

MCP Server

This extension can be used with coding agents such as OpenCode. Read FAQs page for more info. Also check the mcp.json (LLM tool definition) file which defines available tools for an agent, using JSON-RPC 2.0 as the envelope and JSON Schema for input/output.

Links

Files in the repo

Repository payload5 top-level entries
  • .github
  • v2
  • v3
  • LICENSE
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More connectors

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

86k

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

43k

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code

14k
okf-memory/
okf-agent-memory

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

547
tirth8205/
code-review-graph

Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked context reductions on reviews and large-repo workflows.

31k
2akouwu/
reverify

Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.

1.1k