LibreAI / Local LLM / roam-code
// local-llm ยท Cranot/roam-code

roam-code

Local codebase intelligence CLI and MCP for coding agents.

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

Project facts

roam-code is an open-source local llm project by Cranot (Cranot/roam-code on GitHub). It has 517 GitHub stars and 50 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 3 October 2026.

GitHub stars
517
Forks
50
License
Apache-2.0
Last updated on GitHub
3 October 2026
Category
Local LLM
Listing
Hidden gem โ€” a shorter page for a lesser-known project
Official site
Official site
// how it works

How it works

  1. Install roam-code

    Get it from the official site.

  2. Index your codebase

    Build the SQLite code graph.

  3. Query from CLI

    Analyze code from the shell.

  4. Connect agents

    Expose it over MCP.

// features

Why people love it

SQLite code graph

Structural index of your repo.

28 languages

Broad language coverage.

287 commands

Deep analysis and review tooling.

MCP server

Agents query the graph.

Local

Nothing 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/Cranot/roam-code.git
    cd roam-code
  2. Step 2 โ€” Install it

    Set up the Python package.

    pip install -e .
  3. Step 3 โ€” Index a repo

    Build the code graph.

    roam-code index /path/to/repo
// use cases

What you can build

Advertisement
// faq

Questions, answered

What is roam-code?

A local codebase-intelligence CLI and MCP server for coding agents, at Cranot/roam-code.

How many languages?

28, per the project docs.

How do agents use it?

Over MCP, querying the SQLite code graph.

Is it free?

Yes. Apache-2.0 licensed.

What can the CLI do?

Code analysis, review, and quality checks via its command set.

// keep exploring

Similar tools

Local LLM

codanna

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

โ˜… 744 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 โ†’
Dev Tools

Context7

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

โ˜… 62.6k 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

Orkas

Local-first desktop where a commander LLM directs specialist coding agents.

โ˜… 2.2k starsMIT
View guide โ†’
// alternatives

Alternatives in Local LLM

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

Get roam-code

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