Skip to main content
Glama
faber-atlas

faber-atlas

by fabersep

FaberSEP Atlas

npm License: Apache-2.0 Tests

Your AI coding assistant spends much of its time, and your money, looking for code. FaberSEP Atlas gives it a map of your project, so it finds the right place in one step instead of twenty.


The problem you already know

You ask your assistant: "When a user changes their password, where do their other sessions get logged out?"

It starts searching. It greps for password, opens five files, reads them top to bottom, greps again. Ten turns later it has an answer, and it is often incomplete: it missed the part where one service sends an event and another one, in a different folder, reacts to it. Meanwhile every file it read stays in the chat, making each next answer slower and more expensive.

On a bigger change it gets worse: it can invent a helper that doesn't exist, or forget the tests that call the code it just changed.

Related MCP server: repopedia

What changes with FaberSEP Atlas

Atlas reads your project on your computer and keeps a map of it: every file, every class and function with its signature, who calls whom, and which events and background jobs connect them. When files change, it updates the map in milliseconds.

Your assistant asks the map instead of searching blindly:

  1. "Find where API keys or uploads are handled." search locates matching symbols, files, HTTP routes, events, and jobs in one step — with exact line numbers, signatures, and what each method calls, emits, or queues.

  2. "What happens when changePassword runs?" flow traces the whole chain in one answer, across calls, events, and background jobs:

    AuthController.changePassword (src/controllers/auth.controller.ts:121) [POST /change-password]
      ──calls──▶ AuthService.changePassword (src/services/auth.service.ts:169)
        ──calls──▶ UserRepository.update (src/repositories/user.repository.ts:195)
        ──emits──▶ event:AuthChangePassword
          ──handles──▶ SessionService.onAuthChangePassword (src/services/session.service.ts:91)
            ──calls──▶ SessionRepository.invalidateAll (src/repositories/session.repository.ts:104)
  3. "What breaks if I change this?" impact lists every caller, every web route and job that reaches that code, and the tests to update.

  4. Automatic enrichment, zero friction. init installs lightweight, non-blocking hooks: in Claude Code, whenever the assistant runs Grep on code, Atlas attaches matching structural symbols and call/event/job links alongside the result; in Antigravity, a PreInvocation hook injects a compact routing reminder when Scout is installed (or structural Atlas matches when Scout is disabled) before the first tool call. Nothing is blocked, and the assistant can skip reading whole files.

Atlas also sets up an optional Scout helper (haiku in Claude Code, flash in Antigravity): your main model hands it the looking-up and gets back only the files and lines that matter. In our Claude Code measurement it cut the cost of code questions by 45%, but the answer took about twice as long (below).

Why you can trust it

  • Nothing leaves your computer. No account, no server, no telemetry. Atlas never calls an AI model: the map comes from reading the code's structure, so the same code always gives the same map.

  • It only tells what it can see. Every answer points at a real file and line. A file it cannot read is listed as such, not guessed.

  • Your projects stay clean. The map lives in a .faber-atlas/ folder that git ignores on its own.

  • Easy to undo. Setup keeps a backup of every file it edits, never rewrites a settings file it cannot read safely, and npx @fabersep/atlas init --undo removes only what it added.

  • Works with the tools you already use: Claude Code, Antigravity, Cursor and Claude Desktop.

  • Free and open source (Apache-2.0).


Get started (about 2 minutes)

You need Node.js 20 or newer. To check, run node -v in a terminal.

1. Set it up

Open a terminal and run:

npx @fabersep/atlas init

You do this once per computer, in any folder. It finds the AI tools on your computer, connects Atlas to each of them, adds the Scout helper, and prints what it changed. From then on Atlas works in every project you open: it sees which project your tool has open and maps that one. Want to see first? Add --preview: nothing is written.

2. Check it

npx @fabersep/atlas doctor

Run it inside a project. Right after setup it says the map is not built yet. That is expected: it is built the first time your assistant uses it in that project (or run npx @fabersep/atlas scan . now).

3. Start a new chat in your AI tool and ask normally

"Where do we send the order confirmation email, and what triggers it?"

You don't need special commands: setup connects the MCP tools (search, map, flow, impact, brief, neighborhood, hubs, health), allows Atlas's read-only tools without asking in Claude Code (in Antigravity, choose "Always allow" the first time it asks), and adds non-blocking enrich hooks so Atlas matches show up automatically when your assistant searches code.


Measured on real projects

All numbers below count total tokens, time, and accuracy of the full multi-turn conversation (no hidden helper costs):

Claude Code (Sonnet, low effort) — Immich server/ (778 TypeScript files), 6 consecutive code-navigation questions in one session (--resume):

Baseline (Grep + Read)

With Atlas (search + PreToolUse enrich)

Change

Tool calls (file reads)

20 (9 reads)

11 (1 read)

-45%

Total input tokens

697k

594k

-15%

Output tokens

6,463

4,492

-30%

Cache-neutral cost

$0.31

$0.25

-19%

Time

47 s

37 s

-21%

Correct

6 of 6

6 of 6

Antigravity (PreInvocation enrich hook) — 4 consecutive trace, impact, and edit-plan tasks in one conversation across two real production apps:

Project

Model

Baseline total tokens

With Atlas enrich

Change

Correct

Flutter/Dart app (288 files)

gemini-3.8-flash-low

3.86M

2.10M

-46%

4/4 → 4/4

Flutter/Dart app (288 files)

gemini-4-hydrogen-low

743k

488k

-34% (-13% time)

3/4 → 4/4

TypeScript API (157 files)

gemini-4-hydrogen-low

1.09M

859k

-21%

4/4 → 4/4

Claude Code Scout (Sonnet low + Haiku low Scout): Outline (2,662 files) and a private Flutter + TypeScript app (992 files). 3 trace or impact questions and 1 edit per repo, each run twice, every run a fresh session:

Sonnet alone (Grep + Read)

+ Atlas

+ Atlas + Haiku Scout

Scout vs alone

Total cost, Scout included

$2.14

$2.28

$1.34

-37% (questions -45%)

Wall time

467 s

422 s

926 s

+98%

Correct

16/16

14/16

15/16

The Scout makes code questions cheaper, not faster: Haiku searches step by step while Sonnet waits. Use it when cost matters more than waiting; on small edits it saves nothing. Setup and every Outline run: benchmark summary.

Suite 1.1 — Antigravity (gemini-4-hydrogen-low) — Immich v3.4.2 (mobile/ Flutter/Dart), 10 fresh-session tasks across 5 categories (directional, 1 run per task; Setups B and D pending):

Setup

Subagent model

Paths

Symbols

Facts

Edits (flutter analyze)

Routing

Main tok

Sub tok

Total tok

Wall time

A (Main model alone)

—

18/20

37/40

29/33

2/2 passed

—

272.3k

—

272.3k

234 s

C (+ Atlas + flash_lite Scout)

gemini-3.5-flash-lite

18/20

36/40

29/33

2/2 passed

10/10

235.3k

127.3k

362.6k

254 s

Note: when the main model is already lightweight (gemini-4-hydrogen-low), delegating to a subagent lowers main-model context (-14%) while adding subagent tokens (127.3k on gemini-3.5-flash-lite). On current Antigravity builds, Model: "flash" resolves to gemini-4-hydrogen-tiered-high (higher accuracy 20/20 paths, 38/40 symbols, 30/33 facts, but 248.4k subagent tokens and 392 s). Suite harness: bench/suite/README.md.

Savings are largest on multi-turn sessions and larger multi-layer codebases; on small repos or one-off single questions, gains are smaller because plain Grep is already fast. Use npx @fabersep/atlas stats to inspect compression and latency on your own project.

On a private app with a Flutter client, a TypeScript API and a React admin (848 files), the map is 83% smaller than the code it describes; the first scan takes 1.3 s and an update after a change 55 ms (Apple M4 Pro).

Languages

TypeScript and JavaScript (including React), Dart and Flutter, C# and .NET, plus .NET project files (.csproj, .sln), JSON and YAML. Python is next. A new language is one folder: see Contributing.


Updating

If you run Atlas via npx (default):

npx @fabersep/atlas@latest init
npx @fabersep/atlas@latest doctor

If you installed it globally:

npm install -g @fabersep/atlas@latest
faber-atlas init
faber-atlas doctor

Re-running init refreshes the MCP entry, Scout instructions, and enrich hooks with the latest release (keeping .bak backups). Restart your AI tool or open a new chat so it picks up the updated MCP server and hooks; existing .faber-atlas/ project maps update automatically on the next scan.


Common questions

Will it ask for permission every time? In Claude Code, no: setup allows Atlas's tools, which only read your code. In Antigravity, choose "Always allow" the first time it asks.

Does it slow my assistant down or cost more? It is meant to do the opposite: one short answer from the map replaces many file reads. Its tool descriptions add about 1,200 tokens to a chat.

What does it put in my project? Only a .faber-atlas/ folder with the map, which git ignores. The setup itself lives in your user folder (your AI tools' settings and the Scout), not in your projects.

I use it in several projects. Do I set it up in each one? No. One init covers all of them: each time you open a project in your AI tool, Atlas maps that project and keeps its map in that project's .faber-atlas/ folder. If you open the tool in your home folder, outside any project, Atlas says so instead of mapping your whole disk. (Claude Desktop has no project folder; there you pick one with init --engine claude-desktop --root <folder>.)

Can I pick a different Scout model? Yes: npx @fabersep/atlas scout shows the choices. See the Scout guide.

How do I see what it saves me? npx @fabersep/atlas stats. Add --share for a card with numbers only (no names, paths or code) that you can post.

How do I remove it? Run npx @fabersep/atlas init --undo, then delete the .faber-atlas/ folders in your projects.

Something went wrong. Run npx @fabersep/atlas doctor first, then open an issue.


Going further

Works well with FaberSEP Spec (your assistant writes down what you mean before it builds) and FaberSEP Memory (it remembers the rules you approve, across tools). Each one also works on its own.

FaberSEP Atlas is part of FaberSEP, open-source tools that help AI coding assistants work with more discipline.

License

Apache-2.0

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only querying of a local repository through a deterministic tree-sitter symbol and edge graph, exposing keyword search with exact file:line hits, regex text search, per-file symbol skeletons, caller/callee traversal, and directory-level maps of clusters, hubs, and hotspots over stdio.
      10
      91 npm
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Serves a repository's code knowledge graph over stdio (MCP) so coding agents can look up symbols, trace callers and callees, compute blast radius, list file symbols, run hybrid lexical-plus-graph search, and get citation-grounded answers from file:line evidence instead of guessing from text chunks. All tools work offline straight from the graph, with prose synthesis only when an OpenAI-compatible LLM endpoint is configured.
      17
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Exposes three read-only tools—impact, explain, and report—so an agent can query a prebuilt local DuckDB graph of a codebase to find the transitive reverse-dependencies of a symbol or file, inspect a symbol's structural neighbourhood, and introspect the index itself. Runs over stdio or Streamable HTTP, always read-only, with no external service.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI coding agents to build a ranked, token-budgeted map of a codebase and query it for symbol definitions, callers, callees, and related files over stdio.
      Apache 2.0