What it does
Unwritten analyses git history to find files that usually change together, then warns when one of them is absent from an edit. It calls these gaps holes. Each warning includes a confidence score and example commits that show the pattern. For instance, it can flag a source file edited without its usually paired test file.
It runs as an MCP server, so AI coding agents such as Claude Code and Copilot can check their own edits during a session. It also works as a CLI for pre-commit hooks. File-level rules rely only on git history, so hole detection applies to any language. C# repositories also get method-level rules and filtering of cosmetic edits, and JSON files get key-level noise filtering.
The tool is started with dotnet tool execute, and its index is stored in a .unwritten/ folder. Building the index beforehand is optional, because each command builds it on first use and keeps it current. To use it with Claude Code, register it as an MCP server. A git pre-commit hook and a Claude Code Stop hook can be added so that failing holes are reported before a commit. Rules can be muted, and configuration, thresholds and the design background are described in docs/README.md.
Limitations and requirements
Running the tool requires the .NET SDK 10 or later, although the repositories it analyses can use any language. Method-level rules and cosmetic-edit filtering apply only to C# repositories, and key-level filtering applies only to JSON files. The README also lists features the project does not yet provide, which are documented in docs/README.md.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
Unwritten
Catches files and C# members you forgot to change, learned from your repo's git history
v0.4.6As shown on registry.modelcontextprotocol.io when we last read it