plimsoll
plimsoll is a read-only MCP server that analyzes a local git repository's changes against a base and returns measured, checkable findings.
Get a short
statusanswer covering worsened/improved/not-analyzed areas, blast radius, and up to five new or grown marks.Get a full
reportwith every mark, counts, footprint, standing/acknowledged items, and optional importer lists for named files.Use
explainto inspect the evidence behind one specific mark, including files, lines, counts, and omissions.Detect impacts such as new dependencies, file-size and test-ratio limits, complex functions, import cycles/rules, hidden coupling, and process leftovers.
Compare against a specified base revision or the repository's default base from
.plimsoll.toml.Run locally with no network access, telemetry, or repository writes.
Analyzes local Git repositories by comparing changes against a base revision. It reports worsened areas, blast radius, new dependencies, code complexity, wiring/coupling issues, and provides evidence for each finding through status, report, and explain tools.
After a change, your agent asks plimsoll and gets back the areas the change made worse, the files outside it that use what it altered, and a few findings, each measured, each with its limit and a way to check it. Here is a real answer for the last 30 commits of Obtainium:
plimsoll 0.11.0 status: base `HEAD~30` e9087ce099, head 35c3e7fea4
Areas: 3 worse (dependencies 1, wiring 1, functions 2); not analysed: settings
Blast radius: 50 files outside the change use or import what it altered or removed (25 product, 25 test)
3 new, 1 grown, 0 resolved; 14 more in `report` only
1. [new, exact] `pubspec.yaml` names 1 runtime dependency that was not there at the base: `cronet_http` (47 now, 46 at the base).
2. [new, candidate] `lib/pages/add_app.dart` `runSearch` crossed the limit of 25 in this change: cognitive complexity 22 → 46 (+24).
verify: read lines 388–627 (172 of them added by this change): it nests 7 levels deep at line 576; …
3. [grown, candidate] The ring of `lib/app_sources/apk4free.dart` has 77 files, 74 at the base.
verify: grown through `lib/components/app_list_tile.dart` line 9 importing `lib/app_sources/github.dart` and 20 more, added by this change; …
…Let your agent set it up
Paste this into your coding agent (Claude Code, Codex, OpenCode, Cursor or any other with a shell). It installs
plimsoll, connects it, reads your repository and proposes a .plimsoll.toml, writing nothing without your yes:
Fetch https://raw.githubusercontent.com/julianzh0/plimsoll/main/docs/agent-setup.md with `curl -fsSL` and follow it.In Windows PowerShell the command is curl.exe -fsSL; an agent without a shell needs
the setup page pasted in. Then ask it, for example: "Use plimsoll to check what this branch
did to the repository since main." To install and connect by hand instead, see Install.
Related MCP server: CodeAudit MCP
What it catches
Which areas got worse: one line per answer counts the areas the change made worse or better (size, dependencies, wiring, functions, process), each backed by the marks it names. No score is invented.
Blast radius: how many files outside the change use or import what it altered or removed, product files first.
New dependencies a change slipped in, and whether a lockfile holds them.
Functions the change made hard to read: deep nesting or pasted blocks, in 12 languages.
Size: code files past their line limit, test code growing past twice the product code, and the test lines of each kind of test your repository declares.
Wiring: an import ring the change closed or grew, folders depending on each other in a circle, product code importing test code, and imports that break the rules your repository declares.
Hidden coupling: files that keep changing together in the same commits.
Process leftovers: a plan or review file committed, a setting defined twice or never read, and added code that nothing uses.
Your own rules
An optional .plimsoll.toml at the repository's root, committed and reviewed like any other file, sets your own
limits, tells plimsoll how your repository is laid out, and declares your architecture. Every key is optional:
[limits]
file_lines = 1500 # a code file's line limit (default 1,000)
test_ratio = 3.0 # test lines per product line (default 2.0)
shared_commits = 8 # commits two files share before they are a pair (default 5)
hotspot_files = 5 # files the report lists as hotspots (default 3)
[layout]
test_folders = ["checks", "tools/harness"] # folders whose code is test code
test_files = ["*_spec.rb", "*IT.java"] # names of test files
planning_folders = ["backlog"] # folders of planning or review notes
planning_files = ["*.plan.md"] # names of planning or review notes
[ignore]
folders = ["src/test/resources/fixtures"] # folders whose files plimsoll leaves out
files = ["SPEC.md", "*.generated.go"] # names of files plimsoll leaves out
[defaults]
base = "main" # the base of a question that names none
[imports]
never = ["src/domain -> src/adapters"] # code under the first folder imports none under the second
only = ["src/domain -> src/shared"] # code under the first folder imports only there and in itself
[acknowledged] # standing items reviewed and kept on purpose, each with a reason
"process.planning-file:SPEC.md" = "a lasting specification, not a plan"
[tests] # your kinds of tests, by your own names; the first that matches wins
integration = ["**/*_integration_test.go", "tests/integration/**"]
e2e = ["e2e/**"]
unit = ["**/*_test.go", "tests/**"]Key | What it declares |
| The limits of the file-size, test-ratio and co-change rules |
| How many files the report lists as hotspots |
| Folders, as paths from the root, whose code files count as test code, beside the defaults |
| File names of code files that count as test code wherever they lie: |
| Folders, as paths from the root, whose files are planning or review records, beside the default paths |
| File names, with the same patterns as |
| Folders, as paths from the root, whose files plimsoll leaves out: no code, no planning record, no documentation it reads |
| File names, with the same patterns as |
an entry of | A mark identifier exactly as an answer printed it, and a reason: a standing item with that identifier is listed under "Acknowledged" in |
| Import rules, each |
an entry of | A kind of test code by the repository's own name (letters, digits, |
| The branch, remote branch or tag a question without a base compares with. A remote branch is named with its remote ( |
A declaration adds to the defaults and takes none away. The file switches no rule off: an acknowledged item is still
measured and counted, only listed apart, and [ignore] is the one way to leave files out. Every mark names its
limit's source, for example "1,500 lines, set by .plimsoll.toml", and a limit or declaration changed since the base
is itself a mark, so raising a limit to silence a finding shows in the answer.
Import rules turn your architecture into marks. Each is one text "<folder> -> <folder>", two folders from the
root:
never = ["a -> b"]: product code underaimports no code underb.only = ["a -> b", "a -> c"]: product code underaimports code only underaitself and the folders named; a folder created later is outside until an entry names it.
A change that writes an import breaking a rule gets a mark naming up to two such imports by file and line; a break already at the base is standing. A broken rule is information, never a gate or an exit code. What a rule cannot see in each language, and how invalid values are handled: rules.
Why you can trust it
Every finding is measured, names its limit and where that limit comes from, and says how to check it yourself. plimsoll only reads: no network, no telemetry, nothing written into your repository, nothing stored. Each mark was read blind on real agent pull requests before it was allowed into the short answer, and marks that failed that test show only in the full report. MIT licensed. It works next to your linters and CI, not instead of them. Guarantees and their tests.
What plimsoll does not read
plimsoll reads tracked files and runs nothing but git. What only running or configuring your build can tell, it does
not know:
CMake. Include folders named through variables, a target's own sources,
*.cmakemodules, project functions and other build systems; a sub-project built on its own.Gradle. What build scripts and convention plugins add, a catalogue declared in a settings script, and test code shared between modules by script.
Maven. Profiles, a parent outside the repository, and properties set outside the pom.
MSBuild. Package references that come through
Chooseor an imported file.Package.swift. Anything beyond literal names, paths and dependency lists, and which packages only test targets use.
vcpkg. Dependencies of features that are not default.
Macros. What a C or C++ macro stands for, and a module or name a Rust macro creates.
Rust. A module file named only under
cfg_attr, which the build configuration chooses.Preprocessor. Which branch of an
#ifa build takes.tsconfig. A base configuration that comes from an installed package.
trigger.dev. Task folders that
dirsintrigger.confignames; plimsoll takes thetriggerfolders.
Speed
The first question on a repository takes a few seconds; every later one, also after an edit, is much faster (about a quarter of a second on a few thousand files), because plimsoll keeps what it has read in memory while it runs. Measured with plimsoll 0.11.0 on an Apple M6 (12 cores, 32 GB) against the last 30 commits, medians of three runs, while other work was running (load average 1.5 to 3.2):
Repository | Files | First question | Later questions | Peak memory |
320 | 2.3 s | 0.18 s | 0.2 GB | |
1,037 | 2.5 s | 0.21 s | 0.4 GB | |
1,674 | 10 s | 0.26 s | 0.7 GB | |
83,143 | 42 s | 6.7 s | 2.5 GB |
Install
macOS and Linux, amd64 and arm64:
curl -fsSL https://raw.githubusercontent.com/julianzh0/plimsoll/main/install.sh | shThe script downloads the binary of the latest release, checks its
SHA-256 checksum and puts it in ~/.local/bin (PLIMSOLL_INSTALL_DIR changes the folder, PLIMSOLL_VERSION picks
a release). You can also download a binary and checksums.txt from the release page yourself, or build from source
with Go (see Development).
Windows, amd64 and arm64, in PowerShell:
irm https://raw.githubusercontent.com/julianzh0/plimsoll/main/install.ps1 | iexThe script does the same and puts plimsoll.exe in %LOCALAPPDATA%\plimsoll, which it adds to your user PATH
($env:PLIMSOLL_INSTALL_DIR and $env:PLIMSOLL_VERSION work as above). Every change runs the unit and integration
tests on Windows too.
plimsoll is listed in the official MCP registry as
io.github.julianzh0/plimsoll: clients that install from there get an MCP bundle with the binaries above.
Connect your agent
plimsoll is a local MCP server on standard input and output. It reads no setting; plimsoll --version and
plimsoll --help only print and exit.
Claude Code
claude mcp add plimsoll -- plimsollCodex (the CLI, the IDE extension and the ChatGPT desktop app share this setting)
codex mcp add plimsoll -- plimsollor in ~/.codex/config.toml:
[mcp_servers.plimsoll]
command = "plimsoll"OpenCode
opencode mcp add --global plimsoll -- plimsollAny other MCP client (Claude Desktop, Cursor, Antigravity and others), in its server configuration:
{
"mcpServers": {
"plimsoll": { "command": "plimsoll" }
}
}Or let your agent do all of this: see Let your agent set it up.
Tools
Tool | Returns |
| the areas the change made worse, better or could not analyse and its blast radius, at most five new or grown marks, one line that counts the marks shown in |
| the same areas and blast radius, then everything measured, in a fixed layout, the touched items included. Standing items of one kind past five are counted by folder in the text, and |
| the evidence of one mark, computed again and capped |
Without base, a question compares with the default base the repository declares in .plimsoll.toml, and the
answer's first line says so. Every result carries the text in content and the same answer as structuredContent. An answer may shorten, never
hide: what it leaves out it counts ("3 more: report lists them"), and report holds every mark.
Learn more
What plimsoll checks: every rule, what it measures and its limit, and exactly how
.plimsoll.tomlis read.How each language is read: the twelve languages, how their imports and test code are found.
Guarantees and protocol: what plimsoll promises, with the tests that pin each promise.
Setting up with your agent: the page your agent follows to install, connect and configure plimsoll.
Development: building, testing and the project's structure.
License
Available Tools
3 toolsexplainARead-onlyIdempotent
The evidence behind one mark, computed again from the repository: the files, lines and patterns it rests on, the counts, and what was left out. mark is the identifier exactly as status or report printed it, with the same base. Use this to check one mark; use status or report to find the marks.
Inputs: mark (required), repository (required), base. Returns: base, head, more, marks, +18 more
reportARead-onlyIdempotent
The full answer about what a change did to a git repository since base: the same areas and blast radius, every mark, every measured number with its value at base, the standing marks one by one, those the repository acknowledges in its .plimsoll.toml (acknowledging is done in that file, not through a tool), the footprint of the change, and what was not analysed. Use this when the five marks of status are not enough or you need the numbers; use explain for the evidence behind one mark. For each repository file named in files, the answer also lists the files that import it.
Inputs: repository (required), base, files. Returns: base, head, more, marks, +18 more
statusARead-onlyIdempotent
The short answer about what a change did to a git repository since base: the areas it made worse, better or could not analyse and the files outside the change that use what it altered (its blast radius), at most five new or grown marks, each with its limit and a way to check it, then one line each counting the marks shown only in report, the items the change touched but did not create, added code without a use, and the standing marks. A mark is one measured finding; a standing mark was already over its limit at base. Use this for the short answer; use report for every mark and number, and explain for the evidence behind one mark.
Inputs: repository (required), base. Returns: base, head, more, marks, +18 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The three tools form an explicit escalation hierarchy: status is the short answer, report is the full answer with every mark and number, and explain drills into the evidence for one mark. Each description names the others and states precisely when to prefer one over another, so an agent can pick correctly without guessing.
All three names are single lowercase words with no separators, which is a clean and predictable style. There is a minor grammatical mix (explain and report read as verbs/actions while status reads as a noun), but the vocabulary is uniform and readable.
Three tools is at the thin end, but each occupies a distinct granularity layer (summary, full report, per-mark evidence) and none is redundant. The surface is well-scoped for a read-only change-analysis server, though it leaves little room for alternate entry points.
The read-only analysis lifecycle is covered end to end: short overview, exhaustive detail, and evidence for any single mark. Gaps are minor and workable—there is no dedicated way to list or search marks directly (you must pull the full report), and acknowledgement is deliberately delegated to .plimsoll.toml rather than a tool.
Maintenance
Related MCP Connectors
Read-only MCP server for repository context: context packs, graph impact analysis, and validation.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Repository knowledge graph MCP server for codebase understanding and debugging.
Permission-aware onboarding MCP server: answers about a codebase, filtered by the caller's role.
Related MCP Servers
- AlicenseBqualityDmaintenanceRead-only MCP server that exposes SonarQube Web API tools for issue retrieval, quality gate status, and source context, enabling coding agents to fix code issues.8166 npm1MIT
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server for AI coding agents to inspect repositories, audit code quality, route engineering skills, and plan safe issue/PR workflows.1MIT
- AlicenseAqualityCmaintenanceMCP server for git archaeology — churn hotspots, blame summaries, bus factor, commit forensics and file history over any local repository.113MIT
- FlicenseNot gradedqualityDmaintenanceLocal MCP server for static Python/TypeScript code audits, Playwright test generation, and SDLC health checks with a 0-100 quality score.-