mcp-mistral-ocr
MCP ミストラル OCR
Mistral AIのOCR APIを使用してOCR機能を提供するMCPサーバー。このサーバーは、ローカルファイルとURLの両方を処理でき、画像とPDFをサポートしています。
特徴
MistralのOCRを使用してローカルファイル(画像とPDF)を処理する
明示的にファイルタイプを指定した URL からのファイルを処理する
複数のファイル形式(JPG、PNG、PDF など)をサポート
結果はタイムスタンプ付きのJSONファイルとして保存されます
Dockerコンテナ化
UVパッケージ管理
Related MCP server: Mistral OCR MCP Server
環境変数
MISTRAL_API_KEY: Mistral AI APIキーOCR_DIR: ローカルファイル処理用のディレクトリパス。コンテナ内では常に/data/ocrにマッピングされます。
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Mistral OCR を自動的にインストールするには:
npx -y @smithery/cli install @everaldo/mcp/mistral-crosswalk --client claudeDockerの使用
Docker イメージをビルドします。
docker build -t mcp-mistral-ocr .コンテナを実行します。
docker run -e MISTRAL_API_KEY=your_api_key -e OCR_DIR=/data/ocr -v /path/to/local/files:/data/ocr mcp-mistral-ocr地域開発
UV パッケージ マネージャーをインストールします。
pip install uv仮想環境を作成してアクティブ化します。
uv venv
source .venv/bin/activate # On Unix
# or
.venv\Scripts\activate # On Windows依存関係をインストールします:
uv pip install .クロードデスクトップ構成
この設定を claude_desktop_config.json に追加します。
{
"mcpServers": {
"mistral-ocr": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MISTRAL_API_KEY",
"-e",
"OCR_DIR",
"-v",
"C:/path/to/your/files:/data/ocr",
"mcp-mistral-ocr:latest"
],
"env": {
"MISTRAL_API_KEY": "<YOUR_MISTRAL_API_KEY>",
"OCR_DIR": "C:/path/to/your/files"
}
}
}
}利用可能なツール
1. プロセスローカルファイル
設定された OCR_DIR ディレクトリからファイルを処理します。
{
"name": "process_local_file",
"arguments": {
"filename": "document.pdf"
}
}2. プロセスURLファイル
URL からファイルを処理します。ファイルタイプの明示的な指定が必要です。
{
"name": "process_url_file",
"arguments": {
"url": "https://example.com/document",
"file_type": "image" // or "pdf"
}
}出力
OCR結果は、 OCR_DIR内のoutputディレクトリにJSON形式で保存されます。各結果ファイルには、以下の形式で名前が付けられます。
ローカルファイルの場合:
{original_filename}_{timestamp}.jsonURL の場合:
{url_filename}_{timestamp}.jsonまたは URL にファイル名が見つからない場合はurl_document_{timestamp}.json
タイムスタンプの形式はYYYYMMDD_HHMMSSです。
サポートされているファイル形式
画像: JPG、JPEG、PNG、GIF、WebP
ドキュメント: Mistral OCR でサポートされている PDF およびその他のドキュメント形式
制限事項
最大ファイルサイズ: 50 MB (Mistral API によって強制)
最大ドキュメントページ数: 1000 (Mistral API によって強制)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceConverts PDF files from local storage or URLs to structured Markdown format using Mistral AI's OCR API, preserving document structure and extracting images.21MIT
- FlicenseAqualityDmaintenanceExtracts text content from PDFs and images using Mistral's OCR API, enabling OCR capabilities in MCP-compatible clients like Cursor and Claude Desktop.18
- AlicenseAqualityBmaintenanceExtracts text and images from PDFs and image files using the Mistral OCR API, with a security sandbox for file writes.4MIT
- Alicense-qualityDmaintenanceConverts documents and images to Markdown using Mistral AI's OCR, enabling AI-powered document processing via MCP-compatible clients like Claude Desktop.142MIT
Related MCP Connectors
OCR.space MCP — wraps the OCR.space API (ocr.space) for image/PDF → text OCR.
OCR for images and Korean ID documents
Turn any PDF into structured JSON via AI + OCR: invoices, bank statements, contracts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/everaldo/mcp-mistral-ocr'
If you have feedback or need assistance with the MCP directory API, please join our Discord server