
aimasteracc/tree-sitter-analyzer
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
AIエージェントのクロスランゲージセーフなコード・インテリジェンスMCP:13言語、家族向けコールグラフ、ブラスト半径、健康グレード、8ファサードツール、JSONエンベロープ、100%ローカル.
概要
— サポートされている言語の在庫、エージェントネイティブ(MCP + CLI)全体で正しいクロス言語構造。 TSA は、コードベースをツリーシッターでインデックス化し、テレメトリーなしで、AI コーディングエージェントに正しいコールグラフ、シンボル検索、構造的なクエリーを使用できます。 ※名前の一致だけではクロス言語のエッジが作成されず、これを実施するゲートは、大会ではなく実行可能なテストです。 * 8つのMCPツールは、CLIアクセスとキュレーションされたワークフローで、構造化されたJSON出力とベディクトの封筒を提供します。 * 必須 生成されたサポート深さの在庫は、統一されたクロスファイル動作からパイプラインの証拠を区別します。 v1.xからアップグレード? docs/MIGRATION.md を参照してください。 (チェック: python3 --version) 必要に応じてpython.orgからインストールします。 見つからない場合は、UV を自動インストールし、Claude デスクトップ/Claude コード/カーソル/VS コードを検出し、MCP エントリーを書きます。 tree-sitter-analyzer --doctor を実行して検証します.
概要(AI 翻訳)
お問い合わせ
**コードインテリジェンスAIエージェントは、サポートされている言語の在庫、エージェントネイティブ(MCP + CLI)全体で正しいクロス言語構造を信頼できます。
TSA は、コードベースをツリーシッターでインデックス化し、テレメトリーなしで、AI コーディングエージェントに正しいコールグラフ、シンボル検索、構造的なクエリーを使用できます。
なぜそれは異なっています: ※「クロスランゲージ・バインディング」は、ランゲージ・ファミリーがゲートしています。** 名前の一致だけでは、クロス言語のエッジを作成しず、これを実施するゲートは、条約ではなく実行可能なテストです。 *** エージェントネイティブ。** 8 MCP ツールは、CLI のアクセスとキュレーションされたワークフローを使用して、JSON の出力とベディクトの封筒を提供します。
- 道路と正しく分類されます。** 生成されたサポート深さの在庫は、統一されたクロスファイル動作からパイプラインの証拠を区別します。
v1.xからアップグレード? docs/MIGRATION.md を参照してください。
お問い合わせ
始める
Python 3.10+ (チェック:
python3 --version]) が必要です。 必要に応じてpython.orgからインストールします。
自動インストール(推奨)
自動インストール uv] が見つからない場合は、Claude Desktop / Claude Code / Cursor / VS Code を検出し、MCP エントリーを書きます.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
🌳 Tree-sitter Analyzer
Code intelligence AI agents can trust — correct cross-language structure across the supported language inventory, agent-native (MCP + CLI).
TSA indexes your codebase with tree-sitter and serves correct call graphs, symbol search, and structural queries to AI coding agents — locally, with no telemetry.
Why it’s different:
- Cross-language bindings are gated by language family. A name match alone does not create a cross-language edge, and the gates that enforce this are executable tests rather than a convention.
- Built agent-native. 8 MCP tools provide structured JSON output and verdict envelopes, with CLI access and curated workflows.
- Broad and correctly classified. The generated support-depth inventory distinguishes pipeline evidence from unverified cross-file behavior.
Upgrading from v1.x? See docs/MIGRATION.md.
Get Started
Requires Python 3.10+ (check:
python3 --version). Install from python.org if needed.
Automated install (recommended)
curl -fsSL https://raw.githubusercontent.com/aimasteracc/tree-sitter-analyzer/main/install.sh | bash
Auto-installs uv if missing, detects Claude Desktop / Claude Code / Cursor / VS Code, and writes the MCP entry. Run tree-sitter-analyzer --doctor to verify.
Bootstrap trust: for convenience, the command above downloads and executes the official
uvinstaller whenuvis missing or outdated. That installer is mutable and not content-bound; TSA warns before downloading it to a temporary file over TLS and performs a strict post-install version check. To avoid this unverified bootstrap, installuv >= 0.11.0manually first, or use the secure opt-out (which exits with manual-install instructions when bootstrap is needed):curl -fsSL https://raw.githubusercontent.com/aimasteracc/tree-sitter-analyzer/main/install.sh \ | TSA_DISABLE_UNVERIFIED_UV_BOOTSTRAP=1 bash
Install command for Claude Code:
claude mcp add tree-sitter-analyzer \
--env TREE_SITTER_PROJECT_ROOT="$PWD" \
インストール
uvx --from tree-sitter-analyzer[mcp設定
{
"mcpServers": {
"tree-sitter-analyzer": {
"command": "uvx",
"args": ["--from", "tree-sitter-analyzer[mcp]", "tree-sitter-analyzer-mcp"],
"env": { "TREE_SITTER_PROJECT_ROOT": "/absolute/path/to/your/project" }
}
}
}