## for Claude Code
Long-term memory for Claude Code
CLAUDE.md handles standing instructions. Basic Memory handles everything you actually accumulate.
## for Claude Code
CLAUDE.md handles standing instructions. Basic Memory handles everything you actually accumulate.
Static instructions are great for what every session needs. Architecture decisions, conventions, and the gotchas you learn the hard way need somewhere durable to live.
Give Claude Code a persistent, searchable knowledge base it can read and write to.
Claude Code searches Basic Memory for the few notes relevant to the current task instead of loading one giant file. CLAUDE.md stays small; Basic Memory holds the rest.
Architecture decisions, coding patterns, and project context accumulate as plain Markdown notes. Searchable by full-text, semantic, and graph navigation. Claude reads them when relevant and writes new ones as work progresses.
Every note is a file on your disk. Read, edit, and version with Git. No cloud dependency, no vendor lock-in. Open the same vault in Obsidian alongside Claude Code if you want.
Basic Memory uses the Model Context Protocol — the same standard Claude Code is built on. The same knowledge graph is also available in Claude Desktop, claude.ai, Cursor, ChatGPT, and any MCP client.
claude mcp add -s user -t http basic-memory-cloud https://cloud.basicmemory.com/mcpOne command. The `-s user` flag installs the MCP server at the user scope so every Claude Code session picks it up. Use the cloud URL above (free 7-day trial) or run Basic Memory locally for free (`pip install basic-memory && bm mcp` then point Claude Code at the local server). Verify with `claude mcp list`. Full setup guide →
“Basic Memory changed my whole relationship with LLMs... I switched from GPT and Gemini to exclusively Claude and Claude Code because of this integration and am completely revamping all our companies processes around a basic memory workflow now.”
“Basic memory is the missing 'wow' factor in AI chatbots—now I can't imagine Claude or Claude Code without it.”
Try Basic Memory free for 7 days. Your notes stay yours either way.
7-Day Free Trial
Open source available for power users
View on GitHubclaude mcp add -s user -t http basic-memory-cloud https://cloud.basicmemory.com/mcp (or run it locally, free and open source). Claude Code can then search, read, and write notes in your knowledge base in every session.