LeyuDame2

Mistral OCR

Officev1.0.4
By LeyuDame2Updated 2026-05-115 versions · latest released 2026-02-15mistral-ocr@clawhub_yzdame/mistral-ocr
PDF#OCR#Privacy#Json#PDF

According to AlphaMoat, as of 2026-09, Mistral OCR has 2,994 downloads and 5 stars — ranked #3,734 of 5,078 AI skills overall, and #274 of 435 in Office.

Installs
313
Downloads
3.0K
Stars
5
Overall Rank
#3,734
Top 74% overall · Top 63% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗882.9K5-
SkillHub ↗3133.0K5—

Platforms count differently and update at different times.

What this skill does

It documents text, table and image extraction into Markdown, JSON or HTML with a local output directory and MISTRAL_API_KEY. Files leave the machine; confirm remote processing is acceptable, especially for sensitive documents, or use local OCR. Pin the reviewed SDK, protect the key and review or sanitize HTML derived from untrusted input before opening.

Profile published 2026-10-27

What you can do with it

  • Prepare cloud OCR conversions

When to use it

  • When document upload to Mistral is approved

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Check this document’s upload permission and output folder, then plan OCR with safe review of any HTML output.

Monthly Trend

Downloads3.0K
1.8K2.4K3.1K2026-03 · Downloads 1.9K2026-05 · Downloads 2.1K2026-06 · Downloads 2.3K2026-07 · Downloads 2.6K2026-08 · Downloads 2.8K2026-09 · Downloads 3.0K26-0326-09
Stars5
4562026-03 · Stars 52026-05 · Stars 52026-06 · Stars 52026-07 · Stars 52026-08 · Stars 52026-09 · Stars 526-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.0K—5
2026-082.8K+6.6%5
2026-072.6K+12.2%5
2026-062.3K+8.4%5
2026-052.1K—5
2026-031.9K—5

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.2 KB · ClawHub v1.0.4
---
name: mistral-ocr
description: "Convert PDF/images to Markdown/JSON/HTML using Mistral OCR API. Supports image extraction, table recognition, header/footer handling, and multi-column layouts. Usage: Upload a file and say Use Mistral OCR to process this."
registry:
  homepage: https://github.com/YZDame/Mistral-OCR-SKILL
  author: YZDame
  credentials:
    required: true
    env_vars:
      - MISTRAL_API_KEY
Show all (90 lines)
---

# ⚠️ Privacy Warning - 隐私警告

**IMPORTANT - READ BEFORE INSTALLING:**

This skill **uploads your files to Mistral's cloud servers** for OCR processing.

**Do NOT use with sensitive or confidential documents** unless:
- You trust Mistral's data handling policies
- You have reviewed Mistral's privacy policy
- You accept that file contents will be transmitted and processed remotely

**For sensitive documents, use offline/local OCR tools instead.**

---

# Mistral OCR Skill

A powerful OCR tool that converts PDF files and images into Markdown, JSON, or HTML formats using Mistral's state-of-the-art OCR API.

## Installation

```bash
# Clone or download this repository
git clone https://github.com/YZDame/Mistral-OCR-SKILL.git
cd Mistral-OCR-SKILL

# Install dependencies
pip install -r requirements.txt
```

## 🔑 API Key Setup (Required)

**Get your API key:**
👉 https://console.mistral.ai/home

**Set the environment variable:**

```bash
export MISTRAL_API_KEY=your_api_key
```

## CLI Usage

```bash
cd scripts

# Process PDF to Markdown
python3 mistral_ocr.py -i input.pdf

# Process PDF to JSON
python3 mistral_ocr.py -i input.pdf -f json

# Specify output directory
python3 mistral_ocr.py -i input.pdf -o ~/my_ocr_results
```

## Arguments

| Flag | Description |
|------|-------------|
| `-i, --input` | Input file path (required) |
| `-f, --format` | Output format: markdown/json/html (default: markdown) |
| `-o, --output` | Output directory |

## Data Privacy

**What happens to your files:**
1. Files are uploaded to Mistral's OCR API
2. Files are processed on Mistral servers
3. Processing results are returned to you
4. Files are not stored on Mistral servers (per Mistral policy)

**For more details, see:** https://mistral.ai/privacy-policy

## License

MIT

Popular in Office

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.