Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By chrismarchantv0.1.0In 1 marketplace
Routes parallel Claude Code workstreams to Mistral-hosted models (Mistral Large 4 'Le Chonk', Z.ai GLM 5.3, DeepSeek V4.1 Flash 1017) via a bundled zero-dependency MCP server.
Claude Code doesn't load everything this plugin declares
skills/router/SKILL.md under "skills", which takes folders. Claude Code loads nothing from that entry and /plugin reports an error (skills load failed: path is a file), asking for the folder skills/router instead. The skill still loads from another skills folder.Checked against Claude Code 2.1.332.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that routes parallel workstreams to Mistral-hosted
models — Mistral Large 4 ("Le Chonk"), Z.ai GLM 5.3, DeepSeek V4.1 Flash 1017 —
through one bundled, zero-dependency MCP server. Same core pattern as
chrismarchant/mistral-code-review-bot (thin orchestrator → POST https://api.mistral.ai/v1/chat/completions → structured JSON back), but the
transport is MCP-inside-a-session instead of a GitHub webhook.
mistral-code-router/
├── .claude-plugin/plugin.json # plugin manifest
├── .mcp.json # bundled MCP server (stdio, node)
├── mcp-server/server.js # zero-dep MCP server: mistral_delegate, mistral_models, mistral_batch_submit/status/results
├── skills/router/SKILL.md # routing policy + fan-out protocol
├── commands/parallel.md # /parallel <task>
└── agents/workstream-worker.md # per-workstream subagent
fetch); no npm install needed.export MISTRAL_API_KEY=... (get one at
https://console.mistral.ai). The key is read from the environment only.In Claude Code, from any project:
/plugin install /Users/christophermarchant/mistral-code-router
The plugin is the repo root of chrismarchant/mistral-code-router, so a plain clone works with no build step:
git clone https://github.com/chrismarchant/mistral-code-router.git ~/mistral-code-router
claude --plugin-dir ~/mistral-code-router
Or install via the marketplace in a session:
/plugin marketplace add chrismarchant/mistral-code-router
/plugin install mistral-router@mistral-code-router
Container bootstrap — clone in the image, inject the key at runtime only
(never bake it into the image; the plugin's .mcp.json expands
${MISTRAL_API_KEY} from the session env):
RUN git clone https://github.com/chrismarchant/mistral-code-router.git /opt/mistral-code-router
# run with: docker run -e MISTRAL_API_KEY=... <image> claude --plugin-dir /opt/mistral-code-router
Never commit secrets: .claude/settings.local.json and *.env are git-ignored.
or add the MCP server manually to the project's .mcp.json:
{
"mcpServers": {
"mistral-router": {
"command": "node",
"args": ["/Users/christophermarchant/mistral-code-router/mcp-server/server.js"],
"env": { "MISTRAL_API_KEY": "${MISTRAL_API_KEY}" }
}
}
}
If Claude Code prompts for approval on mistral_delegate / mistral_models,
allowlist them in settings so parallel workers don't stall.
/parallel Refactor the auth module into middleware + tests — coordinator
decomposes, spawns parallel workstream-worker subagents, each offloading to
an assigned model, then merges the strict-JSON results.mistral_models — show the alias → model-ID map.mistral_delegate({ model: "glm", task: "...", files: ["src/a.ts"], json: true }) — one live workstream.For many non-interactive workstreams, use /parallel --batch <task> or the batch
tools directly (see https://docs.mistral.ai/inference/batch-processing):
mistral_batch_submit({ model: "glm-flash", requests: [{ custom_id: "ws-0", task: "...", files: ["src/a.ts"], json: true }] }) → uploads a JSONL input file (POST /v1/files, purpose batch) and creates a job (POST /v1/batch/jobs, endpoint /v1/chat/completions) → returns job_id.mistral_batch_status({ job_id }) — poll until SUCCESS / FAILED.mistral_batch_results({ job_id }) — downloads the output file and returns [{custom_id, status_code, content, usage, error}].Batch is asynchronous (default completion window 24h) and cheaper, but the remote model cannot use tools in batch mode — use it for test/doc generation, per-file reviews, and other non-interactive fan-outs.
https://api.mistral.ai/v1/chat/completions)| Alias | Model ID | Use for |
|---|---|---|
lechonk | mistral-large-4-0 | design/architecture, complex refactors |
glm | zai-glm-5-3 | agentic multi-file coding |
deepseek | deepseek-v4-1-flash-1017 | long-context coding |
glm-flash | zai-glm-5-3-flash | cheap default: tests, docs, boilerplate |
Raw Mistral model IDs (e.g. mistral-large-latest, codestral-latest) are also
accepted as model.
| Var | Default | Description |
|---|---|---|
MISTRAL_API_KEY | — | required |
MISTRAL_API_BASE | https://api.mistral.ai/v1 | override endpoint |
MAX_CONTEXT_CHARS | 200000 | cap on file context sent per delegate call |
npx claudepluginhub chrismarchant/mistral-code-router --plugin mistral-routerPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.