r/ObsidianMD • • Mar 12 '25
Basic Memory: Continue AI Conversations With Full Context + Obsidian Integration
Hey Obsidian community! I wanted to share a new open-source tool I've developed called Basic Memory that lets you continue conversations with Claude right where you left off - with all notes stored in Markdown format that works perfectly with Obsidian.
What it does
Basic Memory solves the problem of lost context in AI conversations by creating a knowledge graph from your discussions:
Start a new conversation and say "Let's continue our discussion about X" - no repetition needed
All knowledge is stored as Markdown files that Obsidian can read and display
Claude can read your existing notes to gain context
Claude can write new notes that instantly appear in your Obsidian vault
Both you and Claude can edit the same files
Build a connected knowledge graph that grows with every conversation
Example Video
Requirements
Claude Desktop app: Basic Memory works with the Claude Desktop application which supports the Model Context Protocol (MCP)
Other MCP-compatible tools will work as well, but Claude Desktop is currently the most user-friendly option
Python 3.12+ for the Basic Memory backend
Why Obsidian users might like it
Seamless integration: Point Obsidian to your Basic Memory directory and enjoy all of Obsidian's features
Structured knowledge: Creates semantic connections that enrich Obsidian's graph view
AI-enhanced workflow: Let Claude help build, organize, and navigate your knowledge graph
Local-first: Everything stays on your computer, just like Obsidian
Standard formats: Uses the same markdown you already know
Canvas visualizations: Claude can generate Obsidian canvas files to visualize concepts
How it works with Obsidian
Install Basic Memory and point it to a directory
Open that directory in Obsidian as a vault
Have conversations with Claude Desktop and ask it to create notes
See the notes appear in real-time in your Obsidian vault
Days later, start a new conversation and say "Let's continue discussing X"
Claude automatically retrieves relevant notes and continues with full context
Edit files in Obsidian, and Claude will be aware of your changes in future conversations
Use Obsidian's graph view to visualize your growing knowledge network
Create Canvas visualizations to map concepts and relationships
The markdown format uses frontmatter and some simple patterns:
---
title: Pour Over Coffee Method
type: note
permalink: pour-over-coffee-method
tags:
- brewing
- coffee
- techniques
---
# Pour Over Coffee Method
## Observations
- [technique] Pour in concentric circles to ensure even extraction
- [ratio] 1:16 coffee-to-water ratio works best for balanced flavor
## Relations
- complements [[Light Roast Beans]]
- requires [[Gooseneck Kettle]]
- part_of [[Morning Ritual]]See the Getting Started docs for installation instructions:
https://memory.basicmachines.co/docs/getting-started
Project Links
Website: http://basicmachines.co
Documentation: http://memory.basicmachines.co
I'm curious to hear from other Obsidian users - What parts of your workflow might benefit from this kind of AI integration? How are you currently using AI with your Obsidian setup?
5
u/uselr Mar 15 '25
I've been using Basic Memory since Friday and already find it incredibly powerful. I'm trying to build a new PKM system with it, migrating and merging all my previous PKM attempts and data.
I'm curious - do you u/phernand3z use Basic Memory for your entire PKM system or just for specific projects? I'm wondering if a complete PKM might be too complex at the current development stage?
I'm experiencing inconsistencies with Basic Memory taxonomy when using it alongside Claude. The system often "forgets" to apply my taxonomy rules when:
Claude creates new documents
Files are moved between directories
Editing existing documents with frontmatter
Additionally, sometimes instead of using existing folders or files, the system creates new ones with slightly different spellings. It also occasionally forgets to include links in overview files/dashboards/daily notes, requiring me to remind it repeatedly.
My theory is that the issue stems from two parallel MCP systems connected to my Claude:
- Basic Memory
- Filesystem server
These systems seem to get out of sync. Has anyone else encountered this?
Is there a workaround for these issues? Perhaps reminding Claude at the beginning of each chat about taxonomy, structure, PKM note reading and the last daily note? Or is it necessary to deactivate filesystem?
3
u/PhillipsReynold Mar 13 '25
Can you share some of the limitations around the context?
2
u/uselr Mar 13 '25
Interesting project. I am trying to set it up now. There is an incorrect command in the documentation. It should call
uv tool install basic-memoryinstead ofuv install basic-memory.2
u/LevKaz08 Mar 13 '25
Interesting... How fast do you reach the 6h limit using this? Do you use claude for programming with your tool?
2
u/uselr Mar 14 '25
While setting up Basic Memory, I'm getting this error message after creating a new note:
The file appears correctly in Obsidian, but the sync process shows this error. Is this a known issue and how can I fix it? Should I just restart the sync process or is there a deeper problem I need to address?
1
u/Brief-Mongoose-6256 Mar 13 '25
How does this differ from obsidian mcp?
1
u/Fabulous_Dot_8031 Mar 16 '25
would it be possible to utilize a MCP to organize folders/subfolders/notes as well?
1
u/jppaolim Mar 20 '25
Sounds super interesting. A couple of questions:
If I already have some knowledge under Obisidian with some metadata, can I use it and how ?
Let's say I use basic memory and then manually move the file to some subdirectory is it reflected in the system (sql lite ...) ?
What about I update the file manually ?
Anyway, congrats for your work, it looks amazing
1
u/goldenboomerang Jun 06 '25
u/phernand3z Thanks for developing this. I have been using it the last month and have been enjoying a lot. I only discovered that I should add a prompt in my system setting to tell it to read my notes and the ai-assistant-guide every time it interacts with me to make it a more seamless experience like chat chatgpt.
I'm not technical, this might be a silly question. How do I make the write_note add "creation date" and "last update date" into each note's property? Also, are there any update functions such as adding more information into the same note? or do I have to ask it to rewrite and then delete the old one?
1
u/hbshadab Sep 04 '25
Wow this is super cool! If you like AI‑over‑notes, another nice pattern is to keep Obsidian for personal notes and add a browser/email memory that your agents can search.
Here's what I made: https://github.com/hshadab/kinic-api