NestDaddy

Memory Industry

io.github.LeandroPG19/memory-industry ยท v0.30.0

MemoryIndustry persistent memory MCP server: BM25+MMR retrieval and audit.

Connect Runs on your machine

Terminal
claude mcp add memory-industry -e DATABASE_URL=<DATABASE_URL> -e CUBA_PROJECT_FILTER=<CUBA_PROJECT_FILTER> -e CUBA_SYNC_DIR=<CUBA_SYNC_DIR> -e CUBA_JUDGE=<CUBA_JUDGE> -e CUBA_JUEZ_CLI=<CUBA_JUEZ_CLI> -e CUBA_JUEZ_MODEL=<CUBA_JUEZ_MODEL> -e CUBA_REM_RELATION_BATCH=<CUBA_REM_RELATION_BATCH> -e CUBA_RERANKER_PATH=<CUBA_RERANKER_PATH> -e CUBA_RERANK_FIXED_SHAPE=<CUBA_RERANK_FIXED_SHAPE> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "memory-industry": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "CUBA_PROJECT_FILTER": "<CUBA_PROJECT_FILTER>",
        "CUBA_SYNC_DIR": "<CUBA_SYNC_DIR>",
        "CUBA_JUDGE": "<CUBA_JUDGE>",
        "CUBA_JUEZ_CLI": "<CUBA_JUEZ_CLI>",
        "CUBA_JUEZ_MODEL": "<CUBA_JUEZ_MODEL>",
        "CUBA_REM_RELATION_BATCH": "<CUBA_REM_RELATION_BATCH>",
        "CUBA_RERANKER_PATH": "<CUBA_RERANKER_PATH>",
        "CUBA_RERANK_FIXED_SHAPE": "<CUBA_RERANK_FIXED_SHAPE>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "memory-industry": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "CUBA_PROJECT_FILTER": "<CUBA_PROJECT_FILTER>",
        "CUBA_SYNC_DIR": "<CUBA_SYNC_DIR>",
        "CUBA_JUDGE": "<CUBA_JUDGE>",
        "CUBA_JUEZ_CLI": "<CUBA_JUEZ_CLI>",
        "CUBA_JUEZ_MODEL": "<CUBA_JUEZ_MODEL>",
        "CUBA_REM_RELATION_BATCH": "<CUBA_REM_RELATION_BATCH>",
        "CUBA_RERANKER_PATH": "<CUBA_RERANKER_PATH>",
        "CUBA_RERANK_FIXED_SHAPE": "<CUBA_RERANK_FIXED_SHAPE>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "memory-industry": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "CUBA_PROJECT_FILTER": "<CUBA_PROJECT_FILTER>",
        "CUBA_SYNC_DIR": "<CUBA_SYNC_DIR>",
        "CUBA_JUDGE": "<CUBA_JUDGE>",
        "CUBA_JUEZ_CLI": "<CUBA_JUEZ_CLI>",
        "CUBA_JUEZ_MODEL": "<CUBA_JUEZ_MODEL>",
        "CUBA_REM_RELATION_BATCH": "<CUBA_REM_RELATION_BATCH>",
        "CUBA_RERANKER_PATH": "<CUBA_RERANKER_PATH>",
        "CUBA_RERANK_FIXED_SHAPE": "<CUBA_RERANK_FIXED_SHAPE>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
DATABASE_URL
Required
PostgreSQL connection URL (e.g. postgresql://user:pass@localhost:5432/brain)
CUBA_PROJECT_FILTER
Optional
Set to 'off' to disable v0.8 project scoping filters (admin/debug only).
CUBA_SYNC_DIR
Optional
Directory used by cuba_sync export/import (default ./.memory-industry/, falls back to ./.cuba-memorys/).
CUBA_JUDGE
Optional
cuba_juez backend selector: nli | mcp_sampling | claude_cli | heuristic | auto (default auto).
CUBA_JUEZ_CLI
Optional
Subprocess CLI used by ClaudeCodeJudge (default 'claude').
CUBA_JUEZ_MODEL
Optional
Model name passed to the judge backend (default 'claude-haiku-4-5').
CUBA_REM_RELATION_BATCH
Optional
Isolated entities the REM cycle scans for relations per run (default 5, 0 disables).
CUBA_RERANKER_PATH
Optional
Directory holding the bge-reranker ONNX model; enables cross-encoder reranking (+93% nDCG on GPU).
CUBA_RERANK_FIXED_SHAPE
Optional
Pad reranker batches to a constant 512 tokens. Defaults on for GPU builds, off on CPU.

Details

Package[email protected] (NPM, stdio)
Package[email protected] (PYPI, stdio)
Package[email protected] (NPM, stdio)
Package[email protected] (PYPI, stdio)
First published14 Oct 2026
Last updated14 Oct 2026
Registry nameio.github.LeandroPG19/memory-industry

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.