Documentation

Set up local semantic repo memory in minutes.

Install CodeFathom locally, build the AST + embeddings index, and connect MCP so agents retrieve only the code they need.

Quickstart

1

Install + index locally

Run the local indexer to generate symbols, references, and embeddings.

2

Connect MCP

Point your CLI agent to the CodeFathom MCP server and validate the tool handshake.

3

Retrieve with budgets

Use bounded tool calls to keep intent, constraints, and decisions in the prompt.

Local indexer + watch mode

AST + embeddings on-device, with incremental updates as files change.

Read guide

MCP tools reference

search_semantic, search_exact, find_references, get_related, describe_arch — all with bounded output.

Read guide

Compaction recovery playbooks

Rehydrate context after compaction and keep the plan intact.

Read guide

Need local-only setup help?

We can help with VPC/on-prem options, spend caps, and context budgets.