mistral-mcp
MCP server exposing the full Mistral AI surface (chat, OCR, Codestral FIM, Voxtral audio, vision, agents, moderation, classification, files, batch). Stdio + Streamable HTTP, BYOK with Mistral's free 1B tokens/month
mistral-mcp
MCP server for Mistral AI — chat, OCR, audio (Voxtral), code (Codestral), vision, agents, batch, and durable workflows. Plug into Claude Code, Cursor, Zed, Windsurf, or Claude Desktop in one command.
Version française : README.fr.md
What this is
mistral-mcp exposes the full Mistral AI API as a set of MCP tools, resources, and prompts. An MCP client (Claude Code, Cursor, etc.) can call mistral_ocr to extract text from a PDF, voxtral_transcribe to transcribe a meeting recording, or workflow_execute to start a durable multi-step process — all without leaving the agent loop.
Unique to Mistral and not available from other MCP servers:
mistral_ocr— Mistral Document AI: structured text + bbox annotations from any PDF or imagevoxtral_transcribe— Voxtral: transcription with optional speaker diarizationcodestral_fim— Codestral fill-in-the-middle (FIM) for inline code completionworkflow_execute / status / interact— Temporal-backed durable execution with human-in-the-loop signals- French-optimized models (
mistral-large-latest,mistral-medium-latest) and curated French prompts
What this server does not expose: fine-tuning, user management, non-FR/EN prompts.
Quick start
Claude Code (recommended — auto-installs, prompts for API key, ships 11 skills):
/plugin install mistral-mcp@swih-plugins
Cursor / Zed / Windsurf / Claude Desktop — add to your MCP settings JSON:
{
"mcpServers": {
"mistral": {
"command": "npx",
"args": ["-y", "mistral-mcp@latest"],
"env": { "MISTRAL_API_KEY": "your_key_here" }
}
}
}
Manual Claude Code registration:
claude mcp add mistral -- npx -y mistral-mcp@latest
Profiles
MISTRAL_MCP_PROFILE controls how many tools are exposed (default: core).
| Profile | Tools | Use when |
|---|---|---|
core (default) | 8 | Daily use — lean context footprint |
full | 25 | Need embeddings, streaming, batch, classify, files, agents, TTS |
workflows | 3 | Pipeline orchestration only |
MISTRAL_MCP_PROFILE=full npx mistral-mcp
Tools
Core profile (8 tools — always available)
| Tool | What it does |
|---|---|
mistral_chat | Chat completion. Supports all Mistral models, response_format, reasoning_effort for Magistral. |
mistral_vision | Multimodal chat with images (URL or base64). |
mistral_ocr | Document AI — extract text, bbox, and JSON annotations from PDFs/images. |
codestral_fim | Fill-in-the-middle code completion (Codestral model). |
voxtral_transcribe | Audio → text. Pass diarize: true for speaker separation. |
workflow_execute | Start a Mistral Workflow (Temporal-backed durable execution). |
workflow_status | Poll a running workflow — returns RUNNING | COMPLETED | FAILED | .... |
workflow_interact | Signal / query a running workflow. Used for human-in-the-loop checkpoints. |
Full profile only (+17 tools, set MISTRAL_MCP_PROFILE=full)
| Group | Tools |
|---|---|
| Generation | mistral_chat_stream, mistral_embed, mistral_tool_call |
| Agents | mistral_agent, mistral_moderate, mistral_classify |
| Audio | voxtral_speak (TTS) |
| Files | files_upload, files_list, files_get, files_delete, files_signed_url |
| Batch | batch_create, batch_get, batch_list, batch_cancel |
| Sampling | mcp_sample (delegates generation to the MCP client's own model) |
Resources
| URI | What it returns |
|---|---|
mistral://models | Live model catalog + accepted aliases |
mistral://voices | Live Voxtral TTS voice catalog |
mistral://workflows | Live list of deployed workflows (use name as workflowIdentifier) |
Prompts
Curated prompts with structured arguments and MCP completion support:
| Prompt | Input | Output |
|---|---|---|
french_meeting_minutes | transcript text | Structured French meeting minutes |
french_email_reply | received email + context | Polished French reply |
french_commit_message | git diff | Conventional Commits message in French |
french_legal_summary | legal document text | Plain-French summary + key clauses |
french_invoice_reminder | debtor, amount, days overdue, tone | B2B dunning letter in French |
codestral_review | git diff | Focused code review (security / logic / style) |
Claude Code skills (11)
Install via the swih-plugins marketplace to get these namespaced skills:
Routing
/mistral-mcp:mistral-router— picks the right Mistral model + tool for any task
Code
/mistral-mcp:codestral-review— fetches the current diff, runs a focused review
French workflows
/mistral-mcp:french-commit-message— Conventional Commits message in French/mistral-mcp:french-meeting-minutes— audio or text → structured French minutes/mistral-mcp:french-invoice-reminder— B2B dunning letter with controlled tone
Document & audio processing
/mistral-mcp:contract-analyzer— OCR → risk-rated clause extraction (JSON)/mistral-mcp:pdf-invoice-extractor— OCR → structured invoice fields for reconciliation/mistral-mcp:audio-dispatch— transcribe + diarize → per-speaker action plan
Human-in-the-loop workflows
/mistral-mcp:contract-review-workflow— durable contract review with approval gates/mistral-mcp:compliance-audit-workflow— multi-step audit with mid-run findings + decisions/mistral-mcp:research-pipeline-workflow— hypothesis-driven research with amendment injection
Install
# Run directly (no global install)
npx mistral-mcp
# Global install
npm install -g mistral-mcp && mistral-mcp
# Docker
docker build -t mistral-mcp .
docker run -i --rm -e MISTRAL_API_KEY=your_key mistral-mcp
# From source
git clone https://github.com/Swih/mistral-mcp.git
cd mistral-mcp && npm install && npm run build
node dist/index.js
Transport
| Mode | How to enable | Default |
|---|---|---|
| stdio | Default | node dist/index.js |
| Streamable HTTP | MCP_TRANSPORT=http or --http flag | 127.0.0.1:3333/mcp |
HTTP env vars: MCP_HTTP_HOST, MCP_HTTP_PORT, MCP_HTTP_PATH, MCP_HTTP_TOKEN (bearer auth), MCP_HTTP_ALLOWED_ORIGINS, MCP_HTTP_STATELESS=1.
/healthz is public and does not touch the MCP server.
Development
npm run dev # tsx watch
npm run build # tsc → dist/
npm run lint # tsc --noEmit
npm test # all 174 tests
npm run inspector
Test pyramid: unit → contract → stdio e2e → live API (requires MISTRAL_API_KEY).
License
MIT — Copyright Dayan Decamp
Verwandte Server
Alpha Vantage MCP Server
SponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
IndAutomation MCP Server
AI-powered industrial fault diagnosis MCP server. 313 fault codes across Allen-Bradley, Siemens, ABB, Mitsubishi, Fanuc. 8 diagnostic tools for Claude Code.
agent smith
Auto-generate AGENTS.md from your codebase
Unified.to MCP Server
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs.
Godot MCP
MCP server for interacting with the Godot game engine, providing tools for editing, running, debugging, and managing scenes in Godot projects.
Octocode MCP
A server for semantic code search and context generation across public and private repositories using LLMs.
CryptoAnalysisMCP
Provides comprehensive cryptocurrency technical analysis, including real-time price data, technical indicators, chart pattern detection, and trading signals for over 2,500 cryptocurrencies.
Chess FEN MCP Server
Validate and visualize chess positions using FEN notation.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
Fabrx
Fabrx is a no-code platform where users can setup custom document processing workflows
mcp-of-mcps
MCP of MCPs is a meta-server that merges all your MCP servers into a single smart endpoint. It gives AI agents instant tool discovery, selective schema loading, and massively cheaper execution, so you stop wasting tokens and time. With persistent tool metadata, semantic search, and direct code execution between tools, it turns chaotic multi-server setups into a fast, efficient, hallucination-free workflow. It also automatically analyzes the tools output schemas if not exist and preserves them across sessions for consistent behavior.