OCR MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OCR MCP Server帮我识别这张收据图片上的所有文字"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OCR MCP Server
A document OCR MCP tool powered by Claude Vision — no need for third-party OCR engines like Tesseract/PaddleOCR; it directly leverages the multimodal vision capabilities of large language models to extract text.
✨ Features
Zero OCR engine dependencies — No Tesseract/PaddleOCR installation; all recognition capability comes from the Claude Vision API
Three tools — Image recognition, intelligent PDF recognition, and forced OCR for scanned documents
Smart fallback — Text-based PDFs directly extract embedded text at zero API cost; scanned documents are automatically converted to images and processed by Vision
Structured output — Supports Markdown tables, JSON, and plain text, covering tables, forms, handwriting, and other scenarios
Plug and play — After configuring Claude Desktop, invoke it directly with natural language
Related MCP server: mcp-upstage
🛠 Tools
Tool | Purpose |
| Recognizes text in images; supports printed text, handwriting, and tables; outputs Markdown/JSON |
| Intelligently processes PDFs: text-based versions directly extract embedded text (saving tokens); scanned documents automatically go through Vision OCR |
| Forces full-page Vision OCR; suited for purely scanned/handwritten 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"⚙️ Configure Claude Desktop
Edit 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"
}
}
}
}Restart Claude Desktop and it's ready to use.
🚀 Usage
In Claude Desktop, trigger directly with natural language:
"Help me recognize the text in this image" → automatically calls
recognize_image"Extract the table in this PDF" → automatically calls
recognize_pdf"What does this scanned document say" → automatically calls
recognize_pdf_ocr
🧠 How It Works
图片 ──→ base64 编码 ──→ Claude Vision API ──→ 结构化文本
PDF ──→ PyMuPDF 检测文字层
├─ 有文字层 → 直接提取(零成本)
└─ 扫描件 ──→ 转图片 ──→ base64 ──→ Vision APICore idea: use the LLM's visual understanding to replace the traditional OCR pipeline, providing stronger comprehension of complex layouts, tables, handwriting, seals, and similar scenarios while preserving semantic structure.
🔧 Tech Stack
mcp — Official MCP protocol Python SDK (FastMCP)
anthropic — Official Claude API client
PyMuPDF — PDF rendering and embedded text extraction
📄 License
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