EasyOCR MCP tool

by WindoC

465 downloads
Not rated
GitHub

About

A Model Context Protocol (MCP) server that provides OCR capabilities using the EasyOCR library.

Details

Author
WindoC
Downloads
465
Categories
Other

- 3 OCR Tools: base64, file, or URL input
- Multi-language Support: 80+ languages with dynamic selection
- Flexible Output: text-only or detailed results with coordinates and confidence
- Performance Optimized: reader caching for better performance
- Native EasyOCR Output: returns EasyOCR's original format

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name EasyOCR MCP tool
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install dependencies with uv sync (optionally install PyTorch with GPU support). Configure language selection via the EASYOCR_LANGUAGES environment variable in your MCP client’s config.json. Run the server with uv run easyocr-mcp.py or mcp run easyocr-mcp.py, then invoke tools: ocr_image_base64, ocr_image_file, or ocr_image_url.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "easyocr mcp tool": {
            "easyocr-mcp": {
                "command": "uv",
                "args": [
                    "--directory",
                    "/path/to/your/project/easyocr-mcp",
                    "run",
                    "easyocr-mcp.py"
                ],
                "env": {
                    "EASYOCR_LANGUAGES": "en,ch_tra,ja"
                }
            }
        }
    }
}

McpServers

{
    "easyocr-mcp": {
        "command": "uv",
        "args": [
            "--directory",
            "/path/to/your/project/easyocr-mcp",
            "run",
            "easyocr-mcp.py"
        ],
        "env": {
            "EASYOCR_LANGUAGES": "en,ch_tra,ja"
        }
    }
}

EasyOCR MCP Server

A Model Context Protocol (MCP) server that provides OCR capabilities using the EasyOCR library.

> About EasyOCR:
> EasyOCR is an open-source Optical Character Recognition (OCR) library developed by JaidedAI. It supports over 80 languages, offers GPU acceleration, and is known for its ease of use and high accuracy. EasyOCR can extract text from images, scanned documents, and photos, making it suitable for a wide range of OCR tasks. For more details, visit the EasyOCR GitHub repository.

Features

- 3 OCR Tools: Process images from base64, files, or URLs
- Multi-language Support: Support for 80+ languages with dynamic selection
- Flexible Output: Choose between text-only or detailed results with coordinates and confidence
- Performance Optimized: Reader caching for better performance
- Native EasyOCR Output: Returns EasyOCR's original format

Installation

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.