rapidocr-mcp

rapidocr-mcp

2

The RapidOCR MCP Server is designed to offer a simple optical character recognition interface leveraging the capabilities of RapidOCR. It provides functionality for performing OCR on both base64 encoded images and image files.

RapidOCR MCP Server

A MCP server based on RapidOCR, providing an easy-to-use OCR interface.

Usage

uvx run rapidocr-mcp

Available Methods

  • ocr_by_content Perform OCR on an image content. Args: base64_data (str): The base64 encoded image content. Returns: List[TextContent]: A list of text content.

  • ocr_by_path Perform OCR on an image file. Args: path (str): The path to the image file. Returns: List[TextContent]: A list of text content.