LibreAI / Local LLM / codanna
// local-llm ยท bartolli/codanna

codanna

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

๐Ÿ’Ž Hidden gemโ˜… 744 starsโ‘‚ 70 forksApache-2.0updated 2026-09
โ–ฆ visual โ€” this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

codanna is an open-source local llm project by bartolli (bartolli/codanna on GitHub). It has 744 GitHub stars and 70 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 24 September 2026.

GitHub stars
744
Forks
70
License
Apache-2.0
Last updated on GitHub
24 September 2026
Category
Local LLM
Listing
Hidden gem โ€” a shorter page for a lesser-known project
Official site
Official docs
// how it works

How it works

  1. Install codanna

    Get the binary per the docs.

  2. Index your repo

    Build the local code index.

  3. Connect your agent

    Expose it as an MCP server.

  4. Query the code

    Agents search call graphs and symbols.

// features

Why people love it

Code indexing

Builds a local index of your repo.

Call-graph analysis

Agents trace callers and callees.

MCP server

Plugs into any MCP-capable agent.

CLI included

Query the index from the shell.

Local-first

No code leaves your machine.

Apache-2.0

Free for commercial use.

Advertisement
// run it

Run it yourself

  1. Step 1 โ€” Clone the repo

    Download the source and enter the folder.

    git clone https://github.com/bartolli/codanna.git
    cd codanna
  2. Step 2 โ€” Build it

    Compile the Rust binary.

    cargo build --release
  3. Step 3 โ€” Index a repo

    Point it at your codebase.

    ./target/release/codanna index /path/to/repo
// use cases

What you can build

Advertisement
// faq

Questions, answered

What is codanna?

A local code-intelligence MCP server and CLI for AI coding agents, at bartolli/codanna.

How do agents use it?

As an MCP server exposing code search and call graphs.

Does it upload my code?

No. Indexing is local-first.

Is it free?

Yes. Apache-2.0 licensed.

Where are the docs?

At docs.codanna.sh, linked from the repo.

// keep exploring

Similar tools

Local LLM

roam-code

Local codebase intelligence CLI and MCP for coding agents.

โ˜… 517 starsApache-2.0
View guide โ†’
Dev Tools

CodeGraphContext

An MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants.

โ˜… 4.2k starsMIT
View guide โ†’
Local LLM

code-context-engine

Code-context-engine, in Python โ€” built for save 94% on ai coding tokens. index your cod...

โ˜… 425 starsMIT
View guide โ†’
Local LLM

agentdock

Secure MCP runtime letting AI agents operate your local machines.

โ˜… 1.2k starsApache-2.0
View guide โ†’
Local LLM

ownmem

Open source, Git-native memory for AI coding agents - deterministic local recall

โ˜… 423 starsApache-2.0
View guide โ†’
Local LLM

marm-memory

A local-first 3-in-1 AI memory layer and MCP server.

โ˜… 416 starsApache-2.0
View guide โ†’
// alternatives

Alternatives in Local LLM

The most-starred other Local LLM projects in the LibreAI catalogue โ€” the realistic shortlist if codanna is not the right fit.

Get codanna

Free and open โ€” grab the source, star the repo, and start creating.