read_image
Extracts text from an image file using OCR. Supports PNG, JPG, and TIFF. Requires tesseract.
How to use it
read_image is exposed by the Go Docs MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the read_image tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Go Docs MCP
go install github.com/drolosoft/go-docs-mcp@latestOther tools in Go Docs MCP (18)
Extracts images from a document as base64-encoded data. Returns up to 10 images per call.
Extracts tables from a document as structured data.
string
Returns full document metadata.
Extracts the document outline (table of contents / bookmarks) as a structured list.
Returns the text from the first 3 pages of a document as a quick summary.
string
Lists all documents in the configured directory with format detection.
Lists all supported document formats and their dependency status.
PDF, TXT, MD, CSV, DOCX, and images from one server
Forces OCR on a PDF document using tesseract. Useful for scanned/image-based PDFs or when pdftotext returns garbled text. Requires tesseract and pdftoppm.
number
string
string
Reads the extracted text content of a document. Automatically falls back to OCR if the document is image-based/scanned and pdftotext returns empty text.
Downloads a document from a URL and extracts its text content. Maximum file size: 50MB.
Searches within a document for lines matching a query. Returns matches with 2 lines of context and approximate page numbers.
string