codeatlas
Local dependency graphs and context intelligence for AI coding agents.
Install / Use
claude mcp add shditz -- npx -y github:shditz/codeatlasIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Data & AnalyticsSupported Platforms
Tags
Our assessment of codeatlas
codeatlas scores 80/100 on our quality scale, 181st of 264 Data & Analytics skills we index.
Its MCP Server is 15 KB long, well organised into 29 sections with 12 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 24 days ago, so codeatlas is actively maintained.
- Our last check on 2026-09-26 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 87/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
codeatlas compared with similar skills
All 4 of these similar skills score higher than codeatlas; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| codeatlas (this skill)by shditz | 80 | 3 | 24d ago | MCP Server |
| claude-memby thedotmack | 100 | 94.8k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 85.7k | 12d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 73.9k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 73.4k | today | CLAUDE.md |
Frequently asked questions
- How do I install codeatlas?
- Run
claude mcp add shditz -- npx -y github:shditz/codeatlas. The install tabs above show the steps for each supported agent. - Which AI agents does codeatlas work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is codeatlas safe to use?
- It is MIT-licensed and scores 87/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is codeatlas still maintained?
- The repository was last updated 24 days ago, so codeatlas is actively maintained.
Skill content
View source on GitHubCodeAtlas
Local dependency graphs and context intelligence for AI coding agents.
CodeAtlas indexes your codebase into a local SQLite database (.atlas/atlas.db), mapping relationships between files, functions, classes, and packages. It connects to AI coding assistants (Google Antigravity, Claude Code, Cursor, Windsurf, Copilot) via the Model Context Protocol (MCP) and editor extensions, giving them the architectural context needed to edit large repositories without hallucinating imports or breaking downstream dependencies.
Why CodeAtlas?
AI coding models are effective at writing code within a single file, but they are context-blind to repository-wide architecture. When editing mid-to-large codebases, they frequently:
- Import modules that do not exist or bypass public boundaries.
- Introduce circular dependencies between packages.
- Miss downstream callers that break when a function signature changes.
- Waste 80–90% of prompt token budgets on irrelevant file boilerplate.
CodeAtlas builds a local directed graph of your repository so both developers and AI assistants can answer:
- What files will break if I change this function?
- Where is this endpoint or service actually consumed?
- Which modules have circular dependencies or layer violations?
- What is the minimum necessary context for this task?
All indexing runs locally. Source code never leaves your machine.
Example
When you modify a file in your project:
atlas diff
CodeAtlas inspects the change surface against the dependency graph:
Target: packages/storage/src/search.ts
Direct Dependents (1-hop):
packages/retrieval/src/retrieval-engine.ts
packages/mcp/src/mcp-server.ts
Transitive Impact (2-hop):
apps/cli/src/commands/search.ts
apps/vscode-extension/src/extension.ts
Risk Level: MEDIUM (4 downstream files affected)
Architecture Health: Clean (0 circular dependencies, 0 layer leaks)
AI assistants query this graph before editing, allowing them to verify downstream callers and maintain modular boundaries.
Quickstart
1. Install the CLI
npm install -g @codeatlas-ai/cli
2. Index Your Project
Navigate to your project root:
# Detect project stack and create local .atlas/ directory
atlas init
# Parse AST structures and build the local dependency graph
atlas index
3. Connect to Your AI Assistant
Automatically configure MCP for all detected tools (Cursor, Claude Code, Antigravity, Windsurf):
atlas mcp setup --all
VS Code & Cursor Extension
CodeAtlas provides an official extension for VS Code, Cursor, and Windsurf featuring an interactive 2D/3D architecture canvas, real-time blast radius monitoring, and CodeLens navigation.
- Marketplace: Search for
CodeAtlas(shditz.codeatlas-official) in the Extensions tab (Ctrl+Shift+X/Cmd+Shift+X). - Terminal:
(For Cursor:code --install-extension shditz.codeatlas-officialcursor --install-extension shditz.codeatlas-official)
How It Works
┌─────────────────┐ AST & Imports ┌────────────────────────┐
│ Source Code │ ──────────────────────────> │ CodeAtlas Engine │
│ (Local Disk) │ │ (.atlas/atlas.db) │
└─────────────────┘ └───────────┬────────────┘
│
┌───────────────────────────────┴───────────────────────────────┐
▼ ▼
┌─────────────────────────────┐ ┌─────────────────────────────┐
│ VS Code / Cursor IDE │ │ AI Coding Assistants │
│ • 2D/3D WebGL Graph Canvas │ │ • 22 Model Context Tools │
│ • Live Blast Radius Status │ │ • Live Architecture Rules │
│ • CodeLens Navigation │ │ • Skeletonized AST Prompts │
│ • Diagnostics & QuickFix │ │ • Token Budget Packing │
└─────────────────────────────┘ └─────────────────────────────┘
- AST Extraction & Secret Redaction: Parses source files using Tree-sitter grammars. Built-in filters redact API keys, JWTs, and credentials before data is stored or passed to context.
- Semantic Resolution: Resolves relative imports, path aliases (
@/*), and class/interface inheritance hierarchies (extends/implements). - Graph Storage & Metrics: Stores symbols and dependency edges in SQLite. Computes PageRank, modularity clusters, instability metrics, and circular dependency chains.
- Context & MCP Delivery: Exposes 22 Model Context Protocol (MCP) tools and updates architecture rules for
.cursor/rules/,CLAUDE.md, andAGENTS.md.
Language Support
CodeAtlas parses ASTs and resolves dependencies across common programming languages:
| Category | Languages / Frameworks | Supported File Extensions |
| :----------------------- | :-------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Full AST & Semantics | TypeScript, JavaScript, Python, Go, Rust, Dart, Scala, Lua, Elixir, Erlang, Zig, GraphQL, Vue, Svelte, Astro, SQL, NestJS, Prisma | .ts, .tsx, .js, .jsx, .py, .go, .rs, .dart, .scala, .lua, .ex, .zig, .graphql, .vue, .svelte, .astro, .sql, .prisma |
| Structural Analysis | Java, C#, C, C++, PHP, Ruby, Kotlin, Swift | .java, .cs, .c, .cpp, .h, .hpp, .php, .rb, .kt, .swift |
| Content & Search | JSON, YAML, TOML, Markdown, Dockerfile | .json, .yaml, .toml, .md, Dockerfile |
For complete parser capabilities and framework adapters, see the Language Support Guide.
CLI Reference
| Command | Description |
| :----------------------- | :------------------------------------------------------------------------------------ |
| atlas init | Initializes .atlas/ folder and project configuration. |
| atlas index | Parses ASTs, computes metrics, and updates local SQLite graph. |
| atlas watch | Watches for file changes and updates the graph incrementally. |
| atlas diff | Calculates semantic blast radius and risk ratings from Git diffs. |
| atlas analyze | Audits Domain-Driven Design (DDD) layers, circular dependencies, and dead code. |
| atlas doctor | Runs integrity checks on the SQLite database and repository health. |
| atlas rules generate | Generates evidence-based guidelines (AGENTS.md, CLAUDE.md, .cursor/rules/). |
| atlas context | Builds token-budgeted prompt packs tailored to intent (bug, feature, refactor). |
| atlas search | Performs full-text search with synonym query expansion via SQLite FTS5. |
| atlas mcp setup | Configures detected AI coding assistants to connect to CodeAtlas MCP. |
| atlas mcp doctor | Tests MCP stdio handshake, protocol compatibility, and tool availability. |
| atlas mcp list-targets | Lists all supported AI coding assistant targets and their detection status. |
| atlas mcp | Runs the Model Context Protocol (MCP) server over stdio. |
For full CLI flags and examples, see the CLI Documentation.
Model Context Protocol (MCP)
CodeAtlas implements 22 native MCP tools enabling AI assistants to explore codebases autonomously:
- Topology & Graph:
atlas_scan,atlas_dependencies,atlas_cycles,atlas_query,atlas_architecture - Navigation & Search:
atlas_search_symbols,atlas_get_map,atlas_trace_execution_path,atlas_find_entry_points - Context & Optimization:
atlas_get_context,atlas_get_file_context,atlas_compress,atlas_search - Impact & Change Analysis:
atlas_impact,atlas_pr_diff,atlas_calculate_change_surface - Health & Architecture:
atlas_analyze,atlas_get_god_components,atlas_get_dead_code,atlas_get_bottlenecks,atlas_suggest_refactoring - Rules & Governance:
atlas_get_rules,atlas_generate_rules,atlas_doctor,atlas_index
Manual Setup
Google Antigravity & Codex (.agents/mcp_config.json)
{
"mcpServers": {
"codeatlas": {
"command": "atlas",
"args": ["mcp"]
}
}
}
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"codeatlas": {
"command": "atlas",
"args": ["mcp"]
}
}
}
Claude Code CLI
claude mcp add codeatlas atlas -- mcp
For detailed MCP tool definitions, see the MCP Documentation.
Repository Structure
codeatlas/
├── packages/
│ ├── core/ # Data models, configuration, and secret redaction
│ ├── parser/ # Tree-sitter parsers, framework adapters, TS semantic resolver
│ ├── storage/ # SQLite persistence and FTS5 search
│ ├── graph/ # Directed graph engine, PageRank, cycle detection
│ ├── analytics/ # Architecture analysis, DDD layers, multi-repo aggregation
│ ├── rules/ # Rule generator and live DAG blueprint synchronization
│ ├── retrieval/ # Multi-source retrieval engine (FTS5 + Graph)
│ ├── compression/ # AST skeletonization and prompt token compression
│ ├── ranking/ # Relevance ranking and scoring algorithms
│ ├── context/ # Context pack assembly and token budget management
│ ├── mcp/ # Model Context Protocol serve
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
94.8kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
85.7kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
73.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ruflo
73.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
