Skip to content

Cortex

New session. Same brilliant memory.

For Claude Code

Local-first, token-efficient persistent memory for Claude Code — progressive recall with ~66% fewer tokens.

YOUR TERMINAL, PLEASE.
uv tool install "cortex-claude[code]" --python 3.12 && cortex-claude setup

View the code on GitHub

Free · MIT · uv picks a compatible Python for you. pip works too.

Made for Claude CodeLocal SQLite storageZero API calls

Because “as I was saying…” shouldn’t be a workflow.

01 / MORE THAN A PRETTY ICON

Big little
superpowers.

6 ways to make your day easier.
Yes, we got a little carried away.

Progressive recall

3-layer retrieval (facts → summaries → full content) stops at the cheapest layer that answers — facts cost 5–15 tokens.

Knowledge graph

Auto-extracted structured facts with entity normalization, deduplication, and multi-hop traversal across connections.

Code graph

Tree-sitter indexes symbols across 7 languages — ~100 tokens to look one up vs 1000+ to read the file.

And a few more tricks.

Go on. Open one.

Smart auto-capture

Hooks capture results from your tools and a background daemon saves them in about 0.3 seconds.

Self-organizing clusters

Memories group into semantic sub-graphs with human-readable labels — browse topics top-down before drilling in.

Decay & temporal awareness

Unused memories fade, contradicted facts lose confidence, and timestamps keep recall fresh instead of stale.

The whole story, for the curious.

A closer look at what makes Cortex tick.

Cortex gives Claude Code persistent memory through a 3-layer retrieval system that returns only what's relevant, using ~66% fewer tokens on average. It automatically extracts structured facts from your memories and code into a queryable knowledge graph, with entity normalization and multi-hop traversal. Everything stays local — SQLite + Python, zero API calls, zero cost. It's the memory the rest of the family plugs into, and the project that named the lab.

02 / LET’S MAKE THIS OFFICIAL

Are we
your type?

A few practical details.
No awkward first-date questions.

Cortex

For Claude Code

Works with
Claude Code, via MCP
Runs on
macOS, Linux, Windows · Python 3.11 to 3.13
Price
Free — zero API calls, zero cost
Dashboard
A web UI at localhost:37800
Your data
Stays local, in a file on your machine

YOUR NEXT FAVORITE TOOL IS RIGHT HERE.

Give your next session a head start.

One install. A lot fewer “let me explain this again” moments.

YOUR TERMINAL, PLEASE.
uv tool install "cortex-claude[code]" --python 3.12 && cortex-claude setup

View the code on GitHub

Free · MIT · uv picks a compatible Python for you. pip works too.