MCP server for extracting text and images from documents using Mistral OCR API
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"mistral-ocr-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# Mistral OCR MCP Server A Model Context Protocol (MCP) server that provides tools for extracting text and images from PDF and image files using the Mistral OCR API. ## Features - **Local & URL Extraction**: Extract markdown from local files or remote URLs - **Image Handling on Demand**: Optionally save embedded images to disk with proper relative links - **Advanced OCR**: Page selection, table format control, model selection - **Health Check**: Built-in API status endpoint - **Security Sandbox**: Restricts file writes to a configured allowed directory - **Zero-Install Deployment**: Run with `uvx` without prior installation - **Supported Formats**: PDF (`.pdf`), PNG (`.png`), JPEG (`.jpg`, `.jpeg`), WebP (`.webp`), GIF (`.gif`) --- ## Client Configuration ### Claude Desktop Add this to your `claude_desktop_config.json`: - **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json` - **Windows**: `%APPDATA%\Claude\claude_desktop_config.json` ```json { "mcpServers": { "mistral-ocr": { "command": "uvx", "args": ["mistral-ocr-mcp"], "env": { "MISTRAL_API_KEY": "your-api-key-here", "MISTRAL_OCR_ALLOWED_DIR": "/absolute/path/to/allowed/directory" } } } } ``` ### OpenCode Add this to the `mcp` section of your configuration file: ```json { "mcp": { "mistral-ocr": { "type": "local", "command": ["uvx", "mistral-ocr-mcp"], "enabled": true, "environment": { "MISTRAL_API_KEY": "your-api-key-here", "MISTRAL_OCR_ALLOWED_DIR": "/absolute/path/to/allowed/directory" } } } } ``` ### Codex If you use the Codex CLI, you can add the server with: ```bash codex mcp add mistral-ocr -- uvx mistral-ocr-mcp ``` Make sure the environment variables `MISTRAL_API_KEY` and `MISTRAL_OCR_ALLOWED_DIR` are set in your shell environment. --- ## Configuration ### Required Environment Variables | Variable | Description | Example | |----------|-------------|---…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.