SO

sandraschi/ocr-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

25 stars 9 forks 质量 73 趋势 20MIT

FastMCP服务器提供先进的OCR功能,采用当前最先进的模型(DeepSeek-OCR、Florence-2、DOTS)。

概览

A是简化仪表盘(拖拽或扫描,选择引擎,点击一个按钮)和代理IDE的Claude、Cursor、Windsurf,所以代理可以作为工具运行OCR、预处理和工作流程。同样的14个引擎,WIA扫描器(Windows)和流水线;一个仓库。 OCR、MCP、FastMCP、文档处理、扫描仪、WIA、PDF、计算机视觉、模型-上下文-协议、LLM - React(web_sota/)+ FastAPI(后端/app.py):上传或扫描,选择引擎,获取文本/PDF/JSON。端口(Vite)和(API)。应用内(/help)文档包含网页界面、MCP服务器和OCR后端。- FastMCP 3.1标准:OCR、预处理、扫描器、工作流程工具。(http://127.0.0.1:11434/v1, model llama3.2)无云API密钥。设置为使用主机IDE的LLM。Mistral OCR在调用该后端时使用。参见AI_FEATURES.md。 14个后端(Unlimited-OCR、PaddleOCR-VL-1.5、Nemotron VL 8B、DeepSeek-OCR-2、MinerU2。

概述(AI 翻译)

完整的AI OCR网页应用和MCP服务器。 一个网页应用,拥有简化的仪表盘(拖拽或扫描,选择引擎,点击一个按钮)和FastMCP 3.1 MCP服务器,用于代理IDEsClaude、光标、Windsurf,所以代理可以作为工具运行OCR、预处理和工作流程。同样的14个引擎,WIA扫描器(Windows)和流水线;一个仓库。

主题: ocr, mcp, fastmcp、document-processing、scanner、wia、pdf、computer-vision、model-context-protocol、llm

它的作用

  • Web 应用 React(web_sota/)+ FastAPI(backend/app.py):上传或扫描,选择引擎,获取文本/PDF/JSON。端口 10858(Vite)和10859(API)。应用内的Help(/help)文档说明网页界面、MCP服务器和OCR后端。
  • MCP 服务器 FastMCP 3.1 标准:OCR、预处理、扫描仪、工作流程工具。采样默认为本地 Ollama(http://127.0.0.1:11434/v1,型号 llama3.2)无云 API 密钥。将 OCR_SAMPLING_USE_CLIENT_LLM=1 设置为使用主机 IDE 的 LLM。Mistral OCR 调用该后端时使用 MISTRAL_API_KEY。参见 AI_FEATURES.md。

** 功能:** 14个后端(Unlimited-OCR,PaddleOCR-VL-1。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

OCR-MCP

Complete AI OCR webapp and MCP server. A web app with a streamlined dashboard (drag-and-drop or scanner, pick an engine, click one button) and a FastMCP 3.1 MCP server for agentic IDEsClaude, Cursor, Windsurfso agents can run OCR, preprocessing, and workflows as tools. Same 14 engines, WIA scanner (Windows), and pipelines; one repo.

Topics: ocr, mcp, fastmcp, document-processing, scanner, wia, pdf, computer-vision, model-context-protocol, llm

What it does

  • Web app React (web_sota/) + FastAPI (backend/app.py): upload or scan, pick engine, get text/PDF/JSON. Ports 10858 (Vite) and 10859 (API). In-app Help (/help) documents the web UI, the MCP server, and OCR backends.
  • MCP server FastMCP 3.1 stdio: tools for OCR, preprocessing, scanner, workflows. Sampling defaults to local Ollama (http://127.0.0.1:11434/v1, model llama3.2) no cloud API key. Set OCR_SAMPLING_USE_CLIENT_LLM=1 to use the host IDEs LLM instead. Mistral OCR uses MISTRAL_API_KEY when you call that backend. See AI_FEATURES.md.
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "ocr-mcp": { "command": "uv", "args": ["--directory", "D:/Dev/repos/ocr-mcp", "run", "ocr-mcp"] } } }