For Claude Code

Persistent Memory for Claude Code

Claude Code is brilliant — until your session ends. ContextForge gives Claude Code persistent memory via MCP, so it remembers your project decisions, debugging notes, and architecture across every session. Works with the Claude Code CLI.

Without ContextForge

Every session starts from zero

You spend 15-20 minutes every morning re-explaining your tech stack, conventions, and the bug you debugged yesterday. Claude.md helps a bit, but it's static — no growth, no search.

With ContextForge

Claude Code remembers everything

Save knowledge once with 'remember this'. Recall it anytime with natural language. Claude Code picks up where you left off — even after a week away.

Setup in under 3 minutes

1

Get your API key

Sign up at contextforge.dev (free tier available) and copy your API key from the dashboard.

2

Add ContextForge to Claude Code

Run this single command in your terminal:

claude mcp add contextforge -e CONTEXTFORGE_API_KEY=your-key -- npx contextforge-mcp
3

Verify the connection

Open Claude Code and ask it to save something. The next session will remember it.

claude
> Remember this: We use JWT auth with 1-hour token expiration.

What you can do

Save with natural language

Tell Claude Code "remember the auth flow uses JWT with 1h expiration" and it saves to your knowledge base. No commands, no flags.

Semantic search

Ask "how do we handle payments?" and get back relevant items even if they're titled "Invoice Workflow". Search understands meaning.

Git integration

Auto-sync your commits and PRs into memory. Claude Code always knows what changed in your codebase.

Beyond CLAUDE.md

CLAUDE.md is for static instructions. ContextForge is your growing knowledge base — searchable, organized, and shared with your team.

Common questions

Does this replace CLAUDE.md?

No, they complement each other. CLAUDE.md is for project-level instructions ("always use TypeScript strict mode"). ContextForge is for accumulated knowledge ("we tried Redux but moved to Zustand because of X"). Use both.

Is this an official Anthropic plugin?

ContextForge is a community MCP server. Claude Code natively supports MCP — adding ContextForge takes one command and works with the standard claude mcp add interface.

Can my team share the same memory?

Yes. Pro and Premium plans let you invite collaborators to a project. When one person saves a debugging insight, the whole team can find it through Claude Code.

Ready to give Claude Code memory?

Free tier available. Setup takes under 3 minutes.