Local-first 3-in-1 AI memory layer & MCP server for Claude Code, Codex, Grok, Gemini, VS Code and Cursor. Fuses session history, codebase indexing & concept graphs in SQLite. Enables zero-cloud, privacy-first context & instant recall, supports multi-agent swarms.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add marm -- uvx marm-mcp-server~/.codex/config.toml
[mcp_servers.marm]
command = "uvx"
args = ["marm-mcp-server"]
# codex mcp add marm -- uvx marm-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"marm": {
"command": "uvx",
"args": [
"marm-mcp-server"
]
}
}
}.vscode/mcp.json
{
"servers": {
"marm": {
"type": "stdio",
"command": "uvx",
"args": [
"marm-mcp-server"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"marm": {
"command": "uvx",
"args": [
"marm-mcp-server"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"marm": {
"command": "uvx",
"args": [
"marm-mcp-server"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"marm": {
"command": "uvx",
"args": [
"marm-mcp-server"
]
}
}
}