ocr-mcp
OCR MCP 서비스
PaddleOCR 기반의 MCP OCR 서비스로, 텍스트 인식과 표 인식을 지원합니다.
기능
OCR 텍스트 인식: 이미지의 텍스트 내용을 인식하며, 중국어, 영어 및 기타 언어를 지원합니다
표 인식: 이미지의 표를 인식하고 구조화된 데이터를 반환합니다
필기 인식: 이미지의 필기 텍스트를 인식합니다
수식 인식: 이미지의 수학 수식을 인식하고 LaTeX 형식으로 반환합니다
다중 형식 지원: JPG, PNG, BMP, TIFF, WebP 등 다양한 이미지 형식을 지원합니다
URL 지원: 로컬 파일 경로와 네트워크 URL을 모두 지원합니다
MCP 프로토콜: 표준 MCP 서비스로, MCP 호환 AI 어시스턴트에 통합할 수 있습니다
Related MCP server: mcp_ocr
설치
pip로 설치
pip install ocr-mcp소스에서 설치
git clone https://github.com/LinuxLinking/OCR_MCP.git
cd OCR_MCP
pip install -e .사용 방법
MCP 서비스로 실행
# Run directly
ocr-mcp
# Or run via Python module
python -m ocr_mcpClaude Desktop과 통합
Claude Desktop 구성 파일에 추가:
{
"mcpServers": {
"ocr": {
"command": "ocr-mcp",
"args": []
}
}
}MCP 도구 설명
ocr_recognize
이미지의 텍스트 내용을 인식합니다.
매개변수:
source(필수): 이미지 소스, 로컬 파일 경로 또는 URLlanguage(선택): 인식 언어, 기본값ch(중국어),en,japan,korean등을 지원합니다use_angle_cls(선택): 텍스트 방향 분류 활성화 여부, 기본값true
출력 예시:
1. Hello World (confidence: 98.50%)
2. 你好世界 (confidence: 97.20%)ocr_table
이미지의 표 내용을 인식하고 구조화된 데이터를 반환합니다.
매개변수:
source(필수): 이미지 소스, 로컬 파일 경로 또는 URLlanguage(선택): 인식 언어, 기본값ch
출력 예시:
+--------+-----+------+
| Name | Age | City |
+--------+-----+------+
| Alice | 25 | NYC |
+--------+-----+------+
| Bob | 30 | LA |
+--------+-----+------+ocr_handwrite
이미지의 필기 텍스트 내용을 인식합니다.
매개변수:
source(필수): 이미지 소스, 로컬 파일 경로 또는 URLlanguage(선택): 인식 언어, 기본값ch
출력 예시:
1. Hello World (confidence: 85.50%)
2. 你好 (confidence: 82.30%)ocr_formula
이미지의 수학 수식을 인식하고 LaTeX 형식으로 반환합니다.
매개변수:
source(필수): 이미지 소스, 로컬 파일 경로 또는 URL
출력 예시:
Formula 1:
LaTeX: E = mc^2
Formula 2:
LaTeX: \int_{0}^{\infty} e^{-x^2} dx = \frac{\sqrt{\pi}}{2}개발
개발 의존성 설치
pip install -e ".[dev]"테스트 실행
pytest tests/ -v프로젝트 구조
OCR_MCP/
├── src/ocr_mcp/
│ ├── __init__.py # Package initialization
│ ├── __main__.py # Module entry point
│ ├── server.py # MCP service main entry (dispatch layer)
│ ├── ocr_engine.py # Subprogram 1: Text recognition engine
│ ├── table_parser.py # Subprogram 2: Table recognition engine
│ ├── formula_engine.py # Subprogram 3: Formula recognition engine
│ └── utils.py # Utility functions
├── tests/
│ └── test_ocr.py # Test files
├── pyproject.toml # Project configuration
├── LICENSE # MIT License
└── README.md # Project documentation아키텍처
이 프로젝트는 하위 프로그램 병렬 아키텍처를 사용하며, 4개의 인식 도구는 독립적이며 개별적으로 호출할 수 있습니다:
┌─────────────────────────────────────────────────────────┐
│ MCP Server (Dispatch Layer) │
├──────────────┬──────────────┬─────────────┬─────────────┤
│ Subprogram 1 │ Subprogram 2 │ Subprogram 3│ Subprogram 4│
│ocr_recognize │ ocr_table │ocr_handwrite│ ocr_formula │
│Text Recognition│Table Recognition│Handwriting Recognition│Formula Recognition│
└──────────────┴──────────────┴─────────────┴─────────────┘
↓ ↓ ↓ ↓
OCREngine TableParser OCREngine FormulaEngine특징:
각 하위 프로그램은 독립적으로 실행되며 의존성이 없습니다
병렬 호출을 지원하여 여러 작업을 동시에 처리할 수 있습니다
호출마다 독립적인 인스턴스를 생성하여 상태 충돌을 방지합니다
하위 프로그램을 개별적으로 확장하거나 교체할 수 있습니다
의존성
PaddleOCR: 핵심 OCR 인식 엔진
PaddlePaddle: 딥러닝 프레임워크
OpenCV: 이미지 처리
MCP: Model Context Protocol 서비스 프레임워크
라이선스
이 프로젝트는 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 gradedqualityDmaintenanceProvides OCR services powered by Google's Gemini API to extract text from images via file paths or base64 strings. It enables high-accuracy text recognition and CAPTCHA processing through simple MCP tools.7
- AlicenseAqualityAmaintenanceModular OCR MCP server supporting Apple Vision, PaddleOCR, and PaddleOCR-VL backends. Enables text, layout, table, formula, and chart extraction from images via natural language.14MIT
- AlicenseNot gradedqualityBmaintenanceEnables image analysis via OpenAI-compatible vision APIs, supporting local files, URLs, and base64 inputs with intelligent tiling for high-resolution images. Provides a secure, configurable MCP stdio server for structured vision analysis.1,2641MIT
- AlicenseAqualityAmaintenanceEnables non-vision LLMs to understand images, extract text via OCR, and parse documents through a unified MCP interface, with local-first processing and optional OpenAI-compatible channels.3MIT
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.
ImagePay MCP: 40 x402 paid API tools (OCR, PDF, image, QR, tabular, web). Pay per call on Base.
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/LinuxLinking/ocr-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server