sem

Entity-level version control and code queries on top of Git

Local

Install

npm · @ataraxy-labs/sem

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

What it does

sem is a command-line tool that layers semantic version control on Git. It parses repositories with tree-sitter and extracts functions, classes, and methods as entities, so diffs, history, and impact reports are expressed in terms of what actually changed rather than line ranges. It works in any Git repository without setup, and also compares arbitrary files outside Git.

Typical users are developers and coding agents that need fast answers about a codebase: where an entity is defined, who calls it, what a change touches, which tests to run, and whether the working tree passes. It installs via shell script, Homebrew, winget, Scoop, npm, cargo, prebuilt binaries, or Docker. An MCP server mode exposes the same verbs as tools for agents that speak the protocol.

Things to know before adopting it:

  • The sem name collides with GNU Parallel's binary on some systems; check sem --version or use an alias or npm wrapper.
  • An entity cache and index are stored outside the repository; cloud-backed queries require per-repo opt-in and are not needed for local use.
  • Checker coverage depends on language and detected project tooling.

Compatibility and authentication

Connection
Local
Transports
stdio
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
3,461
Last push
Nov 22, 2026
License
Apache-2.0
Archived
No

FAQ

What license does sem use?
Apache-2.0
How do I install sem in Claude Code?
claude mcp add sem -- npx -y @ataraxy-labs/sem@0.30.1
Does sem run locally or remotely?
It runs locally.
Is sem an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/sem"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options