Mistral OCR MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Mistral OCR MCP Server
An MCP (Model Context Protocol) server that exposes Mistral AI's OCR and audio transcription capabilities as tools for LLM agents.
Tools
Tool | Description |
| Convert PDF to plain text |
| Convert PDF to markdown (preserves formatting) |
| Download and process PDF from URL |
| Transcribe audio files to text |
Related MCP server: Doc MCP Server
Installation
Using uv (recommended)
# Clone the repository
git clone https://github.com/yourusername/mistral-ocr-mcp.git
cd mistral-ocr-mcp
# Install with uv
uv sync
# Run the server
uv run mistral-ocr-mcpUsing pip
pip install mistral-ocr-mcpConfiguration
Set your Mistral API key:
# Option 1: Environment variable
export MISTRAL_API_KEY=your_api_key_here
# Option 2: .env file
cp .env.example .env
# Edit .env with your API keyGet your free API key from console.mistral.ai.
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mistral-ocr": {
"command": "uv",
"args": ["--directory", "/path/to/mistral-ocr-mcp", "run", "mistral-ocr-mcp"],
"env": {
"MISTRAL_API_KEY": "your_api_key_here"
}
}
}
}Usage with Smithery
Install from Smithery:
npx @smithery/cli install mistral-ocr-mcpTool Parameters
pdf_to_text
Parameter | Type | Required | Description |
file_path | string | Yes | Path to PDF file |
pages | string | No | Page selection (e.g., "1,8,9,11-20") |
output_path | string | No | Custom output path |
pdf_to_markdown
Parameter | Type | Required | Description |
file_path | string | Yes | Path to PDF file |
pages | string | No | Page selection |
output_path | string | No | Custom output path |
pdf_from_url
Parameter | Type | Required | Description |
url | string | Yes | URL of PDF to download |
output_format | string | No | "text" or "markdown" (default: "text") |
pages | string | No | Page selection |
keep_pdf | boolean | No | Keep downloaded PDF (default: false) |
transcribe_audio
Parameter | Type | Required | Description |
file_path | string | Yes | Path to audio file |
output_path | string | No | Custom output path |
Supported audio formats: .ogg, .mp3, .wav, .m4a, .flac
Requirements
Python 3.10+
Mistral API key (free tier: 1,000 pages OCR)
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn PDFs, documents, podcasts and drone photos into Markdown, structured JSON, summaries, reports.
Generate and read PDFs for AI agents: a generate_pdf and a read_pdf tool, priced per document.
Convert PDF URLs to clean text or LLM-ready Markdown, with RAG chunks and OCR in 100+ languages.
Document conversion and OCR for AI agents: PDF, Office docs, images to text.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to extract and read content from PDF documents using Mistral AI's OCR capabilities. Provides intelligent caching and returns clean markdown text for easy integration with AI workflows.21MIT
- AlicenseBqualityCmaintenanceEnables AI agents to generate PDFs from Markdown or URLs, extract text, merge documents, and perform text conversions via the Model Context Protocol.81MIT
- AlicenseNot gradedqualityCmaintenanceProvides AI agents with comprehensive document parsing capabilities including PDF text extraction, OCR, HTML-to-markdown conversion, table extraction, and summarization, optimized for agent workflows.60 npmMIT
- AlicenseAqualityDmaintenanceEnables AI agents to process and inspect PDFs by detecting document type, extracting text, and generating Markdown with layout information.71MIT