DeepSeek-OCR-WebUI

Self-hosted DeepSeek-OCR-2 document and image OCR service with MCP tools.

Local

Install

See setup instructions on github.com

What it does

DeepSeek-OCR-WebUI is a self-hosted web service and API built around DeepSeek-OCR-2 for converting documents and images into Markdown, plain text, or structured layout data. A Vue frontend handles batch uploads and PDF rendering in a Web Worker, while the Python backend runs the model through either vLLM (NVIDIA GPUs, batch streaming) or Hugging Face transformers (NVIDIA, Apple Silicon MPS, and CPU). It is aimed at people who need local OCR with per-page quality signals rather than a hosted API.

For MCP clients such as Claude or Cursor, a bundled server is configured as a stdio command launched via uv, pointed at a running instance with the DSOCR_BASE environment variable. It exposes ocr_image, ocr_pdf, and health tools; images and PDFs are referenced by local path or base64. The HTTP API also offers Swagger docs, NDJSON streaming for PDFs, and recognition modes including document, ocr, free, figure, describe, and find.

Defaults bind to 127.0.0.1 with no authentication, so remote access needs a tunnel or authenticating proxy. Model weights are downloaded separately, uploads are capped at 200 MB and 500 PDF pages, and output can carry warnings for repetition, truncation, or invalid boxes. The project notes weaker results on skewed photos, handwriting, and low-resource languages.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
447
Last push
Nov 7, 2026
License
MIT
Archived
No

FAQ

What license does DeepSeek-OCR-WebUI use?
MIT
Does DeepSeek-OCR-WebUI run locally or remotely?
It runs locally.
Is DeepSeek-OCR-WebUI an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/deepseek-ocr-webui"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options