Feedback

EasyOCR MCP tool

@windoc Claim

Basic information

Runtime
Python
Category
License
Apache-2.0
Transports
stdio
Author
windoc
Submitted by
Community
Quality
20
Stars
2

About EasyOCR MCP tool Server

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

EasyOCR MCP tool is a MCP server in the Other category listed in the AddMCP.net directory, published by WindoC. Supported transport: stdio. Runtime: Python. License: Apache-2.0. The repository has 2 GitHub stars. Source code is hosted on github.com. Related topics: gpu, ocr.

Setup

{
    "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 tool config

Add this server to your MCP-compatible client using the configuration below.

{
    "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 tool tools

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.

Overview

What is EasyOCR MCP tool?

A Model Context Protocol (MCP) server that provides OCR capabilities using the open-source EasyOCR library. It allows AI agents to extract text from images (base64, files, or URLs) with support for over 80 languages.

How to use EasyOCR MCP tool?

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.

Key features of EasyOCR MCP tool

  • 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

Use cases of EasyOCR MCP tool

  • Extracting text from scanned documents or photos
  • Reading text from images in multiple languages
  • Automating OCR from image URLs during web scraping
  • Processing base64-encoded images in chat or API workflows

Frequently asked questions

1 How do I select which languages to recognize?

Set the EASYOCR_LANGUAGES environment variable to a comma-separated list of language codes (e.g., en,ch_sim,ja). Default is English.

2 What output formats are available?

Set the detail parameter to 0 for text-only results (list of strings) or 1 for full details (list of tuples containing bounding box coordinates, text, and confidence score).

3 Does the server require a GPU?

GPU usage is determined at installation time based on your PyTorch installation. Install PyTorch with CUDA support to enable GPU acceleration; otherwise the server runs on CPU.

4 How do I process an image from a URL?

Use the ocr_image_url tool. The server will fetch the image from the URL and perform OCR automatically.

5 What are the threshold parameters for paragraph detection?

width_ths and height_ths control how close bounding boxes must be to be merged into a paragraph (default 0.7). The paragraph parameter enables paragraph detection (default false).

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬