MCP Catalogs
首页

codanna

by bartolli·673·综合分 53

Codanna 是一个本地代码智能 MCP 服务器,为 AI 编码助手提供语义搜索、关系追踪和文档搜索功能。

developer-toolsai-llmsearch
59
Forks
3
活跃 Issue
本月
最近提交
2 天前
收录于

概述

Codanna 为 AI 编码助手提供透视代码库的能力,使其能精确理解代码结构。它提供即时调用图、语义搜索功能(匹配意图而非仅关键词)以及跨文件的完整依赖分析。该服务器专为快速研发和结对编程场景设计,在传统 LSP 工具可能过慢时提供即时答案。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:在大型代码库中查找函数及其关系
:对实现逻辑进行语义搜索,而不仅是关键词匹配
:通过完整依赖追踪分析代码变更的影响
:Codanna 支持哪些编程语言?
:Codanna 与传统 LSP 工具有何不同?

什么时候选它

当您需要在大型代码库中为 AI 代理提供快速语义代码智能,而 LSP 太慢时,选择 Codanna。

什么时候不要选它

如果您需要代码写入权限、实时协作功能,或要求稳定的 Windows 支持(目前仍为实验性),不要选择 Codanna。

此 server 暴露的工具

从 README 抽取出 6 个工具
  • semantic_search_with_context

    Perform semantic search on code with natural language queries

  • search_documents

    Search through indexed documentation and text files

  • call_graph

    Generate call graphs for functions to trace relationships

  • find_implementations

    Find all implementations of a function or method

  • dependency_analysis

    Analyze dependencies across the codebase

  • function_definitions

    Find and analyze function definitions

可对比工具

devinsight-mcpcode-search-toolsast-grepripgrep

安装

安装

macOS, Linux, WSL
curl -fsSL --proto '=https' --tlsv1.2 https://install.codanna.sh | sh
Homebrew
brew install codanna
Windows (PowerShell)
irm https://raw.githubusercontent.com/bartolli/codanna/main/scripts/install.ps1 | iex
初始化和索引
codanna init
codanna index src

FAQ

Codanna 支持哪些编程语言?
Codanna 支持 Rust、Python、JavaScript、TypeScript、Java、Kotlin、Go、PHP、C、C++、C#、Clojure、Lua、Swift 和 GDScript。
Codanna 与传统 LSP 工具有何不同?
Codanna 提供亚毫秒级查询速度,每秒可解析 75,000+ 个符号,比传统 LSP 工具快得多。它专为 AI 助手设计,采用上下文优先的编码方法。

codanna 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。