Open Source · MIT Licensed
npm v1.0.3 Star on GitHub 25/25 Tests Passing

Give Your AI a Brain
That Remembers

Persistent memory for AI coding assistants. Your AI never starts from zero again.
Works with Cursor, Claude, VS Code Copilot, Windsurf, and any MCP client.

0 MCP Tools
0 Brain Layers
<1ms Recall Time
0 Ops/sec
Terminal
$ |

Your AI Has Amnesia

Every new conversation, your AI forgets everything you told it.

Without Cortex

  • Re-explain coding conventions every session
  • AI suggests the same wrong approach again
  • Forgets bugs you already fixed
  • No memory of project architecture
  • Hallucinates functions that don't exist

With Cortex

  • Remembers all decisions and conventions
  • Learns from past corrections permanently
  • Recalls bug fixes across sessions
  • Understands your project structure
  • Verifies imports, exports, and file paths

A 14-Layer Brain for Your AI

Every conversation starts with a full brain dump — 14 cognitive layers that make your AI smarter.

Foundation
0

Session Management

Tracks what you're actively working on — file, task, and mode detection.

1

Memory Maintenance

Decays old memories, boosts corrections, and consolidates duplicates.

2

Attention Focus

Detects if you're debugging, coding, or reviewing — ranks memories accordingly.

Context Engine
3

Session Continuity

Picks up exactly where you left off — seamless cross-session memory.

4

Hot Corrections

Surfaces topics corrected 3+ times with CRITICAL priority. Your AI learns from mistakes.

5

Core Context

All corrections, decisions, conventions, and bug fixes — the backbone of your AI's knowledge.

Intelligence
6

Anticipation

Proactively recalls memories based on the file you're currently editing.

7

Temporal Awareness

Knows what changed today, yesterday, and this week — time-aware context.

8

Git Integration

Reads branch, recent commits, diffs, and auto-captures git activity as memories.

9

Topic Search

Full-text search with confidence decay and causal chain traversal.

Anti-Hallucination
10

Knowledge Gaps

Flags files and modules with zero memories — highlights blind spots.

11

Export Map

Shows all available functions and classes — prevents AI from inventing things.

12

Architecture Graph

Maps layers, circular dependencies, and API endpoints — full system awareness.

16 MCP Tools at Your AI's Disposal

force_recall

Full 14-layer brain dump

recall_memory

Search by topic

store_memory

Save decisions & fixes

quick_store

One-liner with auto-classify

auto_learn

Extract from AI responses

scan_project

Map structure & stack

verify_code

Anti-hallucination check

verify_files

Check real file paths

Three Steps. That's It.

1

Install

Terminal
$ npm install -g cortex-mcp
2

Configure

Terminal
$ cortex-setup
3

Restart IDE

That's it. Your AI now has persistent memory. It remembers everything across sessions.

Works With Every AI Client

Any tool that supports the Model Context Protocol.

Cursor
Claude
VS Code
Windsurf
Zed
Cline

Start Free. Upgrade When Ready.

No credit card required. No time limit on free tier.

Free

$0/forever
  • 20 memories
  • 3 brain layers
  • Project scanning
  • Code verification
  • Auto-learn from responses
  • Export map (anti-hallucination)
  • Architecture graph
  • Git memory capture
  • Confidence decay
  • Contradiction detection
Get Started Free
Most Popular

Pro

$9/month
  • Unlimited memories
  • All 14 brain layers
  • Project scanning
  • Code verification
  • Auto-learn from responses
  • Export map (anti-hallucination)
  • Architecture graph
  • Git memory capture
  • Confidence decay
  • Contradiction detection
Start Free Trial

Built for Real Workflows

"I used to spend 10 minutes every session re-explaining my project conventions. Now Cortex remembers everything — it's like having a teammate with perfect memory."

SR
Sarah R. Full-Stack Developer

"The anti-hallucination feature alone is worth it. Cortex catches when my AI tries to import functions that don't exist. Saves me 30 min of debugging daily."

MK
Mike K. Backend Engineer

"Setup took literally 60 seconds. Now every AI conversation starts with full context of my project. It's a no-brainer for any developer using MCP tools."

AL
Alex L. Solo Founder

Common Questions

Does Cortex slow down my IDE?

+

No. Cortex uses a local SQLite database with sub-millisecond recall. It adds zero latency to your AI responses. The MCP protocol is designed to be non-blocking.

Where is my data stored?

+

100% local. Your memories are stored in a SQLite file on your machine. Nothing is ever sent to the cloud. You own your data completely.

Which AI clients does it work with?

+

Any client that supports the Model Context Protocol (MCP): Cursor, Claude Desktop, VS Code with Copilot, Windsurf, Zed, Cline, and more.

What's the difference between Free and Pro?

+

Free gives you 20 memories and 3 brain layers. Pro unlocks unlimited memories, all 14 layers, auto-learn, git capture, contradiction detection, and the full anti-hallucination engine.

Can I export or delete my memories?

+

Yes! Use the export_memories tool to get a full JSON backup, and delete_memory to remove any individual memory. You have complete control.

Is it open source?

+

Yes, fully open source under the MIT license. You can inspect every line of code, contribute, or fork it. The Pro features are gated by a license key but the code is transparent.

Ready to Give Your AI a Brain?

Install in 60 seconds. Free forever. No credit card required.