Skip to content

[FEATURE] Implement Claude Memory Api with Basic Memory #373

@phernandez

Description

@phernandez

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:

  1. Works everywhere - Claude Desktop, Code, VS Code, Cursor via MCP (not just API)
  2. Structured knowledge - Entities with observations/relations vs plain text
  3. Full search - Full-text search, graph traversal, time-aware queries
  4. Unified storage - Agent memories + user notes in one knowledge graph
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions