MCP server for multi-format document access — read, search, extract images, OCR, and fetch documents from URLs via the Model Context Protocol. 13 tools, 6 formats, zero configuration.
go install github.com/drolosoft/go-docs-mcp@latest
# That's it. Single binary, starts in milliseconds.
📄🐹⚡ Go MCP server that lets your AI read documents: PDF, DOCX, XLSX, PPTX, ODT, EPUB, HTML, RTF, Markdown, CSV, Jupyter and images, with OCR, search, tables and paging. 13 read-only tools, one binary, Homebrew and Claude Code marketplace.
Sterne
12
Tools
—
Uptime
—
For a deeper look at why an MCP server beats a direct tool, see Why MCP?
🏆 Why Go-Docs MCP?
Every other document MCP server handles one format — a PDF server for PDFs, a DOCX server for DOCX. You'd need three separate servers to read three formats.
Go-Docs MCP
Others
Single binary, no runtime
Yes
Need Node/Python
go install one-liner
Yes
npm+deps or pip+venv
Multi-format (6 types)
Yes
One format each
Full-text search
Yes
Partial or none
OCR (scanned PDFs + images)
Yes
Rare
Image & table extraction
Yes
Partial
Document outline
Yes
Rare
Fetch from URL
Yes
Rare
Dir-locked, read-only
Yes
Varies
Smart caching
Yes
No
Fully offline
Yes
Yes
Go-Docs MCP reads them all from a single binary — fast, secure, and dependency-free at runtime.
📋 Features — 13 Tools
Category
Tool
Description
Discovery
list_documents
List all documents with metadata (format, pages, size)
Discovery
list_formats
List supported formats and dependency status
Reading
read_document
Full text, specific page, or page ranges from any format
Reading
read_url
Download from URL and extract text (50MB max)
Reading
get_document_summary
First 3 pages as a quick overview
Search
search_document
Case-insensitive full-text search with context
Analysis
get_document_metadata
Title, author, dates, version, page count
Analysis
get_document_outline
Table of contents / bookmarks
Analysis
extract_tables
Tables as structured data
Analysis
extract_images
Images as base64 (max 10 per call)
OCR
ocr_document
Force OCR on scanned/image-based PDFs
OCR
read_image
Extract text from PNG, JPG, TIFF via OCR
Export
convert_to_markdown
Convert any document to clean Markdown
Highlights:
Fast — mtime-based in-memory caching avoids redundant extraction
Multi-format — PDF, TXT, MD, CSV, DOCX, and images from one server
OCR — automatic fallback to tesseract for scanned documents
Secure — directory-locked with path traversal prevention
Portable — works on macOS and Linux
📄 Supported Formats
Format
Dependencies
Notes
PDF
poppler (pdftotext, pdfinfo, pdfimages, pdftoppm)
Full support — text, images, metadata, OCR fallback
Lists all supported document formats and their dependency status.
Parameters: None
read_document
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.
Parameters:
Name
Type
Required
Description
filename
string
Yes
The document filename to read
page
number
No
Single page number (1-based). Omit for full text.
pages
string
No
Page ranges, e.g. "1-5", "10", "1-3,7,10-12". Overrides page.
Searches within a document for lines matching a query. Returns matches with 2 lines of context and approximate page numbers.
Parameters:
Name
Type
Required
Description
filename
string
Yes
The document filename to search
query
string
Yes
Search query (case-insensitive)
Example output:
Found 3 matches for 'microservice' in architecture-guide.pdf:
--- Match 1 (page ~2, line 45) ---
The system is composed of several
> microservice components that communicate
via gRPC and message queues.
get_document_summary
Returns the text from the first 3 pages of a document as a quick summary.
Forces OCR on a PDF document using tesseract. Useful for scanned/image-based PDFs or when pdftotext returns garbled text. Requires tesseract and pdftoppm.
Note:read_document already auto-detects image-based PDFs and falls back to OCR. Use ocr_document when you want to force OCR regardless, or need to specify a non-English language.
Parameters:
Name
Type
Required
Description
filename
string
Yes
The PDF filename to OCR
page
number
No
Specific page to OCR (1-based). Omit for all pages.
language
string
No
Tesseract language code (default: eng). Use spa, fra, etc.
📄🐹⚡ Go MCP server that lets your AI read documents: PDF, DOCX, XLSX, PPTX, ODT, EPUB, HTML, RTF, Markdown, CSV, Jupyter and images, with OCR, search, tables and paging. 13 read-only tools, one binar
📄🐹⚡ Go MCP server that lets your AI read documents: PDF, DOCX, XLSX, PPTX, ODT, EPUB, HTML, RTF, Markdown, CSV, Jupyter and images, with OCR, search, tables and paging. 13 read-only tools, one binary, Homebrew and Claude Code marketplace.
Tools
Tools
Noch keine Tool-Liste. Remote-Server erhalten eine nach dem ersten Health-Check.
FAQ
Fragen
Wie installiere ich Go Docs?
Kopieren Sie auf dieser Seite die stdio-Konfiguration für Cursor, Claude Desktop, Claude Code oder VS Code. Sie nutzt die Installation des Herausgebers, keinen PlugMCP-Proxy.
In diesem Eintrag ist keine erforderliche Umgebungsvariable aufgeführt.
Welchen Transport verwendet Go Docs?
Go Docs läuft lokal über stdio.
Wann wurde Go Docs zuletzt geprüft?
Zuletzt geprüft: 2026-11-11. 📄🐹⚡ Go MCP server that lets your AI read documents: PDF, DOCX, XLSX, PPTX, ODT, EPUB, HTML, RTF, Markdown, CSV, Jupyter and images, with OCR, search, tables and paging. 13 read-only tools, one binary, Homebrew and Claude Code marketplace.