Sem
What it does
Entity-level code intelligence: semantic diff, impact analysis, blame, and context for AI agents
- Connects パソコンで動く
- Account or key No key needed
- Category 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "sem": { "command": "npx", "args": [ "-y", "@ataraxy-labs/sem", "mcp" ] } } }Claude を終了してもう一度開く
試してみる
Sem を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Sem を使っていると言うか、回答に Sem のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Sem につなげません
Sem はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Sem につなげるアプリを使う
- 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user sem -- npx -y @ataraxy-labs/sem mcpClaude Code で /mcp と入力
Sem が一覧にあり、接続済みと表示されれば OK です
試してみる
Sem を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Sem を使っていると言うか、回答に Sem のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
Cursor の AI チャットを Agent モードで開く
試してみる
Sem を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Sem を使っていると言うか、回答に Sem のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
VS Code の AI チャットを Agent モードで開く
試してみる
Sem を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Sem を使っていると言うか、回答に Sem のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user sem -- npx -y @ataraxy-labs/sem mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"sem": {
"command": "npx",
"args": [
"-y",
"@ataraxy-labs/sem",
"mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"sem": {
"command": "npx",
"args": [
"-y",
"@ataraxy-labs/sem",
"mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"sem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ataraxy-labs/sem",
"mcp"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 週あたりのダウンロードi
- 5,601/週
- 接続方法
- パソコンで動く
- 最新バージョンi
- 0.30.1
- レジストリ公開日i
- 2026年11月11日
- コードの最終更新i
- 2026年11月11日
- 作者
- Ataraxy-Labs
- パッケージ
npm: @ataraxy-labs/sem- ウェブサイト
- ataraxy-labs.com
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月13日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント Ataraxy-Labs で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:一昨日
- ✓ 合格
ライセンスがある
Apache-2.0を使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5846件のうち99%よりスターが多い
- このカテゴリのほかの5846件のうち92%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5846件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Semは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は一昨日、最新バージョン(0.30.1)がレジストリに届いたのは一昨日です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:REA, GitHub, Serena MCP: the IDE for your agent
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Part of the [Ataraxy Labs](https://ataraxy-labs.com) stack: agent-native infrastructure for software development. See also: weave (entity-level git merge driver) · inspect (semantic code review) · opensessions (tmux sidebar for coding agents).
Read the manifesto: https://ataraxy-labs.com/#thesis · Essays: https://ataraxy-labs.com/blogs · LLMs: https://ataraxy-labs.com/llms.txt
Semantic version control built on Git.
Instead of lines changed, sem tells you what entities changed: functions, methods, classes.
Why sem? · Using sem with agents · Install · Commands · Agents (MCP) · Cloud consent · Releases
sem is a semantic version control tool that works on top of Git. It parses your code with tree-sitter, extracts every function, class, and method as an entity, and diffs at the entity level instead of lines. This means you see "function blahh was modified" instead of "lines x-y changed."
It works in any Git repo with no setup.
Cloud-backed queries are opt-in per repo: logging in does not upload a repo or send a query. See the cloud consent flow for the public/private repo states, preview screen, local audit log, and forget controls.
Using sem with agents
Four questions, four verbs. Every verb takes --json.
| Question | Verb |
|---|---|
| Where is it? | sem find, sem grep |
| What does my change touch? | sem impact |
| Is it correct? | sem check |
| What should a human review? | sem certify |
Where is it? Find a function, class or method by name:
sem find parse_config
function parse_config src/config.py:1
Who calls it (--callers), what it uses (--refs), or its code with its callers and callees (--context):
sem find parse_config --callers
function parse_config src/config.py:1
function load src/config.py:6 function test_parse_config tests/test_config.py:4
Search text, like rg:
sem grep splitlines
src/config.py:2: pairs = [line.split("=", 1) for line in text.splitlines() if line]
What does my change touch? Everything that depends on an entity, and the tests to run:
sem impact parse_config --tests
⚡ 1 tests affected:
tests/test_config.py function test_parse_config (L4–5)
sem impact --diff HEAD --tests answers the same for your whole uncommitted change.
Is it correct? Run the project's own compiler, type checker, linter and tests, rechecking only what the change can affect when that gives the same answer. Exit 0 means pass, 1 fail, 2 could not decide:
sem check
cmd FAIL full sh (0 rechecked, 279 ms)
python3 -m pytest -q tests exited 1: E AssertionError: assert {'a': '1'} == {'a': '2'}
What should a human review? A review certificate for a commit range: what changed, which callers the change leaves behind, which tests reach it:
sem certify main..HEAD
# sem certificate 94f4bd74e26e..d73d4d092b43
1 files, 2 entities changed (1 added, 1 modified, 0 deleted, 0 renamed, 0 moved).
- modified
parse_config(src/config.py:1): 2 static caller(s) in 2 file(s) that this change does not modify
For agents that speak MCP, sem mcp serves the same verbs as tools (see Use with AI agents).
Install
curl -fsSL https://raw.githubusercontent.com/Ataraxy-Labs/sem/main/install.sh | sh
Or via Homebrew:
brew install sem-cli
Or via winget on Windows:
winget install AtaraxyLabs.sem
Or via Scoop on Windows:
scoop install sem
Or install the npm wrapper into node_modules:
npm install --save-dev @ataraxy-labs/sem
With Bun, trust the package so its postinstall script can download the binary:
bun add -d @ataraxy-labs/sem
bun pm trust @ataraxy-labs/sem
Once installed, update to the latest release any time:
sem config update
Or via cargo, from crates.io:
cargo install sem-cli
Or build the latest main from source (requires Rust):
cargo install --git https://github.com/Ataraxy-Labs/sem sem-cli
Or grab a binary from GitHub Releases.
Or run via Docker:
docker build -t sem .
docker run --rm -it -u "$(id -u):$(id -g)" -v "$(pwd):/repo" sem diff
Name conflict with GNU Parallel
GNU Parallel ships a sem binary (/usr/bin/sem) as a symlink to parallel. If you have both installed, they'll collide. Run sem --version to check which one you're using. (#77)
Quick fixes:
# Option 1: alias in your shell profile (~/.bashrc, ~/.zshrc)
alias sem="$HOME/.cargo/bin/sem"
Option 2: make sure cargo bin comes first in PATH
export PATH="$HOME/.cargo/bin:$PATH"
Option 3: if installed via Homebrew
export PATH="$(brew --prefix)/bin:$PATH"
If you installed via npm/bun, the binary lives in node_modules/.bin/sem and is invoked through npx sem or bunx sem, which avoids the conflict entirely.
Commands
Works in any Git repo. No setup required. Also works outside Git for arbitrary file comparison.
| Verb | The question it answers |
|---|---|
sem find | Where is it defined? Who calls it, what does it use, what is around it? |
sem grep | Where does this text appear? |
sem impact | What does changing this entity, or this diff, touch? |
sem check | Is my change correct? |
sem certify | What should a human review in this commit range? |
sem diff | Which functions and classes changed? |
sem graph | How is the code connected? |
sem history | How did this entity change over time? Who last changed it? |
sem cloud | Account, cloud reviews, cross-repo queries |
sem config | git diff integration, telemetry, completions, updates, stats |
sem mcp | The same verbs as MCP tools for agents |
sem --help shows every flag with an example.
sem stores its SQLite entity cache outside the repository, under the OS cache directory by default. Set SEM_CACHE_DIR=/path/to/cache to override the cache root; repo-local overrides are ignored so cache files do not dirty the working tree.
sem find
Find entity definitions by name, then ask about one: who calls it, what it uses, or its code with the code around it. Answers come from an on-disk query index (index.sem, next to the entity cache); the first call in a repo builds it, later calls read it directly, with no daemon.
sem find "function diff_command" # where it is defined ("type name" narrows by kind)
sem find diff_command load_config # several names in one call sem find diff_command --callers # who calls it; says when the caller set may be incomplete sem find diff_command --refs # what it calls and references sem find diff_command --context # its code plus callers and callees, within a token budget sem find diff_command --context --budget 4000 --hops 1 sem find --in src/auth.ts # every entity in a file or directory sem find diff_command --in src/ # only definitions under src/ sem find --text "retry budget" # entity bodies containing a string, named by entity sem find diff_command --json # JSON on any of the above
With --context, when the target signature itself does not fit, JSON output reports target_omitted: true.
sem grep
Text search across source files, rg-compatible file:line:text output, served from the index's trigram postings when one exists.
sem grep "TODO"
sem grep -i todo src/ # case-insensitive, under src/ sem grep -e foo -e bar --json # several patterns, hits kept apart
sem impact
What breaks if an entity changes: its dependencies, its dependents (transitively), and the tests that reach it.
sem impact authenticateUser # full impact
sem impact authenticateUser --deps # direct dependencies only sem impact authenticateUser --dependents sem impact authenticateUser --tests # the tests to run sem impact authenticateUser --file src/auth.ts # disambiguate by file sem impact --diff HEAD --tests # tests for the uncommitted change sem impact --diff main..HEAD --json # one impact report per changed entity
With --diff and --tests in a JS/TS workspace, the answer is the module graph's affected-test selection over the changed files (sem graph --modules affected-tests); elsewhere it is the entity graph's. --no-default-excludes includes generated, fixture, vendor, benchmark and build trees.
sem check
Runs the project's compiler, type checker, linter and tests on the working tree and prints one verdict: exit 0 pass, 1 fail, 2 could not decide. Each checker gives the verdict the real tool would give on the whole project; it rechecks only what the change can affect when that is provably the same answer, and otherwise runs the tool in full and says why. Nothing to check is 2, never a pass.
sem check # every checker the project has
sem check --checkers ts,lint,tests # only these sem check --base origin/main # against origin/main instead of HEAD sem check --promises # also prove every promise in .sem/promises can fail sem check --json # one JSON object with a verification certificate
Checkers are detected from the project. TypeScript, lint and JS tests (vitest, jest) follow the module graph, Go rechecks affected packages, Python type checking (pyright scoped by imports, or mypy) and pytest rerun only the files a change can reach, and C and C++ recompile only the translation units in compile_commands.json that include a changed file. Cargo, Gradle or Maven, dotnet and SwiftPM run their own build, which already rebuilds only what changed, and are skipped outright when no input changed since the base passed (a TypeScript edit never reruns the Rust build).
An edit inside the body of a Python function that declares its return type cannot change what other files see, so only that file is rechecked.
Commands of your own go in .sem/check.json, e.g. {"commands": [{"run": "make lint", "inputs": ["src/**"]}]}. A command that lists its inputs is skipped when none of them changed since it passed; one without runs every time.
sem certify
A review certificate for a commit range: entities touche