MCP Mistral OCR
Model Context Protocol (MCP) Server for Mistral OCR API
Overview
MCP Mistral OCR is an OCR server that utilizes Mistral AI's OCR API to process images and PDFs, enabling users to extract text from various file formats.
To use MCP Mistral OCR, you can either run it in a Docker container or set it up for local development. You need to provide your Mistral API key and specify the directory for local file processing.
- Processes local files (images and PDFs) and files from URLs. - Supports multiple file formats including JPG, PNG, and PDF. - Outputs results in JSON format with timestamps. - Docker containerization for easy deployment. - UV package management for local development.
- Extracting text from scanned documents.
- Processing images for text recognition.
- Automating data entry from PDFs.
Add to your AI client
Use these steps to connect MCP Mistral OCR in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-mistral-ocr-everaldo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-mistral-ocr-everaldo"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-mistral-ocr-everaldo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-mistral-ocr-everaldo"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-mistral-ocr-everaldo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-mistral-ocr-everaldo"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-mistral-ocr-everaldo": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-mistral-ocr-everaldo"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-mistral-ocr-everaldo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-mistral-ocr-everaldo"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-mistral-ocr-everaldo": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-mistral-ocr-everaldo"
]
}
}
}FAQ
What file types does MCP Mistral OCR support?
It supports images (JPG, PNG, etc.) and documents (PDF).
Is there a limit on file size?
Yes, the maximum file size is 50MB as enforced by the Mistral API.
How do I run MCP Mistral OCR in Docker?
You can build the Docker image and run it with your Mistral API key and local file directory.