Mistral OCRSAFE
Model Context Protocol (MCP) Server for Mistral OCR API
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://mseep.ai/app/everaldo-mcp-mistral-ocr)
[](https://smithery.ai/server/@everaldo/mcp-mistral-ocr)
An MCP server that provides OCR capabilities using Mistral AI's OCR API. This server can process both local files and URLs, supporting images and PDFs.
Features
- Process local files (images and PDFs) using Mistral's OCR
- Process files from URLs with explicit file type specification
- Support for multiple file formats (JPG, PNG, PDF, etc.)
- Results saved as JSON files with timestamps
- Docker containerization
- UV package management
Environment Variables
MISTRAL_API_KEY: Your Mistral AI API keyOCR_DIR: Directory path for local file processing. Inside the container, this is always mapped to/data/ocr
Installation
Installing via Smithery
To install Mistral OCR for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @everaldo/mcp/mistral-crosswalk --client claude
Using Docker
- Build the Docker image:
docker build -t mcp-mistral-ocr .
- Run the container:
docker run -e MISTRAL_API_KEY=your_api_key -e OCR_DIR=/data/ocr -v /path/to/local/files:/data/ocr mcp-mistral-ocr
Local Development
- Install UV package manager:
pip install uv
- Create and activate virtual environment:
uv venv source .venv/bin/activate # On Unix # or .venv\Scripts\activate # On Windows
- Install dependencies:
uv pip install .
Claude Desktop Configuration
Add this configuration to your claudedesktopconfig.
f3fc0adabfabOBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add mcp-mistral-ocr --env MISTRAL_API_KEY=${MISTRAL_API_KEY} -- uvx mcp-mistral-ocr{
"mcpServers": {
"mcp-mistral-ocr": {
"command": "uvx",
"args": [
"mcp-mistral-ocr"
],
"env": {
"MISTRAL_API_KEY": "${MISTRAL_API_KEY}"
}
}
}
}Exposed tools (3)
3 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
list_tools | read | List available tools |
process_local_file | read | Process a local file from OCR_DIR |
process_url_file | read | Process a file from a URL |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
f3fc0adabfabfull audit observations/trust-audit/mcp-server/everaldo__mistral-ocr.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | f3fc0adabfab | SAFE | B | 89 | first audit |
Questions
What is the Mistral OCR MCP server?
Model Context Protocol (MCP) Server for Mistral OCR API
What tools does Mistral OCR expose?
3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Mistral OCR safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Mistral OCR need?
It reads MISTRAL_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Mistral OCR run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as mcp-mistral-ocr.
How current is this page?
The grade is for one exact copy of the source (f3fc0adabfab), read on 2026-10-08. The repository is watched and re-audited when it changes.