home / mcp / basic memory mcp server
Provides a local-first MCP server that enables LLMs to read and write to your Markdown-based knowledge base.
Configuration
View docs{
"mcpServers": {
"basicmachines-co-basic-memory": {
"command": "uvx",
"args": [
"basic-memory",
"mcp"
]
}
}
}Basic Memory MCP Server lets your local knowledge graph be read from and written to by compatible LLMs through the Model Context Protocol. It enables persistent, bidirectional knowledge editing with local Markdown notes, indexed for fast search, and optional cloud synchronization. You can drive conversation-based note creation, semantic linking, and structured exploration of your notes across sessions and tools.
Connect your MCP client (Claude Desktop or other MCP-enabled tools) to the Basic Memory MCP Server. You will run the local MCP endpoint and then configure your client to talk to it. Once connected, you can create notes, read notes, and traverse your knowledge graph with natural language prompts.
Use the available MCP tools to manage your notes and explore relationships. You can create notes during conversations, read and edit notes, and navigate between related topics using simple links in your Markdown-backed knowledge base.
Configure Claude Desktop to connect to Basic Memory so Claude can read and write to your local notes.
{
"mcpServers": {
"basic-memory": {
"command": "uvx",
"args": [
"basic-memory",
"mcp"
]
}
}
}If you prefer automatic configuration for Claude Desktop, you can use Smithery. This installs and configures Basic Memory without manual edits to Claude Desktop.
npx -y @smithery/cli install @basicmachines-co/basic-memory --client claudeThe following tools are available for content management, navigation, search, and project handling. Use natural language prompts to invoke them.
Create or update notes in the knowledge base from conversations with the LLM.
Read notes by title or permalink to surface relevant context in a chat.
Read raw file content (text, images, binaries) from the knowledge base.
View notes as formatted artifacts within the MCP-enabled client.
Edit notes incrementally within the knowledge base via MCP commands.
Move notes to a different folder while maintaining database consistency.
Delete notes from the knowledge base.
Navigate the knowledge graph using memory:// URLs to fetch related context.
Query recently updated information within a specified scope.
Browse directory contents of the knowledge base with optional filtering.
Search across your knowledge base for matching content.
List all available projects managed by Basic Memory.
Create a new knowledge project with a given name and path.
Show current project statistics and status.
Check synchronization status between local files and the knowledge graph.
Generate visualizations of your knowledge graph to aid understanding.