-
Notifications
You must be signed in to change notification settings - Fork 148
Description
Feature Description
Anthropic recently released a memory tool for Claude that enables storing and retrieving information across conversations using client-side file operations. This validates Basic Memory's local-first, file-based architecture - Anthropic converged on the same pattern.
However, Anthropic's memory tool is only available via their API and stores plain text. Basic Memory can offer a superior implementation through MCP that:
- Works everywhere - Claude Desktop, Code, VS Code, Cursor via MCP (not just API)
- Structured knowledge - Entities with observations/relations vs plain text
- Full search - Full-text search, graph traversal, time-aware queries
- Unified storage - Agent memories + user notes in one knowledge graph
- Existing infrastructure - Leverages SQLite indexing, sync, multi-project support
This would enable AI agents to store contextual memories alongside user notes, with all the power of Basic Memory's knowledge graph features.
What
Create a new MCP tool memory that matches Anthropic's tool interface exactly, allowing Claude to use it with zero learning curve. The tool will store files in Basic Memory's /memories directory and support Basic Memory's structured markdown format in the file content.
See SPEC-18
References
- Anthropic Memory Tool: https://docs.claude.com/en/docs/agents-and-tools/tool-use/memory-tool
- Anthropic Blog: https://www.anthropic.com/news/context-management
- Python SDK Example: https://github.com/anthropics/anthropic-sdk-python/blob/main/examples/memory/basic.py
- Memory Cookbook: https://github.com/anthropics/claude-cookbooks/blob/main/tool_use/memory_cookbook.ipynb