Re Kaitai
FreeNot checkedMCP server exposing Kaitai Struct for custom binary format reverse engineering.
About
MCP server exposing Kaitai Struct for custom binary format reverse engineering.
README
MCP server exposing Kaitai Struct for custom binary format reverse engineering.
Tools
| Tool | What it does |
|---|---|
check_compiler |
Confirm kaitai-struct-compiler is installed |
list_known_formats |
List bundled .ksy formats |
download_format |
Download a .ksy from the kaitai-formats gallery |
compile_format |
Compile .ksy → Python at runtime |
parse_with_format |
Parse a binary with a compiled or precompiled format |
visualize |
Same as parse_with_format, named for the intent |
diff_parses |
Parse two files and return a structural diff |
Install
# System dependency
brew install kaitai-struct-compiler # macOS
scoop install kaitai-struct-compiler # Windows
# Linux: download prebuilt from https://github.com/kaitai-io/kaitai_struct_compiler/releases
# Python
pip install kaitaistruct
pip install -e ./servers/re-kaitai
Usage pattern (in Claude Code)
1. "Decode this firmware blob"
2. Claude identifies the file magic (e.g. LZMA header)
3. Claude downloads the matching .ksy: download_format("lzma")
4. Claude compiles: compile_format("/path/lzma.ksy")
5. Claude parses: parse_with_format(path="/path/blob", ksy_path="/path/lzma.ksy")
6. Claude inspects the parse tree, iterates on the .ksy, re-parses
The Kaitai workflow is iterative: compile → parse → fix the schema → re-compile → parse again.
Install Re Kaitai in Claude Desktop, Claude Code & Cursor
unyly install re-kaitaiInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add re-kaitai -- uvx --from git+https://github.com/Heretek-RE/re-kaitai re-kaitaiFAQ
Is Re Kaitai MCP free?
Yes, Re Kaitai MCP is free — one-click install via Unyly at no cost.
Does Re Kaitai need an API key?
No, Re Kaitai runs without API keys or environment variables.
Is Re Kaitai hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Re Kaitai in Claude Desktop, Claude Code or Cursor?
Open Re Kaitai on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Re Kaitai with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
