From second-brain-memory
Persistent memory for Claude Code over your own markdown notes: vector + wikilink-graph recall on plain SQLite. Needs TURNSTATE_DB and BRAIN_INDEX_DIR.
Ships in second-brain-memory. Installing the plugin adds it to Claude Code.
Copy this JSON into your .mcp.json to enable this server
Add to your .mcp.json:
{
"mcpServers": {
"sgm-mcp": {
"command": "uvx",
"args": [
"--python",
"3.12",
"--with",
"sqlite-graph-memory[lite]>=0.3.6,<0.4",
"sqlite-graph-memory"
],
"env": {
"TURNSTATE_DB": "${CLAUDE_PLUGIN_DATA}/turnstate.db",
"BRAIN_INDEX_DIR": "${user_config.index_dir}"
}
}
}
}Declared capabilities of this MCP server
Environment variables set when the server starts
TURNSTATE_DB=${CLAUDE_PLUGIN_DATA}/turnstate.dbBRAIN_INDEX_DIR=${user_config.index_dir}Command-line arguments passed to the server process
Server configuration and connection parameters
uvxnpx claudepluginhub tonydzi/second-brain-starter-kit --plugin second-brain-memory