Analysis updated 2026-05-18
Capture real coding-assistant conversations to build a fine-tuning dataset.
Auto-record every Claude Code or Codex session with zero manual setup.
Export collected sessions into openai_chat, sharegpt, or anthropic format for training.
| madeye/mcp-distill | patrickelectric/mavftp-cli | androolloyd/octravpn | |
|---|---|---|---|
| Stars | 5 | 5 | 4 |
| Language | Rust | Rust | Rust |
| Last pushed | — | 2025-05-28 | — |
| Maintenance | — | Stale | — |
| Setup difficulty | moderate | easy | hard |
| Complexity | 3/5 | 2/5 | 5/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires building from source with cargo and registering the MCP server with Codex or Claude Code.
mcp-distill is a recording server for AI coding tools that captures every prompt, context snippet, and response from Claude and Codex so you can use those interactions as training data to fine-tune a smaller model. The idea behind small-model distillation is that the responses from a large, expensive model can teach a smaller, cheaper model to behave similarly, but first you need the raw conversation data. The server speaks the Model Context Protocol (MCP), a standard way for AI coding assistants to communicate with external tools. Once installed alongside Codex or Claude Code, it automatically intercepts each conversation turn and saves it losslessly as a JSONL file, a format where each line is a self-contained JSON record. The data is organized by date under a configurable storage directory. When you want to train a model, you export the collected sessions in one of three formats: openai_chat, sharegpt, or anthropic, depending on which training framework you are using. Installation is handled by the tool itself. Running the install command for either Codex or Claude Code modifies the relevant configuration file to add mcp-distill as a registered server. The recording starts automatically when the server launches, so no manual setup is needed for routine use. You can pause and resume recording, start named sessions, append turns manually, or export a dataset on demand through exposed MCP tools. The server is built in Rust and compiled to a single binary. It supports optional zstd compression for stored sessions. The export output can be fed directly into training frameworks like Unsloth with minimal preprocessing.
An MCP server that records every prompt and response from Claude and Codex so the logs can train a smaller model.
Mainly Rust. The stack also includes Rust, MCP, JSONL.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.