OCR MCP Server
OCR MCP Server
Ein MCP-Tool zur Texterkennung in Dokumenten auf Basis der Claude-Vision-Fähigkeiten – ganz ohne externe OCR-Engines wie Tesseract/PaddleOCR. Es nutzt direkt die multimodalen visuellen Fähigkeiten großer Modelle, um Text zu extrahieren.
✨ Features
Keine Abhängigkeit von OCR-Engines — Tesseract und PaddleOCR müssen nicht installiert werden; die gesamte Erkennung erfolgt über die Claude Vision API
Drei Tools — Bilderkennung, intelligente PDF-Erkennung, erzwungene OCR für gescannte Dokumente
Intelligenter Fallback — Bei textbasierten PDFs wird eingebetteter Text direkt extrahiert (keine API-Kosten); gescannte Dokumente werden automatisch in Bilder umgewandelt und über Vision verarbeitet
Strukturierte Ausgabe — Unterstützt Markdown-Tabellen, JSON und Klartext; geeignet für Szenarien wie Tabellen, Formulare, Handschrift usw.
Plug-and-Play — Nach der Konfiguration von Claude Desktop direkt per natürlicher Sprache aufrufbar
Related MCP server: mcp-upstage
🛠 Tools
Tool | Verwendung |
| Erkennt Text in Bildern; unterstützt Druckschrift, Handschrift und Tabellen; Ausgabe als Markdown/JSON |
| Verarbeitet PDFs intelligent: extrahiert bei textbasierten PDFs direkt eingebetteten Text (spart Token); gescannte Dokumente werden automatisch per Vision OCR verarbeitet |
| Erzwingt Vision OCR für die gesamte Seite; geeignet für reine Scan- und handschriftliche PDFs |
📦 Installation
# 克隆仓库
git clone https://github.com/你的用户名/ocr-mcp-server.git
cd ocr-mcp-server
# 安装依赖(仅 mcp / anthropic / PyMuPDF)
pip install -r requirements.txt
# 设置 Anthropic API Key
export ANTHROPIC_API_KEY="sk-ant-xxxxx"⚙️ Claude Desktop konfigurieren
Bearbeiten Sie die Datei claude_desktop_config.json:
macOS:
~/Library/Application Support/Claude/Windows:
%APPDATA%\Claude\
{
"mcpServers": {
"ocr": {
"command": "python",
"args": ["/你的绝对路径/ocr-mcp-server/server.py"],
"env": {
"ANTHROPIC_API_KEY": "sk-ant-xxxxx"
}
}
}
}Nach dem Neustart von Claude Desktop ist es sofort einsatzbereit.
🚀 Nutzung
In Claude Desktop direkt per natürlicher Sprache auslösen:
„Erkenne den Text in diesem Bild“ → ruft automatisch
recognize_imageauf„Extrahiere die Tabellen aus diesem PDF“ → ruft automatisch
recognize_pdfauf„Was steht in diesem gescannten Dokument?“ → ruft automatisch
recognize_pdf_ocrauf
🧠 Funktionsweise
图片 ──→ base64 编码 ──→ Claude Vision API ──→ 结构化文本
PDF ──→ PyMuPDF 检测文字层
├─ 有文字层 → 直接提取(零成本)
└─ 扫描件 ──→ 转图片 ──→ base64 ──→ Vision APIKernidee: Die visuellen Verständnisfähigkeiten des LLM ersetzen die traditionelle OCR-Pipeline. Dadurch ist das Verständnis für komplexe Layouts, Tabellen, Handschriften und Stempel besser und die semantische Struktur bleibt erhalten.
🔧 Technologie-Stack
mcp — Offizielles Python-SDK für das MCP-Protokoll (FastMCP)
anthropic — Offizieller Client für die Claude API
PyMuPDF — PDF-Rendering und Extraktion eingebetteter Texte
📄 Lizenz
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Claude to read and analyze PDF documents with automatic OCR processing for scanned files. Features intelligent text extraction, caching for performance, and secure file access with search capabilities.1

mcp-upstageofficial
AlicenseBqualityCmaintenanceEnables AI assistants to extract and structure content from documents (PDFs, images, Office files) via Upstage AI's APIs, with seamless Claude Desktop integration.213MIT
@parserelay/mcpofficial
AlicenseAqualityBmaintenanceEnables document parsing into structured, confidence-scored fields via the scan tool, working with any MCP host like Claude Desktop or Cursor.188MIT- FlicenseNot gradedqualityDmaintenanceEnables OCR on images and PDFs, including full-page OCR, region OCR by description or bounding box, and caching with summary capabilities.
Related MCP Connectors
Turn any PDF into structured JSON via AI + OCR: invoices, bank statements, contracts.
Read PDFs and images as markdown or text, with exact costs and hard spend caps. $0.75/1k pages.
OCR, transcription, file extraction, and image generation for AI agents via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhang2gongzi/ocr-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server