MCP OCR 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., "@MCP OCR ServerExtract the text from https://example.com/invoice.png"
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.
MCP OCR Server
A production-grade OCR server built using MCP (Model Context Protocol) that provides OCR capabilities through a simple interface.
Features
Extract text from images using Tesseract OCR
Support for multiple input types:
Local image files
Image URLs
Raw image bytes
Automatic Tesseract installation
Support for multiple languages
Production-ready error handling
Related MCP server: OCR MCP Service
Installation
# Using pip
pip install mcp-ocr
# Using uv
uv pip install mcp-ocrTesseract will be installed automatically on supported platforms:
macOS (via Homebrew)
Linux (via apt, dnf, or pacman)
Windows (manual installation instructions provided)
Usage
As an MCP Server
Start the server:
python -m mcp_ocrConfigure Claude for Desktop: Add to
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"ocr": {
"command": "python",
"args": ["-m", "mcp_ocr"]
}
}
}Available Tools
perform_ocr
Extract text from images:
# From file
perform_ocr("/path/to/image.jpg")
# From URL
perform_ocr("https://example.com/image.jpg")
# From bytes
perform_ocr(image_bytes)get_supported_languages
List available OCR languages:
get_supported_languages()Development
Clone the repository:
git clone https://github.com/rjn32s/mcp-ocr.git
cd mcp-ocrSet up development environment:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .Run tests:
pytestContributing
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
Security
Never commit API tokens or sensitive credentials
Use environment variables or secure credential storage
Follow GitHub's security best practices
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
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
- AlicenseAqualityCmaintenanceA Model Context Protocol server that extracts images from URLs or base64 data and converts them into a format suitable for LLM analysis, allowing AI models to process and understand visual content.Last updated318521MIT
- AlicenseAqualityCmaintenanceEnables AI agents to recognize and extract text from images using PaddleOCR, supporting both file paths and base64 input with structured results including confidence scores and text positions.Last updated21MIT
- FlicenseAqualityDmaintenanceA Tesseract.js-based server that enables image-to-text recognition within MCP-compatible environments like Cursor. It supports multiple languages and common image formats, allowing users to extract text from local files using natural language commands.Last updated2
- FlicenseAqualityCmaintenanceExtracts text from images and browser screenshots locally using Tesseract.js, without sending image data to the LLM.Last updated2
Related MCP Connectors
OCR, transcription, file extraction, and image generation for AI agents via MCP.
OCR.space MCP — wraps the OCR.space API (ocr.space) for image/PDF → text OCR.
Turn any PDF into structured JSON via AI + OCR: invoices, bank statements, contracts.
Appeared in Searches
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/rjn32s/mcp-ocr'
If you have feedback or need assistance with the MCP directory API, please join our Discord server