faber-atlas
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
FaberSEP Atlas (@fabersep/atlas)
Give your AI coding agent a deterministic map of the codebase, not a pile of files.
FaberSEP Atlas (@fabersep/atlas, CLI: faber-atlas) scans any supported repository with Tree-sitter language packs and produces layered zoom maps (--zoom 0|1|2), declaration briefs, import neighborhoods, downstream execution flows (flow), upstream impact trees (impact), centrality hubs (hubs), code health checks (health), and privacy-first local efficiency stats (stats).
100% local. Zero network calls. Zero telemetry. Zero LLM indexing cost.
Why not embeddings? Vector search is fuzzy and semantic; it misses exact call chains, interface implementations, and import graphs. Raw text search (
grep) has no concept of AST scopes or runtime wiring. Atlas gives agents deterministic, language-level structural awareness with zero embedding costs.Embeddings still help for fuzzy conceptual queries; Atlas complements them by showing the exact structure, callers, and execution flow around any symbol or file.
Quick Start (60 Seconds)
1. Wire MCP automatically (init)
Run in your project root to preview MCP setup for Claude Code, Antigravity, Cursor, and Claude Desktop:
npx @fabersep/atlas init
npx @fabersep/atlas init --applyPass
--agents-mdto also add an optional, non-destructive<!-- faber-atlas:start -->navigation hint block to your project'sAGENTS.md.Pass
--undoto cleanly remove only Atlas entries.
2. Scan, verify health, and inspect your local stats
npx @fabersep/atlas scan .
npx @fabersep/atlas doctor .
npx @fabersep/atlas stats
npx @fabersep/atlas stats --share # 100% anonymized Markdown benchmark card3. Explore structure, flow, and impact
npx @fabersep/atlas map --zoom 0
npx @fabersep/atlas map src/orders --zoom 1
npx @fabersep/atlas brief src/orders/orderService.ts
npx @fabersep/atlas neighborhood src/orders/orderService.ts --budget 400
npx @fabersep/atlas flow OrderController.create --depth 4
npx @fabersep/atlas impact OrderRepository.save --depth 4
npx @fabersep/atlas hubs --top 10A second scan parses only files whose size or modification time changed (--full parses everything). Queries read .faber-atlas/ directly and never re-parse unless --fresh is passed (which runs an incremental scan in milliseconds first).
Related MCP server: repopedia
MCP Server (Claude Code, Antigravity, Cursor, Claude Desktop)
faber-atlas mcp runs a zero-dependency stdio MCP server exposing 7 tools: map (with zoom), brief, neighborhood, flow, impact, hubs, and health. It automatically runs an incremental scan before each query so edited files are always fresh (pass --no-fresh to disable).
Claude Code
claude mcp add faber-atlas -- npx -y @fabersep/atlas mcp --root /path/to/projectAntigravity (agy)
agy mcp add faber-atlas -- npx -y @fabersep/atlas mcp --root /path/to/projectCursor (.cursor/mcp.json or ~/.cursor/mcp.json)
{
"mcpServers": {
"faber-atlas": {
"command": "npx",
"args": ["-y", "@fabersep/atlas", "mcp", "--root", "."]
}
}
}Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"faber-atlas": {
"command": "npx",
"args": ["-y", "@fabersep/atlas", "mcp", "--root", "/absolute/path/to/project"]
}
}
}Real-World Benchmarks
1. Multi-Tier Production App (848 files, Apple M4 Pro)
Tier | Files scanned | Declarations | Source tokens | Skeleton tokens | Saved | First scan | Rescan |
Flutter app (Dart) | 613 | 7,247 | 584,063 | 100,151 | 83% | 844 ms | 33 ms |
API (TypeScript) | 194 | 2,326 | 172,827 | 29,337 | 83% | 266 ms | 15 ms |
Admin (React) | 41 | 2,204 | 124,354 | 19,132 | 85% | 208 ms | 7 ms |
Total | 848 | 11,777 | 881,244 | 148,620 | 83% | 1.3 s | 55 ms |
2. Scout Benchmark (immich-server, 775 files, 7,593 declarations)
Measured on immich-app/immich server/ (7b27863) across 4 plain-language Q&A and edit tasks using gemini-4-hydrogen-low (primary) and gemini-3.8-flash-low (read-only scout with Zoom 0/1 map, brief, neighborhood, flow, impact):
Layered map sizes:
--zoom 0= 171 tokens (18 lines),--zoom 1= 9,930 tokens (controllers + services + repositories= 3,095 tokens),--zoom 2= 17,725 tokens.Zero-LLM AST signals: 531 entrypoints (
@Controller,@Get/@Post,@OnEvent,@OnJob,@Cron), 221 thrown exceptions, 7 role tags (http,event,job,db,auth,ui,io).Primary model impact (4 tasks total):
Primary tokens: 119,415 → 76,757 (-35.7%)
Primary latency: 61.8 s → 31.5 s (-49.0%)
Accuracy: 3/4 → 4/4 (on the edit task, primary alone hallucinated a non-existent
album.assetCountproperty; the scout locatedalbumRepository.getMetadataForIds([album.id])and existing spec mocks).
Full tables: Phase 1 summary and Phase 2 summary.
Privacy-First Local Stats & Shareable Benchmark
Atlas records zero remote telemetry. Every scan and MCP tool call appends only numeric counters and durations to <out>/metrics.jsonl (auto-rotated at 10 MB / 90 days) — never repository names, file paths, symbol names, or source code.
faber-atlas statsshows your repo's token compression,zoom 0/1/2sizes, AST signal counts, MCP schema footprint, median scan/rescan latency, and MCP tool usage.faber-atlas stats --shareoutputs a strictly anonymized Markdown benchmark card you can inspect locally and optionally share.faber-atlas doctorruns read-onlyPASS / WARN / FAILchecks on Node version, index schema/freshness, parse health,.gitignorehygiene, and local metrics.
Code Health & CI Gate
faber-atlas health . \
--max-file-lines 300 --max-function-lines 25 --hard-function-lines 40 \
--max-nesting-depth 4 --min-duplicate-lines 6 --json > after.json
faber-atlas health-compare before.json after.json --jsonhealth requires every limit explicitly (none are assumed) and reports oversized files, long functions/methods, excessive nesting depth, duplicated code blocks, import cycles, and unmeasured files. health-compare diffs two reports to flag only regressions introduced by a change.
Supported Language Packs
Pack | Files | Notes |
|
|
|
|
| Dart 3 (records, patterns, switch expressions, class modifiers), |
|
| Classes, structs, records, interfaces, enums, delegates, |
|
| Package dependencies and project references as graph edges |
|
| JSONC comments & trailing commas, |
|
|
|
Adding a language pack: see CONTRIBUTING.md.
Programmatic Library
import {
scan, renderMap, flow, impact, renderFlow,
neighborhood, hubs, health, compareHealth,
computeStats, runDoctor, PACKS,
} from '@fabersep/atlas';
const { map, topology } = await scan({ root: 'path/to/project', packs: PACKS });
console.log(renderMap(map, { zoom: 1 }));
console.log(renderFlow(flow(map, 'OrderController.create', { depth: 4 })));Documentation & Ecosystem
Master PRD: docs/master-prd.md
Architecture Guide: docs/architecture.md
Feature Specs & BDD Criteria: docs/features/README.md
Roadmap: ROADMAP.md
FaberSEP Ecosystem: fabersep.com · fabersep.dev ·
@fabersep/spec·@fabersep/memory
Licensed under the Apache License 2.0.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Ask a codebase what calls what: search, blast radius, paths between symbols, and diffs.
Deterministic context layer for your codebase: change impact, blast radius, answers with receipts.
Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Related MCP Servers
AlicenseAqualityBmaintenanceEnables 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.1078 npm1Apache 2.0- AlicenseNot gradedqualityBmaintenanceServes 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.17MIT
- AlicenseNot gradedqualityBmaintenanceExposes 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
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to query a local code graph over stdio, so they can see what a Git change may affect, find related tests, routes and nodes, and cite evidence paths — read-only and fully on-machine.MIT