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.
Install sem
Built from the published package, never by AI.
claude mcp add sem -- npx -y @ataraxy-labs/semRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"sem": {
"args": [
"-y",
"@ataraxy-labs/sem"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"sem": {
"args": [
"-y",
"@ataraxy-labs/sem"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"sem": {
"args": [
"-y",
"@ataraxy-labs/sem"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add sem -- npx -y @ataraxy-labs/sem{
"mcpServers": {
"sem": {
"args": [
"-y",
"@ataraxy-labs/sem"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add sem npx -y @ataraxy-labs/semGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
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.
