v0.2.0 · MCP Server · MIT License

Your AI coding agent
has amnesia.
We fixed that.

apex-memory is an MCP server that gives AI coding agents persistent memory across sessions. Save decisions, bugs, patterns, and context — recall them exactly when needed.

$ claude mcp add apex-memory -- npx apex-memory ⎘ copy
One command. No accounts. No servers.
Works with Claude Code, Cursor, Windsurf, and any MCP-compatible editor.

Purpose-built for coding agents

Not a general-purpose memory layer bolted on after the fact. Every design decision is optimized for the coding agent workflow.

One-command install

claude mcp add apex-memory -- npx apex-memory

Works immediately. No configuration, no Docker, no accounts.

🗄️

Zero infrastructure

All data lives in ~/.apex-memory/memory.db — a local SQLite database with WAL mode. Nothing leaves your machine.

🔍

Full-text search

FTS5-powered search across all memories. Supports AND, OR, NOT, and phrase queries. Find anything instantly.

🏷️

Coding-native categories

Categories designed for real dev workflows: decision, architecture, bug, pattern, preference.

📋

Session tracking

Start and end coding sessions. Group related memories together. Review what the agent accomplished across sessions.

🔌

MCP-native

Built on the Model Context Protocol from day one — not a wrapper. Works with any MCP-compatible editor, today and tomorrow.

Everything your agent needs

apex-memory adds 9 tools to your agent's toolkit, covering the full memory lifecycle — including importance scoring, access tracking, and auto-decay (v0.2).

Tool What it does
save_memory Save knowledge, decisions, patterns, or context with categories, tags, and project
search_memories Full-text search across all memories — supports AND, OR, NOT, phrases (FTS5)
recall Retrieve recent memories filtered by project, category, or tags
delete_memory Remove a specific memory by ID
start_session Begin a coding session tied to a project — returns a session ID
end_session End a session with a summary of what was accomplished
list_sessions View past coding sessions, optionally filtered by project
decay_memories Archive old low-importance memories that were never accessed — keeps the store clean automatically
memory_stats Get statistics about stored memories, sessions, and projects

// example: agent saves a decision, recalls it next session

// Session 1 — agent makes an architecture decision save_memory({ content: "Using JWT with 15-min access tokens, 7-day refresh. Stored in httpOnly cookies.", category: "decision", tags: ["auth", "jwt", "security"], project: "api-server" }) // Session 2 — agent wakes up and restores context recall({ project: "api-server" }) // → Returns all saved decisions, bugs, patterns for this project // Or search for something specific search_memories({ query: "authentication AND JWT" })

Why not Mem0, Letta, or OneContext?

Those are great general-purpose memory systems. apex-memory is purpose-built for coding agents.

apex-memory Mem0 Letta OneContext
Built for coding agents Yes General purpose General purpose General purpose
MCP-native Yes No No No
Zero infrastructure Yes (SQLite) Requires server Requires server Cloud-only
Install time 30 seconds Minutes Minutes Minutes
Works with Claude Code Native Manual Manual No
Session tracking Built-in No No No
Search method FTS5 (exact) Vector Vector Vector
Open source MIT Partial Yes No

Works with your editor

apex-memory is MCP-native — it connects to any editor that supports the Model Context Protocol over stdio.

⌨️

Claude Code

One command: claude mcp add apex-memory -- npx apex-memory. Native MCP support, zero config.

🖱️

Cursor

Add to .cursor/mcp.json. Works with Cursor's AI agent out of the box. Setup guide →

🌊

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json. Works with Cascade. Setup guide →

🔌

Any MCP Client

If it supports MCP stdio transport, it works. Point it at npx apex-memory. Generic guide →

Start free. Scale when you need to.

The free tier is fully functional — unlimited sessions, unlimited memories, forever.

Free
$0
Everything you need for a single machine.
  • Local SQLite storage
  • Unlimited memories
  • Unlimited sessions
  • Full-text search (FTS5)
  • All 9 MCP tools
  • MIT licensed
Coming Soon
Team
$29 / workspace / month
Shared memory across multiple agents.
  • Everything in Pro
  • Shared multi-agent memory
  • Memory analytics
  • Unlimited storage
  • Access controls

Give your agent a memory.

One command. Zero infrastructure. Works today.

$ claude mcp add apex-memory -- npx apex-memory ⎘ copy