magicyuan876/mineru-tianshu

天枢 - 企业级 AI 一站式数据预处理平台 | PDF/Office转Markdown | 支持MCP协议AI助手集成 | Vue3+FastAPI全栈方案 | 文档解析 | 多模态信息提取

What it solves

Organizations often need to turn messy, unstructured files (PDFs, Word docs, videos, audio, images, even bioinformatics formats) into clean, structured data that AI models can use. Tianshu provides a single, self-hosted platform to handle this preprocessing at scale, with features like automatic PDF splitting, encrypted document support, watermark removal, and multi-GPU load balancing.

How it works

Tianshu combines a Vue 3 frontend for task submission and monitoring, a FastAPI backend for API and authentication, and a LitServe-based worker pool for GPU-accelerated processing. Users upload files (or connect via MCP protocol or API), choose an engine (MinerU for documents, SenseVoice for audio, etc.), and get back Markdown and JSON outputs. The system manages task queues, supports encrypted files (PDF, Office, ZIP) with optional passwords, can split large PDFs into parallel subtasks, and automatically uploads result images to an S3-compatible object store (RustFS). Deployment is Docker-based with a one-click setup script supporting GPU, CPU, native, and offline modes.

Who it’s for

Teams that need to process large volumes of documents or media for RAG pipelines, AI training, or content extraction. It’s especially suited to enterprise users who require authentication, audit logs, webhooks, and integration with AI assistants via MCP (like Claude Desktop).

Highlights

  • Multi-format support: PDF, Word, Excel, PPT, images, audio, video, FASTA, GenBank, and more
  • GPU load balancing with LitServe — automatically schedules tasks across multiple GPUs
  • Encrypted document parsing (PDF, Office, ZIP) with password handling and retry
  • Watermark removal (experimental) using YOLO11x + LaMa
  • MCP protocol integration so AI assistants can directly call parsing tools
  • One-click Docker deployment with prebuilt images, offline package support, and local development modes

Related

  • Project
  • Project
  • Project
  • Project
  • Project