Memorix MCP server
{
"mcpServers": {
"avids2-memorix": {
"command": "npx",
"args": [
"-y",
"memorix@latest"
],
"env": {
"OPENROUTER_API_KEY": "<openrouter_api_key>",
"MEMORIX_EMBEDDING_API_KEY": "<memorix_embedding_api_key>",
"MINIMAX_API_KEY": "<minimax_api_key>",
"MINIMAX_CN_API_KEY": "<minimax_cn_api_key>"
}
}
}
}{
"mcpServers": {
"avids2-memorix": {
"command": "npx",
"args": [
"-y",
"memorix@latest"
],
"env": {
"OPENROUTER_API_KEY": "<openrouter_api_key>",
"MEMORIX_EMBEDDING_API_KEY": "<memorix_embedding_api_key>",
"MINIMAX_API_KEY": "<minimax_api_key>",
"MINIMAX_CN_API_KEY": "<minimax_cn_api_key>"
}
}
}
}{
"mcpServers": {
"avids2-memorix": {
"command": "npx",
"args": [
"-y",
"memorix@latest"
],
"env": {
"OPENROUTER_API_KEY": "<openrouter_api_key>",
"MEMORIX_EMBEDDING_API_KEY": "<memorix_embedding_api_key>",
"MINIMAX_API_KEY": "<minimax_api_key>",
"MINIMAX_CN_API_KEY": "<minimax_cn_api_key>"
}
}
}
}{
"servers": {
"avids2-memorix": {
"command": "npx",
"args": [
"-y",
"memorix@latest"
],
"env": {
"OPENROUTER_API_KEY": "${input:openrouter_api_key}",
"MEMORIX_EMBEDDING_API_KEY": "${input:memorix_embedding_api_key}",
"MINIMAX_API_KEY": "${input:minimax_api_key}",
"MINIMAX_CN_API_KEY": "${input:minimax_cn_api_key}"
}
}
},
"inputs": [
{
"id": "openrouter_api_key",
"type": "promptString",
"description": "Openrouter api key",
"password": true
},
{
"id": "memorix_embedding_api_key",
"type": "promptString",
"description": "Memorix embedding api key",
"password": true
},
{
"id": "minimax_api_key",
"type": "promptString",
"description": "Minimax api key",
"password": true
},
{
"id": "minimax_cn_api_key",
"type": "promptString",
"description": "Minimax cn api key",
"password": true
}
]
}{
"mcpServers": {
"avids2-memorix": {
"command": "npx",
"args": [
"-y",
"memorix@latest"
],
"env": {
"OPENROUTER_API_KEY": "<openrouter_api_key>",
"MEMORIX_EMBEDDING_API_KEY": "<memorix_embedding_api_key>",
"MINIMAX_API_KEY": "<minimax_api_key>",
"MINIMAX_CN_API_KEY": "<minimax_cn_api_key>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y memorixversion 1.9.0
What it does
Memorix is a local-first project memory system for AI coding agents that persists across chat sessions, IDE switches, and agent changes. It stores searchable facts, session summaries, git-derived insights, and reasoning about design decisions, accessible through MCP and CLI tools.
- Retrieve project context and decisions from previous agent sessions without re-explaining the codebase.
- Search for implementation notes, gotchas, and fixes that were discovered in past work on the same Git project.
- Coordinate multi-agent work by storing task context, handoffs, and verification state in a shared local memory pool.
Tools this server exposes
| Tool | Does |
|---|---|
| memorix_project_context | Expose project context through environment variables or CLI output for agent use. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.