Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

sem

Lets your AI agent see which functions and classes changed, who calls them and which tests to run, on top of Git.

3.4k stars on GitHubby Ataraxy LabsLicense Apache-2.0Updated 19 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add sem -- npx -y @ataraxy-labs/sem mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Who calls parse_config and which tests cover it?
What does my uncommitted change affect, and which tests should I run?

What it is

sem is a semantic version control tool that works on top of Git. It reads code with tree-sitter and finds functions, classes and methods as entities. Instead of changed lines, your agent learns which entities changed, what depends on them and what to review. sem mcp serves the same commands as MCP tools.

What it can do

  • sem find: find where a function, class or method is defined, plus callers and references
  • sem grep: search text in source files
  • sem impact: show what a change touches and the tests to run
  • sem check: run the project's compiler, type checker, linter and tests
  • sem certify: build a review certificate for a commit range
  • sem diff: show which entities changed
  • sem history: see how an entity changed over time and who last changed it

When to use

  • β€ΊWhen you change a function and want to know what else could break.
  • β€ΊWhen you want your agent to run only the tests your change can affect.
  • β€ΊWhen you need a summary of what a human should review in a branch.

What you need

A Git repository and the sem program, installed with the install script, Homebrew, winget, Scoop, npm or cargo. Cloud queries are optional and need login.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. The readme shows MIT license files and installs from GitHub releases, crates.io and package managers.

Which languages does it support?

The repo description says 28 languages via tree-sitter.

Does it need setup?

No. It works in any Git repo with no setup, and also for comparing files outside Git.

Does it upload my code?

Cloud queries are opt-in per repo. Logging in does not upload a repo or send a query.

Why does sem not run on my machine?

GNU Parallel also ships a sem binary. Run sem --version and put the right one first in your PATH.

Where does it keep its cache?

Outside the repo, under the OS cache directory. Set SEM_CACHE_DIR to change it.

If it does not work

  • β€ΊIf sem behaves like GNU Parallel, check which sem runs with sem --version and fix your PATH.
  • β€ΊWith Bun, run bun pm trust @ataraxy-labs/sem so the binary can download.
  • β€ΊUpdate with sem config update.

5 new skills a week. 1 minute to read.