ndlocr-lite-mcp

v0.2.0
ndlocr-lite-mcp Checked 2 days ago Published 5 months ago

MCP 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'.

ParameterTypeDescription
source *string
enable_tcyboolean
output_dir
vizboolean

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'.

ParameterTypeDescription
source *string
enable_tcyboolean
output_dir
vizboolean