home / mcp / basic memory mcp server
Provides a local-first MCP server to read and write a Markdown-based knowledge base with a bidirectional knowledge graph.
Configuration
View docs{
"mcpServers": {
"basicmachines-co-basic-memory": {
"command": "uvx",
"args": [
"basic-memory",
"mcp"
],
"env": {
"BASIC_MEMORY_LOG_LEVEL": "DEBUG"
}
}
}
}Basic Memory MCP Server lets you run a local, bidirectional knowledge graph that a compatible LLM can read from and write to using the Model Context Protocol. It enables persistent, Markdown-based knowledge stored on your machine while offering optional cloud features and cloud-based synchronization when you choose to use them.
You connect an MCP client (such as Claude Desktop) to the Basic Memory MCP server to read, write, and navigate your local knowledge base. The server runs locally and communicates through MCP, allowing the client to access and modify Markdown notes, manage the knowledge graph, and perform searches.
Typical usage flow:
Practical actions you can perform with the MCP server include creating notes, reading notes by title or permalink, examining raw content, viewing notes in a formatted form, editing notes incrementally, moving notes, and deleting notes. You can also build context across your knowledge graph, browse directories, and perform filtered searches.
{
"mcpServers": {
"basic_memory": {
"command": "uvx",
"args": ["basic-memory", "mcp"]
}
}
}Create or update notes with a title, content, folder, and tags.
Read notes by title or permalink.
Read raw file content, including text, images, and binaries.
View notes as formatted artifacts.
Edit notes incrementally with specified operation and content.
Move notes while maintaining database consistency.
Delete notes from the knowledge base.
Navigate the knowledge graph via memory:// URLs.
Find recently updated information within the graph.
Browse directory contents with optional filtering.
Search across your knowledge base.
Search notes with advanced filters and project scoping.
Perform structured frontmatter searches.
List all available projects.
Create new knowledge projects.
Show current project statistics.
Check synchronization status.
Show cloud overview and setup guidance.
Show latest release notes.
Generate knowledge visualizations of nodes and relations.