Basic information
About Basic Memory MCP Server
Basic Memory is a knowledge management system that builds a persistent semantic graph in markdown, locally and securely.
Basic Memory is a MCP server in the Ai Ml category listed in the AddMCP.net directory, published by basicmachines-co. It exposes 17 tools, including delete_note, read_content, build_context, recent_activity and more. Supported transport: stdio. Runtime: Python. License: AGPL-3.0. The repository has 3,400 GitHub stars. Source code is hosted on github.com. Related topics: ai, ai-ml, claude, knowledge-management, knowlege-graph.
Setup
{
"mcpServers": {
"basic-memory": {
"command": "uvx",
"args": [
"basic-memory",
"mcp"
]
}
}
}
{
"mcpServers": {
"basic-memory": {
"command": "uvx",
"args": [
"basic-memory",
"mcp"
]
}
}
}
{
"servers": {
"basic-memory": {
"command": "uvx",
"args": [
"basic-memory",
"mcp"
]
}
}
}
Basic Memory MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"basic-memory": {
"command": "uvx",
"args": [
"basic-memory",
"mcp"
]
}
}
}
Basic Memory MCP Server tools
- delete_note — Delete a note by title or permalink
- read_content — Read a file's raw content by path or permalink
- build_context — Build context from a memory:// URI to continue conversations naturally. Use this to follow up on previous discussions or explore related topics. Memory URL Format: - Use paths like "folder/note" or "memory://folder/note" - Pattern matching: "folder/*" matches all notes in folder - Valid characters: letters, numbers, hyphens, underscores, forward slashes - Avoid: double slashes (//), angle brackets (<>), quotes, pipes (|) - Examples: "specs/search", "projects/basic-memory", "notes/*" Timeframes support natural language like: - "2 days ago", "last week", "today", "3 months ago" - Or standard formats like "7d", "24h"
- recent_activity — Get recent activity for a project or across all projects. Timeframe supports natural language formats like: - "2 days ago" - "last week" - "yesterday" - "today" - "3 weeks ago" Or standard formats like "7d"
- search_notes — Search across all content in the knowledge base with advanced syntax support.
- read_note — Read a markdown note by title or permalink.
- view_note — View a note as a formatted artifact for better readability.
- write_note — Create or update a markdown note. Returns a markdown formatted summary of the semantic content.
- canvas — Create an Obsidian canvas file to visualize concepts and connections.
- list_directory — List directory contents with filtering and depth control.
- edit_note — Edit an existing markdown note using various operations like append, prepend, find_replace, or replace_section.
- move_note — Move a note to a new location, updating database and maintaining links.
- list_memory_projects — List all available projects with their status. Shows all Basic Memory projects that are available for MCP operations. Use this tool to discover projects when you need to know which project to use. Use this tool: - At conversation start when project is unknown - When user asks about available projects - Before any operation requiring a project After calling: - Ask user which project to use - Remember their choice for the session Returns: Formatted list of projects with session management guidance Example: list_memory_projects()
- create_memory_project — Create a new Basic Memory project. Creates a new project with the specified name and path. The project directory will be created if it doesn't exist. Optionally sets the new project as default. Args: project_name: Name for the new project (must be unique) project_path: File system path where the project will be stored set_default: Whether to set this project as the default (optional, defaults to False) Returns: Confirmation message with project details Example: create_memory_project("my-research", "~/Documents/research") create_memory_project("work-notes", "/home/user/work", set_default=True)
- delete_project — Delete a Basic Memory project. Removes a project from the configuration and database. This does NOT delete the actual files on disk - only removes the project from Basic Memory's configuration and database records. Args: project_name: Name of the project to delete Returns: Confirmation message about project deletion Example: delete_project("old-project") Warning: This action cannot be undone. The project will need to be re-added to access its content through Basic Memory again.
- search — Search for content across the knowledge base
- fetch — Fetch the full contents of a search result document
Overview
What is Basic Memory?
Basic Memory is an MCP server that gives AI assistants persistent memory across sessions. It stores knowledge as Markdown files with a knowledge graph and semantic search, and works with Claude, Codex, Cursor, ChatGPT, and any MCP client.
How to use Basic Memory?
You can use Basic Memory via the cloud (30-second sign-up at basicmemory.com) or install locally with uv tool install basic-memory and configure your AI client with the command uvx basic-memory mcp. The cloud version handles hosting and sync; the local version runs on your disk.
Key features of Basic Memory
- Local-first, plain text Markdown on your disk
- Two-way sync between AI and human edits
- Real knowledge graph with observations and wikilinks
- Semantic search by meaning, not just keywords
- MCP-native, works with every major AI client
- Progressive tool discovery with behavior hints
Use cases of Basic Memory
- Continue AI conversations across sessions without losing context
- Build a shared team knowledge base that both humans and AI read and write
- Integrate persistent memory into coding assistants like Claude Code and Cursor
- Sync notes across devices using optional cloud or manual sync (Git, Syncthing)
Frequently asked questions
1 What’s the difference between cloud and local?
Cloud requires no install, offers cross-device sync and mobile access, and costs $15/mo. Local is free forever, runs on your disk, and works air-gapped.
2 What are the dependencies for local install?
Local install requires Python and the uv tool. The command uv tool install basic-memory installs Basic Memory.
3 Where is my data stored?
In the cloud version, data is hosted on Tigris S3 with snapshots and backups. In the local version, data is stored as plain Markdown files on your disk.
4 What transports and authentication does Basic Memory support?
It supports stdio (for local desktop clients) and HTTPS (for cloud clients). Cloud authentication is via the web app; local installs require no authentication.
5 Is Basic Memory open source?
Yes, the source code is licensed under AGPL-3.0. Both cloud and local versions use the same open-source engine.
Videos
Tutorials, guides, and showcases related to Basic Memory MCP Server. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In