Skip to content
bloodfeastPublic

About

Local project memory and token savings for Claude Code: an MCP server and hooks

Resources

Contributing

Security policy

Stars

147 stars

Watchers

1 watching

Forks

Latest commit

 

History

33 Commits

Folders and files

Repository files navigation

atlas

atlas makes long Claude Code sessions cheaper without changing how you work. It is a local MCP server and a set of Claude Code hooks: large tool output stays on disk behind a short handle and the model gets a digest, code reads get exact item ranges instead of guessed windows, and project memory (rules, decisions, journals, handoffs) is recalled by relevance instead of loaded whole.

It is for anyone who runs long Claude Code sessions, or many agents, on one codebase. It runs on your machine and makes no network calls at query time.

You do not need Obsidian. A vault is any folder of Markdown files; Obsidian is an optional reader for it.

Memory, search and the hooks work whatever language a project is written in. The code index covers Rust, Go, TypeScript, JavaScript, Python, C#, Java, Kotlin, C++, WGSL and Protocol Buffers, and any language with a SCIP indexer (Code index).

Install

Prebuilt for Windows x86_64, Linux x86_64 and aarch64, and macOS (Apple Silicon and Intel). In Claude Code:

/plugin marketplace add bloodfeast/atlas
/plugin install atlas@atlas

Restart Claude Code and open a session in your project. Claude asks whether to create a vault for it; say yes. It also asks whether to run in orchestrated mode, and no is fine. Then work as usual.

  • The first start writes atlas.json in your configuration folder and fetches the embedding model (about 35 MB, checked against a pinned SHA-256). Search and recall are lexical until it lands.
  • Updates are signed and on by default. atlas settings off update turns them off.
  • atlas settings undo reverts any change atlas made to your setup. It never deletes a note.

Setup questions, several repositories in one project, building from source and uninstalling are on Install and setup and Projects and multi-repo.

What it saves

Every turn re-reads the whole context, so output that enters early is paid for on every later turn. Before atlas, shell reads were 36% of what a builder session processed and startup context another 35%; those are what atlas cuts. Measured:

What Measured Turned on by Method
Memory questions 100 of 100 answered, median 506 tokens each, on the 100-question memory eval, at v0.12.0 on by default Headline figures
The tool list, in every session 14 tools in 6,042 bytes (about 1,510 tokens), down from 47 tools and 5,930 tokens; a test holds the budget always Headline figures
Recall on each prompt 1 of 30 off-topic prompts gets a record; about 50 tokens injected per prompt over a 303-prompt replay, at v0.12.0 recall.budget_tokens 600, recall.cos_floor 0.53 and recall.inject_floor 0.60, the defaults Headline figures

atlas --token-report measures your own store the same way, against your Claude Code transcripts from before atlas: a summary in about 15 lines, and the full report with --verbose.

Safe by construction

  • Local only. One process over stdio, with no HTTP client in the code or its dependencies. The model download and the update check go through the system curl to pinned https URLs and are verified.
  • Confined. Every path stays inside a configured folder. .env*, keys and credential files are never read, whatever the configuration says.
  • Nothing lost. There is no delete or rename tool; writes are additive, atomic and audited, and the memory store is append-only.

The threat model is on Security model. Report vulnerabilities privately, as SECURITY.md describes.

Documentation

The wiki is the full manual.

License

Apache License 2.0. See LICENSE and NOTICE.

About

Local project memory and token savings for Claude Code: an MCP server and hooks

Resources

Contributing

Security policy

Stars

147 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages