MCP Mistral OCR
OCR images or pdfs, locally or by URLs by using Mistral OCR API (paid)
What is MCP Mistral OCR?
MCP Mistral OCR is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to ocr images or pdfs, locally or by urls by using mistral ocr api (paid)
OCR images or pdfs, locally or by URLs by using Mistral OCR API (paid)
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- OCR images or pdfs, locally or by URLs by using Mistral OCR
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-mistral-ocrConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use MCP Mistral OCR
MCP Mistral OCR is a Model Context Protocol server that wraps Mistral AI's OCR API, enabling AI assistants to extract text from images and PDFs — whether stored locally or referenced by URL — without leaving the conversation. It exposes two tools: one for processing files from a configured local directory and another for fetching and processing remote files by URL. Developers and analysts who need to extract structured text from scanned documents, screenshots, or PDF reports can use this server to automate that extraction step directly within Claude or other MCP clients.
Prerequisites
- Python 3.10 or later, or Docker
- Mistral AI account with OCR API access and a paid API plan
- MISTRAL_API_KEY from the Mistral AI console
- A local directory for OCR_DIR where local files to be processed are stored
- An MCP-compatible client such as Claude Desktop
Obtain a Mistral AI API key
Log into the Mistral AI console at console.mistral.ai, create a new API key, and note that the OCR API requires a paid plan.
Install via Smithery (recommended)
The easiest installation path uses Smithery, which handles configuration automatically for Claude Desktop.
npx -y @smithery/cli install @everaldo/mcp/mistral-crosswalk --client claudeSet environment variables
Set your Mistral API key and the directory where local files to be OCR'd will be placed.
export MISTRAL_API_KEY=your-mistral-api-key
export OCR_DIR=/path/to/your/ocr/input/directoryPlace files to process in OCR_DIR
Copy or move the images or PDFs you want to process into the OCR_DIR directory. Supported formats are JPG, PNG, GIF, WebP, and PDF, with a 50 MB size limit and 1000-page maximum per file.
cp /path/to/document.pdf /path/to/your/ocr/input/directory/Configure your MCP client
If not using Smithery, add the server manually to your claude_desktop_config.json with the environment variables set.
MCP Mistral OCR Examples
Client configuration
Manual claude_desktop_config.json configuration for the Mistral OCR MCP server using uvx.
{
"mcpServers": {
"mcp-mistral-ocr": {
"command": "uvx",
"args": ["mcp-mistral-ocr"],
"env": {
"MISTRAL_API_KEY": "your-mistral-api-key",
"OCR_DIR": "/path/to/ocr/directory"
}
}
}
}Prompts to try
Once connected, use these prompts to extract text from local files and remote URLs.
- "Extract the text from invoice.pdf in my OCR directory"
- "Process the image at https://example.com/receipt.jpg and extract all line items"
- "Read the scanned contract at https://example.com/contract.pdf and summarize its key terms"
- "Extract all text from screenshot.png and format it as a table"Troubleshooting MCP Mistral OCR
API authentication error when calling OCR tools
Verify that MISTRAL_API_KEY is set correctly and that your Mistral account has an active paid plan with OCR API access enabled. Free tier accounts cannot use the OCR API.
process_local_file tool cannot find the file
Ensure the file is placed in the directory specified by OCR_DIR and that you pass only the filename (not a full path) to the tool. The server maps this directory to /data/ocr in containerized setups.
Large PDF fails to process
Mistral OCR has a 50 MB file size limit and a 1000-page maximum. Split large PDFs into smaller chunks before processing, or process page ranges separately.
Frequently Asked Questions about MCP Mistral OCR
What is MCP Mistral OCR?
MCP Mistral OCR is a Model Context Protocol (MCP) server that ocr images or pdfs, locally or by urls by using mistral ocr api (paid) It connects AI assistants to external tools and data sources through a standardized interface.
How do I install MCP Mistral OCR?
Follow the installation instructions on the MCP Mistral OCR GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with MCP Mistral OCR?
MCP Mistral OCR works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is MCP Mistral OCR free to use?
Yes, MCP Mistral OCR is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
MCP Mistral OCR Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to MCP Mistral OCR? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up MCP Mistral OCR in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use MCP Mistral OCR?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.