Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

sem

MCP server by Ataraxy-Labs Community

Provides entity-level code intelligence over Git for AI agents. It reports changed functions, classes and methods instead of changed lines, and is served to agents through the sem mcp command.

  • Score 93
  • 3.5k stars
  • Apache-2.0
  • Updated

Install sem

Built from the published package, never by AI.

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

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install sem in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the sem block.

About

sem is a semantic version control tool that works on top of Git. It parses code with tree-sitter, extracts functions, classes and methods as entities, and diffs at the entity level instead of by lines. It works in any Git repo with no setup.

The tool offers verbs for finding entities, searching text, checking impact, running project checks and producing review certificates. Every verb takes --json, and sem mcp serves the same verbs to agents that speak MCP. Cloud-backed queries are opt-in per repo. The source is aimed at developers and coding agents that need to know what a change touches.

Written from the project's README and checked against it.

Tools it gives your assistant

  • sem findFinds entity definitions by name, with options for callers, references and surrounding context.
  • sem grepSearches text across source files with rg-compatible file, line and text output.
  • sem impactShows dependencies, dependents and the tests that reach an entity or a diff.
  • sem checkRuns the project's compiler, type checker, linter and tests and returns a pass, fail or undecided verdict.
  • sem certifyProduces a review certificate for a commit range, listing changed entities, callers and affected tests.
  • sem diffShows an entity-level diff with rename detection and output as text, JSON or Markdown.
  • sem graphShows how the code is connected.
  • sem historyShows how an entity changed over time and who last changed it.

What you need

  • A Git repository
  • Rust, only if building from source
  • Docker, optional, for the Docker build
  • Node.js or Bun, optional, for the npm wrapper

Try asking

  • Use sem find to locate parse_config and list its callers.
  • Run sem impact on my uncommitted change and list the tests to run.
  • Use sem certify on main..HEAD and summarise what a human should review.

Good to know

  • The source does not list individual MCP tool names beyond the verbs.
  • Cloud-backed queries are opt-in per repo.
  • The sem binary name conflicts with GNU Parallel on some systems.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: curl -fsSL https://raw.githubusercontent.com/Ataraxy-Labs/sem/main/install.sh | sh
  • Runs a script automatically when the package is installedIn package.json: "postinstall":

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to sem

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

sem: common questions

Does sem send my code to the cloud?

The source says logging in does not upload a repo or send a query. Cloud-backed queries are opt-in per repo, with a consent flow described in the docs.

Does sem need any setup in a repo?

The source says it works in any Git repo with no setup. It also works outside Git for arbitrary file comparison.

Where does sem store its cache?

Its SQLite entity cache is stored outside the repository, under the OS cache directory by default. SEM_CACHE_DIR can override the location.

How do I install sem?

In Claude Code run claude mcp add sem -- npx -y @ataraxy-labs/sem. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is sem the official server?

sem is a community project by Ataraxy-Labs, not verified by a company domain.

Is sem free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is sem safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to sem?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does sem work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.