RapidOCR Server
БесплатноНе проверенHigh-performance OCR MCP server supporting multiple input modes (path, base64, URL, upload), batch processing, and output formats like plain, JSON, and Markdown
Описание
High-performance OCR MCP server supporting multiple input modes (path, base64, URL, upload), batch processing, and output formats like plain, JSON, and Markdown.
README
High-performance OCR MCP Server.
Features
- Multi-mode: MCP stdio, FastAPI HTTP, streamable-http
- Multi-input: Path, Base64, URL, File upload
- Batch OCR: Process multiple images in one request
- Output formats: Plain, JSON, Markdown, Structured
- Image preprocessing: Auto-enhance, rotate, binarize
- Security: Path whitelist, API key, CORS, audit logging
- Monitoring: Prometheus metrics, OpenTelemetry tracing
- Production-ready: Docker, CI/CD, tests
Quick Start
Global Installation
# Install globally with uvx (recommended)
uvx rapidocr-mcp
# Or install globally with pip
pip install rapidocr-mcp
Local Development
# Install dependencies
uv sync
# Run MCP server (stdio mode)
uv run rapidocr-mcp
# Run FastAPI server
uv run rapidocr-mcp --mode fastapi --port 8080
Configuration
Set environment variables with RAPIDOCR_ prefix:
export RAPIDOCR_LANG=ch
export RAPIDOCR_LOG_LEVEL=INFO
export RAPIDOCR_API_KEY=your-key
MCP Configuration
Available Tools
| Tool | Description |
|---|---|
ocr_by_path |
OCR for local image file by path |
ocr_by_content |
OCR for Base64 encoded image |
ocr_by_url |
OCR for image from HTTP/HTTPS URL |
ocr_batch |
Batch OCR for multiple images |
Claude Desktop
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"rapidocr": {
"command": "uvx",
"args": ["rapidocr-mcp"]
}
}
}
Or with local installation:
{
"mcpServers": {
"rapidocr": {
"command": "uv",
"args": ["--directory", "/path/to/rapidocr-mcp", "run", "rapidocr-mcp"]
}
}
}
Other MCP Clients
For other MCP clients that support stdio mode, configure the command as:
uvx rapidocr-mcp
# or
rapidocr-mcp
Docker
docker-compose -f docker/docker-compose.yml up
API Endpoints
GET /health- Health checkPOST /ocr/path- OCR by file pathPOST /ocr/base64- OCR by base64POST /ocr/url- OCR by URLPOST /ocr/upload- OCR by file uploadGET /metrics- Prometheus metrics
Sponsoring
If you find this project helpful, consider buying me a coffee!
License
MIT
Установка RapidOCR Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/bitfarer/rapidocr-mcpFAQ
RapidOCR Server MCP бесплатный?
Да, RapidOCR Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для RapidOCR Server?
Нет, RapidOCR Server работает без API-ключей и переменных окружения.
RapidOCR Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить RapidOCR Server в Claude Desktop, Claude Code или Cursor?
Открой RapidOCR Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare RapidOCR Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
