What it does
sem is a semantic version control tool built on Git. It parses code with tree-sitter and treats functions, classes and methods as entities, so diffs report which entities changed rather than line ranges. Through the sem mcp command, the same operations are available to agents as MCP tools: finding and searching entities, impact analysis, running project checks, and generating review certificates for commit ranges.
An agent would use it to locate a definition and its callers, to see which dependents and tests a change reaches, to run the project's compiler, type checker, linter and tests with a pass, fail or undecided verdict, or to list what a human should review in a commit range. It works in any Git repository without setup, and also compares arbitrary files outside Git.
Installation is available through Homebrew, winget, Scoop, npm, cargo, a source build or Docker. Entity caches are stored outside the repository, and the cache location can be overridden with SEM_CACHE_DIR. Checks detect the checkers used by each project and rerun only the files a change can affect, where that gives the same result.
Limitations and requirements
Works in Git repositories; outside Git it is limited to arbitrary file comparison. Cloud-backed queries are opt-in per repository. The sem binary name conflicts with the sem binary shipped by GNU Parallel, so sem --version should be used to confirm which one is running. Building from source requires Rust. With Bun, the package must be trusted so its postinstall script can download the binary. sem check reports 2 when there is nothing to check.
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
io.github.Ataraxy-Labs/sem
Entity-level code intelligence: semantic diff, impact analysis, blame, and context for AI agents
v0.30.1As shown on registry.modelcontextprotocol.io when we last read it