codanna

Из публичных источников

Локальный MCP-сервер и CLI для анализа кода в ИИ-агентах для программирования

Машинный перевод · Показать оригинал

Local code intelligence MCP server and CLI for AI coding agents

MCP-серверКатегория: MCP-серверы · Git и разработка · Поиск и знанияOpen sourceданные проверены 15 окт. 2026 г.

Обзор

  • ai-agents
  • call-graph-analysis
  • code-indexing
  • code-intelligence
  • code-search
  • coding-agents
  • developer-tools-ai-agent
  • local-first
  • mcp
  • mcp-server

Установка

Команды только показываются, маркетплейс их не выполняет. Сверяйтесь с официальной документацией.
  • Официальный сайтИз публичных источниковиз метаданных каталога
    docs.codanna.sh/ ↗
  • Файлы официального релизаИз публичных источниковиз последнего официального релиза
    github.com/bartolli/codanna/releases/tag/v0.17.1 ↗
  • Реестр пакетов языкаИз публичных источниковиз манифеста пакета — публикация в реестре не проверена
    cargo install codanna

    Не проверено: перед установкой убедитесь, что пакет в реестре принадлежит этому проекту.

    crates.io/crates/codanna ↗
  • Сборка из исходниковИз публичных источниковиз метаданных каталога

    Сборка из исходников: проверенного рецепта сборки нет — следуйте инструкциям репозитория.

    github.com/bartolli/codanna ↗

Совместимость

«Неизвестно» значит, что доказательств не найдено, а не что продукт несовместим.
ПлатформаСтатусАрхитектураДоказательствоУверенность
Claude (web & desktop)Неизвестно———
Claude CodeНеизвестно———
CursorНеизвестно———
VS CodeНеизвестно———
WindsurfНеизвестно———
ChatGPTНеизвестно———
WindowsСовместимоx86_64официальная сборка в релизе v0.17.1: codanna-0.17.1-windows-x64.zip0.70
macOSСовместимоarm64официальная сборка в релизе v0.17.1: codanna-0.17.1-macos-arm64.tar.xz0.70
LinuxСовместимоx86_64официальная сборка в релизе v0.17.1: codanna-0.17.1-linux-x64.tar.xz0.70

Релизы

проверено 29 окт. 2026 г.
v0.17.1Последний11 окт. 2026 г.Официальный источник ↗

Файлы версии 0.17.1

Маркетплейс не хранит эти файлы: загрузка идёт из официального источника. Мы их не сканировали.
ФайлПлатформаРазмерSHA-256Скачать из официального источника
codanna-0.17.1-linux-x64.tar.xzlinux · x86_64 · tarball16,2 MB41b429e1c8f6…Официальный источник ↗
codanna-0.17.1-macos-arm64.tar.xzmacos · arm64 · tarball13,8 MB158bea6911a3…Официальный источник ↗
codanna-0.17.1-windows-x64.zipwindows · x86_64 · zip20,2 MBfd75af161cc6…Официальный источник ↗
SHA256SUMSконтрольные суммы1 015 B066087fa40ef…Официальный источник ↗
SHA512SUMSконтрольные суммы1,6 KB3020d75caa1b…Официальный источник ↗
codanna-0.17.1-linux-x64.tar.xz.sha256контрольные суммы65 Bd33b8232da25…Официальный источник ↗
codanna-0.17.1-linux-x64.tar.xz.sha512контрольные суммы129 Bbd5159d25370…Официальный источник ↗
codanna-0.17.1-macos-arm64.tar.xz.sha256контрольные суммы65 B4050501c4c58…Официальный источник ↗
codanna-0.17.1-macos-arm64.tar.xz.sha512контрольные суммы129 Becda1d9cc792…Официальный источник ↗
codanna-0.17.1-windows-x64.zip.sha256контрольные суммы65 B38748af7465d…Официальный источник ↗
codanna-0.17.1-windows-x64.zip.sha512контрольные суммы129 Baca31bd044a3…Официальный источник ↗
dist-manifest.jsonдругое913 B398c59c099d6…Официальный источник ↗

История релизов

Профиль качества

алгоритм quality-v1.0 · оценено 15 окт. 2026 г.
Оценка качества94
Оценка риска0
Уверенность 1.00
Оценка качества и оценка риска — разные показатели. Высокое качество не гарантирует безопасность.

Составляющие оценки

Поддержка · 2020
last activity 4 days ago
Документация · 1515
README 10066 chars, description present
Готовность к использованию · 1515
install instructions: yes; releases: yes
Метаданные · 1010
4/4 of description, homepage, license, topics
Релизы · 1010
10 release(s), latest 4 days ago
Точность категории · 107
classifier confidence 0.65
Популярность · 107
755 stars (log-dampened, 10k = max)
Ясность лицензии · 55
SPDX Apache-2.0
Сообщество · 55
issues enabled, 70 forks

Лицензия

Apache-2.0
Лицензия известнапо данным хостинга репозитория

Это статус политики каталога, а не юридическое заключение.

Источники

github.com/bartolli/codannaОсновной★ 755 звёздактивность 11 окт. 2026 г.Основной репозиторий · Уверенность 1.00

Отзывы

Войдите, чтобы написать отзыв

Отзывов пока нет.

Альтернативы

stashbaseПохожий
Открытое локальное рабочее пространство для письма, в котором можно писать с Claude Code и Codex, опираясь на собственные источники и предыдущие работы.Apache-2.0 · MCP-серверы
memtrace-publicПохожий
Структурная память для ИИ-агентов программирования. Битемпоральный граф, нативная поддержка MCP, ноль вызовов LLM. Cursor · Claude Code · Codex · DeepSeek Harness · Hermes · VS Code · Windsurf.MCP-серверы
docsagentПохожий
⚡ DocsAgent — даёт вашим ИИ-агентам мгновенный и приватный доступ к вашей персональной базе знаний (Zotero, Obsidian, сейчас поддерживаются Apple Notes, локальные документы в дороге). Нативное ядро поиска на C++: BM25 и ранжирование фрагментов за ~15 мс. MCP-сервер для Claude, Cursor, Cline и любого MCP-клиента.MCP-серверы
brightdata-mcpПохожий
Мощный сервер Model Context Protocol (MCP), предоставляющий комплексное решение для доступа к общедоступному вебу.MIT · MCP-серверы
ffmpeg-skillПохожий
Локальный видеоредактор для агентов программирования: 42 инструмента на основе FFmpeg с машиночитаемым контрактом и MCP-сервером для Claude Code, Cursor и Codex. Обрезка, субтитры, смена кадрирования, громкость, экспорт под платформы. Без облака, без API-ключей.MIT · MCP-серверы
tradememory-protocolПохожий
Журнал аудита решений и постоянная память для торговых ИИ-агентов. Выборка с учётом результатов, защищённая от подделки цепочка SHA-256 с привязкой по RFC 3161, 20 инструментов MCP.MIT · MCP-серверы

README

Из bartolli/codanna · лицензия Apache-2.0 · загружено 29 окт. 2026 г.

[Claude] [Google Gemini] [OpenAI Codex] [Rust] [Crates.io Total Downloads]

Local code intelligence MCP server and CLI for AI coding agents.

X-ray vision for your agent.

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.

What one call returns

The headline command, run against codanna's own source tree. One call, and the agent has the symbol, its documentation, signature, callees with exact call sites, callers, and blast radius:

$ codanna mcp semantic_search_with_context query:"recursively extract function calls" limit:1

Found 1 results for query: 'recursively extract function calls'

1. extract_calls_recursive - Method at src/parsing/cpp/parser.rs:1002-1047 [symbol_id:1477]
   Similarity Score: 0.833
   Documentation:
     Recursively extract function calls with context tracking
   Signature: fn extract_calls_recursive<'a>(
        node: Node,
        code: &'a str,
        current_function: Option<&'a str>,
        calls: &mut Vec<(&'a str, &'a str, Range)>,
    )

   extract_calls_recursive calls 3 function(s):
     -> Method extract_calls_recursive at src/parsing/cpp/parser.rs:1002 [symbol_id:1477] (called at src/parsing/cpp/parser.rs:1045)
     -> Method function_name_at_def at src/parsing/cpp/parser.rs:377 [symbol_id:1451] (called at src/parsing/cpp/parser.rs:1008)
     -> Method new at src/types/mod.rs:112 [symbol_id:7388] (called at src/parsing/cpp/parser.rs:1028)

   2 function(s) call extract_calls_recursive:
     <- Method extract_calls_recursive at src/parsing/cpp/parser.rs:1045 [symbol_id:1477]
     <- Method find_calls at src/parsing/cpp/parser.rs:885 [symbol_id:1467]

   Changing extract_calls_recursive would impact 1 symbol(s) (max depth: 2):

     methods (1):
       - find_calls [symbol_id:1467]

Guidance: Found one match with full context. Review the relationships to understand how this fits into the codebase.

Every result carries file:line coordinates the agent can open directly, symbol_ids it can reuse to disambiguate name collisions, and a guidance hint it can chain on. Add --json for the structured envelope.

Local-first

Codanna runs on your machine. The repository index lives on disk under .codanna/. The embedding model downloads once on first use, then runs locally. No source code, symbols, or queries are sent to a remote API by default. Remote OpenAI-compatible embeddings are opt-in: remote_url under [semantic_search] in settings.toml, or CODANNA_EMBED_* environment variables; the API key is environment-only.

Quick Start

Install (macOS, Linux, WSL)

curl -fsSL --proto '=https' --tlsv1.2 https://install.codanna.sh | sh

Or via Homebrew

brew install codanna

Or via Nix

nix run github:bartolli/codanna

Windows (PowerShell)

irm https://raw.githubusercontent.com/bartolli/codanna/main/scripts/install.ps1 | iex

See Installation Guide for Cargo and other options.

Initialize and index

codanna init
codanna index src

Search code

codanna mcp semantic_search_with_context query:"where do we handle errors" limit:3

Search documentation (RAG)

codanna documents add-collection docs ./docs
codanna documents index
codanna mcp search_documents query:"authentication flow"

What It Does

Your AI assistant gains structured knowledge of your code:

  • "Where's this function called?" - Instant call graph, not grep results
  • "Find authentication logic" - Semantic search matches intent, not just keywords
  • "What breaks if I change this?" - Full dependency analysis across files

The difference: Codanna understands code structure. It knows parseConfig is a function that calls validateSchema, not just a string match.

Features

FeatureDescription
Semantic SearchNatural language queries against code and documentation. Finds functions by what they do, not just their names.
Relationship TrackingCall graphs, implementations, and dependencies. Trace how code connects across files.
Document SearchIndex markdown and text files for RAG workflows. Query project docs alongside code.
MCP ProtocolNative integration with Claude, Gemini, Codex, and other AI assistants.
ProfilesPackage hooks, commands, and agents for different project types.

Performance: parser throughput 76,000-249,000 symbols/second depending on language; warm-server lookups under 10 ms (0.3 ms exact, ~3 ms semantic). Parsing is the fast layer; embedding generation during indexing takes longer and scales with your cores. Measured numbers, machine spec, and reproduction commands: Benchmarks.

Languages: Rust, Python, JavaScript, TypeScript, Java, Kotlin, Go, PHP, C, C++, C#, Clojure, Lua, Swift, GDScript.

Claude Code plugin

Two skills over the index, driven by the agent: it picks the view that fits the question. x-ray covers scoped questions — a symbol's blast radius as a call DAG, module structure as a collapsible tree or radial poster, cross-module calls as an edge-bundle page. graph covers codebase shape: the module disc with hubs at the centre, a commit timeline, and a heatmap. Symbol search, detail panels with highlighted signatures, call-graph navigation. The disc renderer is adapted from vault-graph by Lukas Proprentner (MIT).

/plugin marketplace add bartolli/codanna
/plugin install codanna-toolset@codanna

Integration

Add codanna to any MCP-compatible client. Project-scoped .mcp.json (Claude Code, Cursor, Windsurf):

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

--watch keeps the index hot as files change. Transports: stdio, HTTP, HTTPS. See Integration Guides for Claude Desktop, Gemini, Codex, and network setups.

Requirements

  • ~150MB for embedding model (downloaded on first use)
  • macOS: Apple Silicon. ONNX Runtime 1.28 has no Intel macOS build, so 0.17.1 and later do not target Intel Macs; 0.17.0 is the last release that does
  • Linux: glibc 2.38+ and libstdc++ from GCC 13+ for cargo install (the prebuilt ONNX Runtime binaries); the release binaries are built on Ubuntu 24.04 (glibc 2.39)
  • Build from source: Rust 1.85+ and pkg-config
  • Windows support is experimental

Contributing

Contributions welcome. See CONTRIBUTING.md.

License

Apache License 2.0 - See LICENSE.

Attribution required. See NOTICE.


Built with Rust.

Открыть репозиторий ↗