drio
Open app

RapidOCR MCP Server

Source

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

Catalog onlyCatalog onlySTDIO

Overview

RapidOCR MCP Server is an OCR (Optical Character Recognition) server based on RapidOCR, designed to provide an easy-to-use interface for extracting text from images.

To use RapidOCR MCP Server, run the command uvx run rapidocr-mcp in your terminal. You can perform OCR by either providing base64 encoded image content or by specifying the path to an image file.

  • Easy-to-use OCR interface - Supports OCR on both base64 image content and image files - Returns a list of extracted text content
  1. Extracting text from scanned documents.
  2. Converting images of printed text into editable text.
  3. Automating data entry processes by extracting information from images.

Add to your AI client

Use these steps to connect RapidOCR MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "rapidocr-mcp-z4none": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-rapidocr-mcp-z4none"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "rapidocr-mcp-z4none": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-rapidocr-mcp-z4none"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "rapidocr-mcp-z4none": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-rapidocr-mcp-z4none"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "rapidocr-mcp-z4none": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-rapidocr-mcp-z4none"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "rapidocr-mcp-z4none": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-rapidocr-mcp-z4none"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "rapidocr-mcp-z4none": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-rapidocr-mcp-z4none"
      ]
    }
  }
}

FAQ

What types of images can be processed?

The server can process various image formats as long as they contain clear text.

Is there a limit to the size of the images?

While there is no strict limit, larger images may take longer to process and could affect performance.

Is RapidOCR MCP Server free to use?

Yes! RapidOCR MCP Server is open-source and free to use under the MIT license.