Optical Context MCP server
io.github.ChrBoebel/optical-context-mcp·v0.1.5·1 starsCompress OCR-heavy PDFs into dense packed images so agents can work with long visual documents.
not scanned yet
1 stars43 downloads/wk
Reviews
Write oneNobody has reviewed Optical Context MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Optical Context MCP tools
No tool declarations could be read from the package source. They show once the server is installed.
How Optical Context MCP compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- GitHub stars
- 1
- more than 65% of 28,688 servers
- Downloads a week
- 43
- more than 35% of 12,191 servers with a package
Release history: 2 versions in the registry since 2026-03-08, latest 2026-09-29, typically one every 206 days.
Install Optical Context MCP in Claude Code, Cursor or VS Code
claude mcp add optical-context-mcp -- uvx optical-context-mcp
What the publisher says
From the Optical Context MCP repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.ChrBoebel/optical-context-mcp -->
Optical Context MCP
Compress OCR-heavy PDFs into dense packed images so agents can work with long visual documents.
Optical Context MCP is built for one specific job: turning large, visually structured PDFs into a smaller set of retrievable packed images for agent workflows.
It reads a local PDF, runs OCR with Mistral, recomposes the extracted text and figures into dense PNGs, and exposes those artifacts over MCP for batch retrieval.
What It Does
- reads a local PDF from the MCP host machine
- extracts page markdown and embedded images with Mistral OCR
- packs that content into dense PNGs that preserve visual grouping
- optionally sizes embedded figures with a bundled technical-document model
- stores a manifest and temp job artifacts for follow-up retrieval
- lets an agent pull only the packed images it needs
Where It Fits
Use it for:
- operating manuals
- scanned handbooks
- product catalogs
- PDF slide decks
- visually structured OCR-heavy documents
Skip it for:
- tiny PDFs
- clean text-native PDFs where normal extraction is enough
- workflows that require exact page-faithful rendering
- cases where OCR cost is not justified
Example Result
The image below shows a real local validation run on a public research paper with dense text, figures, charts, and page-level visual structure. The packed image on the right consolidates the seven source pages shown on the left.
Example local run facts from the generated manifest:
- source paper pages: 22
- previewed source page range: 15 to 21
- extracted images: 30
- packed output images: 6
- example packed image size: 986x1084
- example packed image file size: 536,697 bytes
This example shows the intended workflow: take a long, visually structured PDF and compress it into a smaller set of retrievable packed images that still preserve the visual structure of the source.
Install
python -m pip install optical-context-mcpInstall with the adaptive sizing runtime:
python -m pip install "optical-context-mcp[ml]"Run without installing:
uvx optical-context-mcp- MISTRALAPIKEY is required for compress_pdf
- packed images are always stored locally under the system temp directory
- compress_pdf returns up to 30 packed images inline by default
- the adaptive sizing checkpoint is bundled with the package
- adaptive sizing activates automatically when torch and torchvision are available
- set OPTICALCONTEXTDISABLEADAPTIVESIZING=1 to force the legacy fixed sizing
- set OPTICALCONTEXTADAPTIVEMODELPATH=/path/to/model.pt to override the bundled checkpoint
For pinned shared setups:
uvx --from optical-context-mcp==0.1.5 optical-context-mcpRun
Default transport is stdio:
optical-context-mcpClaude Code
Register the server in a project:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Optical Context MCP: common questions
- Is Optical Context MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Optical Context MCP safety report
- How do I install Optical Context MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Optical Context MCP need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Optical Context MCP maintained?
- The last commit was 49 days ago (2026-09-16). The latest release is v0.1.5.
- What can I use instead of Optical Context MCP?
- Servers from other publishers that do the same job: Docling MCP server.
- How does Optical Context MCP compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); github stars 1 (more than 65% of 28,688 servers); downloads a week 43 (more than 35% of 12,191 servers with a package). Full comparison.
Alternatives to Optical Context MCP
Same job from other publishers: the closest match first, then the best rated.
- Docling MCPConvert PDFs and other documents to structured formats via Docling, for AI applications.not reviewedEstablishedA