ndlocr-lite-mcp
v0.2.0MCP server wrapping the NDLOCR-lite CLI
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ocr_file Ocr File
Run OCR on a single image or PDF file using NDLOCR-lite. Supported formats (native): jpg, jpeg, png, tiff, tif, jp2, bmp. Supported formats (auto-converted): webp, gif, avif, heic, heif, svg, pdf. PDF files are processed page by page; each page becomes one entry in 'pages'. When viz=True and output_dir is specified, a visualization image path is included per page under 'viz_path'.
| Parameter | Type | Description |
|---|---|---|
source * | string | |
enable_tcy | boolean | |
output_dir | ||
viz | boolean |
ocr_directory Ocr Directory
Run OCR on all supported image files in a directory using NDLOCR-lite. Processes files with extensions: jpg, jpeg, png, tiff, tif, jp2, bmp, webp, gif, avif, heic, heif, svg, pdf. Other file types are skipped. If a file fails (unsupported format, OCR error, etc.), it is included in the response with an 'error' key instead of 'pages'.
| Parameter | Type | Description |
|---|---|---|
source * | string | |
enable_tcy | boolean | |
output_dir | ||
viz | boolean |