BC

bartolli/codanna

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

757 stars 69 forks 品質 82 トレンド 36Apache-2.0

AIコーディングエージェント向けのローカルコードインテリジェンスMCPサーバーおよびCLIです

概要

ドキュメント ·バグ報告 ·議論 コードアシスタントにコードベースを透視させる能力を持たせ、関数の理解、関係性の追跡、実装の特定を外科的な精度で行います。コンテキスト優先のコーディング。繰り返しのループなし。終わりのないやり取りもなし。より少ないキーストロークでより賢いエンジニアリングを実現します。 迅速な研究開発とペアプログラミングのために構築されており、LSPが遅すぎる場合に即座に対応できます。詳しくはこちら 貨物およびその他のオプションについては設置ガイドを参照してください。 AIアシスタントはあなたのコードについて構造化された知識を得る: - - 即時呼び出しグラフ、grep結果ではなく - - 意味検索はキーワードだけでなく意図に一致 - - ファイル間の完全な依存関係分析 違いは、Codannaがコード構造を理解していることです。ParseConfigはvalidSchemaを呼び出す関数であり、単なる文字列のマッチではないことも理解しています。 10ms未満の検索回数、1秒あたり75,000+記号の解析。

概要(AI 翻訳)

コダナ

文書 · 報告バグ · 議論

ローカルコードインテリジェンス、MCPサーバーおよびAIコーディングエージェント用のCLIです。

エージェントのためのX線視力

Codannaは、AIコーディングエージェント向けのローカルコードインテリジェンスおよびセマンティックコード検索MCPサーバーです。1回のMCPコールは、シンボルコンテキスト、コールグラフ、インパクト分析を事前に相関させて返します。これは、エージェントが今日実行しているgrepとreadループを単一の応答にまとめて実行できます。

ディスク上のリポジトリをインデックス化し、シンボル検索、セマンティックサーチ、コールグラフ、依存関係追跡、ドキュメントRAG、影響分析をClaude Code、Cursor、Windsurf、Codex、Gemini、そしてMCP互換クライアントに対して提供します。セッション長時間の作業のための永続的なMCPサーバーとして、またはLSPが遅い場合の即時回答のためのワンショットCLIとして機能します。Rustで書かれています。15言語。ソースコードはマシンから一切離れません。

2つの運用モード

CodannaのMCPツールセットには2つの方法でアクセス可能です。同じツール、同じ表面、ワークフローに合ったモードを選ぶことです。

永続的なMCPサーバー — セッション間エージェントワークフロー用。

ワンショットCLI — スラッシュコマンド、バッシュフック、スクリプト、CI用。デーモンは不要。

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Codanna is a local code intelligence and semantic code search MCP server for AI coding agents. One MCP call returns symbol context, call graph, and impact analysis, pre-correlated — the grep-and-read loop your agent runs today, collapsed into a single response it can act on.

It indexes your repository on disk and serves symbol search, semantic search, call graphs, dependency tracking, document RAG, and impact analysis to Claude Code, Cursor, Windsurf, Codex, Gemini, and any MCP-compatible client — as a persistent MCP server for session-long work, or a one-shot CLI for instant answers when LSP is too slow. Written in Rust. 15 languages. No source code leaves your machine.

Two operational modes

Codanna’s MCP toolset is reachable two ways. Same tools, same surface — pick the mode that fits the workflow.

Persistent MCP server — for session-long agent workflows.

codanna serve                # stdio
codanna serve --http         # HTTP
codanna serve --https        # HTTPS

One-shot CLI — for slash-commands, bash hooks, scripts, CI. No daemon required.

codanna mcp find_symbol name:"my_function"
codanna mcp analyze_impact symbol_name:"my_function"
codanna mcp semantic_search_with_context query:"recursively extract function calls"

codanna mcp semantic_search_with_context is the headline command: it returns N semantic matches, and for each match the symbol identity, signature, docstring, callees, callers, and recursive impact analysis — five MCP tools fused into one query.

The one-shot CLI is also what makes codanna skill-friendly: an Agent Skill can wrap codanna mcp commands directly in Claude Code, Cursor, Windsurf, Codex, Gemini, or any harness that runs shell commands — no MCP plumbing required.

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "codanna": { "command": "codanna", "args": ["--config", ".codanna/settings.toml", "serve", "--watch"] } } }