| title | Getting Started with Basic Memory |
|---|---|
| type | note |
| permalink | docs/getting-started |
This guide will help you install Basic Memory, configure it with Claude Desktop, and create your first knowledge notes through conversations.
Basic Memory uses the Model Context Protocol (MCP) to connect with LLMs. It can be used with any service that supports the MCP, but Claude Desktop works especially well.
The easiest way to install basic memory is via uv. See the uv installation guide.
# Install with uv (recommended).
uv tool install basic-memory
# Or with pip
pip install basic-memoryImportant: You need to install Basic Memory using one of the commands above to use the command line tools.
Using uv tool install will install the basic-memory package in a standalone virtual environment. See the UV docs for more info.
Edit your Claude Desktop config, located at ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"basic-memory": {
"command": "uvx",
"args": [
"basic-memory",
"mcp"
]
}
}
}Restart Claude Desktop. You should see Basic Memory tools available in the "tools" menu in Claude Desktop (the little hammer icon in the bottom-right corner of the chat interface). Click it to view available tools.
If you get an error that says ENOENT , this most likely means Claude Desktop could not find your uv installation. Make sure that you have uv installed per the instructions above, then:
Step 1: Find the absolute path to uvx
Open Terminal and run:
which uvxThis will show you the full path (e.g., /Users/yourusername/.cargo/bin/uvx).
Step 2: Edit Claude Desktop Configuration
Edit the Claude Desktop config:
{
"mcpServers": {
"basic-memory": {
"command": "/absolute/path/to/uvx",
"args": [
"basic-memory",
"mcp"
]
}
}
}Replace /absolute/path/to/uvx with the actual path you found in Step 1.
Step 3: Restart Claude Desktop
Close and reopen Claude Desktop for the changes to take effect.
Note: The service will sync changes from your project directory in real time so they available for the AI assistant.
To disable realtime sync, you can update the config. See [[CLI Reference#sync]].
To update Basic Memory when new versions are released:
# Update with uv (recommended)
uv tool upgrade basic-memory
# Or with pip
pip install --upgrade basic-memoryNote: After updating, you'll need to restart Claude Desktop and your sync process for changes to take effect.
By default, Basic Memory will create a project in the basic-memory folder in your home directory. You can change this via the project [[CLI Reference#project|cli command]].
# Add a new project
basic-memory project add work ~/work-basic-memory
# Set the default project
basic-memory project default work
# List all configured projects
basic-memory project list
If Claude cannot find Basic Memory tools:
- Check absolute paths: Ensure you're using complete absolute paths to uvx in the Claude Desktop configuration
- Verify installation: Run
basic-memory --versionin Terminal to confirm Basic Memory is installed - Restart applications: Restart both Terminal and Claude Desktop after making configuration changes
- Check sync status: You can view the sync status by running `basic-memory status .
If you encounter permission errors:
- Check that Basic Memory has access to create files in your home directory
- Ensure Claude Desktop has permission to execute the uvx command
-
Open Claude Desktop and start a new conversation.
-
Have a natural conversation about any topic:
You: "Let's talk about coffee brewing methods I've been experimenting with." Claude: "I'd be happy to discuss coffee brewing methods..." You: "I've found that pour over gives more flavor clarity than French press..." -
Ask Claude to create a note:
You: "Could you create a note summarizing what we've discussed about coffee brewing?" -
Confirm note creation: Claude will confirm when the note has been created and where it's stored.
-
View the created file in your
~/basic-memorydirectory using any text editor or Obsidian. The file structure will look similar to:--- title: Coffee Brewing Methods permalink: coffee-brewing-methods --- # Coffee Brewing Methods ## Observations - [method] Pour over provides more clarity... - [technique] Water temperature at 205°F... ## Relations - relates_to [[Other Coffee Topics]]
-
Start the sync process in a Terminal window (optional):
basic-memory sync --watch
Keep this running in the background.
Basic Memory includes special prompts that help you start conversations with context from your knowledge base:
To resume a previous topic:
You: "Let's continue our conversation about coffee brewing."
This prompt triggers Claude to:
- Search your knowledge base for relevant content about coffee brewing
- Build context from these documents
- Resume the conversation with full awareness of previous discussions
To see what you've been working on:
You: "What have we been discussing recently?"
This prompt causes Claude to:
- Retrieve documents modified in the recent past
- Summarize the topics and main points
- Offer to continue any of those discussions
To find specific information:
You: "Find information about pour over coffee methods."
Claude will:
- Search your knowledge base for relevant documents
- Summarize the key findings
- Offer to explore specific documents in more detail
See [[User Guide#Using Special Prompts]] for further information.
In future conversations, reference your existing knowledge:
You: "What water temperature did we decide was optimal for coffee brewing?"
Or directly reference notes using memory:// URLs:
You: "Take a look at memory://coffee-brewing-methods and let's discuss how to improve my technique."
Basic Memory enables continuous knowledge building:
- Reference previous discussions in new conversations
- Add to existing notes through conversations
- Create connections between related topics
- Follow relationships to build comprehensive context
Import your existing AI conversations:
# From Claude
basic-memory import claude conversations
# From ChatGPT
basic-memory import chatgptAfter importing, the changes will be synced. Initial syncs may take a few moments. You can see info about your project by running basic-memrory project info.
- Basic Memory will sync changes from your project in real time.
- Use special prompts (Continue Conversation, Recent Activity, Search) to start contextual discussions
- Build connections between notes for a richer knowledge graph
- Use direct
memory://URLs with a permalink when you need precise context. See [[User Guide#Using memory // URLs]] - Use git to version control your knowledge base (git integration is on the roadmap)
- Review and edit AI-generated notes for accuracy
After getting started, explore these areas:
- Read the [[User Guide]] for comprehensive usage instructions
- Understand the [[Knowledge Format]] to learn how knowledge is structured
- Set up [[Obsidian Integration]] for visual knowledge navigation
- Learn about [[Canvas]] visualizations for mapping concepts
- Review the [[CLI Reference]] for command line tools