MCP directory
MI

Memory Industry

by github.com/LeandroPG19 · v0.30.0 · updated Oct 14, 2026

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

npmPyPI

Run it locally

Install the package and point your AI client at it.

Environment variables

  • DATABASE_URLrequired

    PostgreSQL connection URL (e.g. postgresql://user:pass@localhost:5432/brain)

  • CUBA_PROJECT_FILTER

    Set to 'off' to disable v0.8 project scoping filters (admin/debug only).

  • CUBA_SYNC_DIR

    Directory used by cuba_sync export/import (default ./.memory-industry/, falls back to ./.cuba-memorys/).

  • CUBA_JUDGE

    cuba_juez backend selector: nli | mcp_sampling | claude_cli | heuristic | auto (default auto).

  • CUBA_JUEZ_CLI

    Subprocess CLI used by ClaudeCodeJudge (default 'claude').

  • CUBA_JUEZ_MODEL

    Model name passed to the judge backend (default 'claude-haiku-4-5').

  • CUBA_REM_RELATION_BATCH

    Isolated entities the REM cycle scans for relations per run (default 5, 0 disables).

  • CUBA_RERANKER_PATH

    Directory holding the bge-reranker ONNX model; enables cross-encoder reranking (+93% nDCG on GPU).

  • CUBA_RERANK_FIXED_SHAPE

    Pad reranker batches to a constant 512 tokens. Defaults on for GPU builds, off on CPU.

PyPI

uvx memory-industry==1.32.0

Environment variables

  • DATABASE_URLrequired

    PostgreSQL connection URL (e.g. postgresql://user:pass@localhost:5432/brain)

PyPI

uvx cuba-memorys==1.32.0

More from github.com/LeandroPG19

More MCP servers