Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

Cuba Memorys

von LeandroPG19Version 0.24.0i★ –iLäuft auf deinem Computer
Name in der Registryio.github.LeandroPG19/cuba-memorys

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

Persistent memory MCP server. 28 tools, BM25+MMR+OOD retrieval, tamper-evident audit, code graph.

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Suche & KI-Gedächtnis
  • Das musst du eintragen: DATABASE_URL, ANTHROPIC_API_KEY

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Das trägst du selbst ein: DATABASE_URL, CUBA_PROJECT_FILTER, CUBA_SYNC_DIR, CUBA_JUDGE, CUBA_JUEZ_CLI, CUBA_JUEZ_MODEL, ANTHROPIC_API_KEY, CUBA_REM_RELATION_BATCH, CUBA_RERANKER_PATH, CUBA_RERANK_FIXED_SHAPE

Als geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.

Du brauchst

  • npmNode.js installiert (für den Befehl npx)

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

{
  "mcpServers": {
    "cuba-memorys": {
      "command": "npx",
      "args": [
        "-y",
        "cuba-memorys"
      ],
      "env": {
        "DATABASE_URL": "your-value",
        "CUBA_PROJECT_FILTER": "your-value",
        "CUBA_SYNC_DIR": "your-value",
        "CUBA_JUDGE": "your-value",
        "CUBA_JUEZ_CLI": "your-value",
        "CUBA_JUEZ_MODEL": "your-value",
        "ANTHROPIC_API_KEY": "your-value",
        "CUBA_REM_RELATION_BATCH": "your-value",
        "CUBA_RERANKER_PATH": "your-value",
        "CUBA_RERANK_FIXED_SHAPE": "your-value"
      }
    }
  }
}

Führe das in deinem Terminal aus

claude mcp add cuba-memorys --env DATABASE_URL=your-value --env CUBA_PROJECT_FILTER=your-value --env CUBA_SYNC_DIR=your-value --env CUBA_JUDGE=your-value --env CUBA_JUEZ_CLI=your-value --env CUBA_JUEZ_MODEL=your-value --env ANTHROPIC_API_KEY=your-value --env CUBA_REM_RELATION_BATCH=your-value --env CUBA_RERANKER_PATH=your-value --env CUBA_RERANK_FIXED_SHAPE=your-value -- npx -y cuba-memorys

Trag die leeren Werte ein, bevor du ihn startest.

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "mcpServers": {
    "cuba-memorys": {
      "command": "npx",
      "args": [
        "-y",
        "cuba-memorys"
      ],
      "env": {
        "DATABASE_URL": "your-value",
        "CUBA_PROJECT_FILTER": "your-value",
        "CUBA_SYNC_DIR": "your-value",
        "CUBA_JUDGE": "your-value",
        "CUBA_JUEZ_CLI": "your-value",
        "CUBA_JUEZ_MODEL": "your-value",
        "ANTHROPIC_API_KEY": "your-value",
        "CUBA_REM_RELATION_BATCH": "your-value",
        "CUBA_RERANKER_PATH": "your-value",
        "CUBA_RERANK_FIXED_SHAPE": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "servers": {
    "cuba-memorys": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cuba-memorys"
      ],
      "env": {
        "DATABASE_URL": "your-value",
        "CUBA_PROJECT_FILTER": "your-value",
        "CUBA_SYNC_DIR": "your-value",
        "CUBA_JUDGE": "your-value",
        "CUBA_JUEZ_CLI": "your-value",
        "CUBA_JUEZ_MODEL": "your-value",
        "ANTHROPIC_API_KEY": "your-value",
        "CUBA_REM_RELATION_BATCH": "your-value",
        "CUBA_RERANKER_PATH": "your-value",
        "CUBA_RERANK_FIXED_SHAPE": "your-value"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Werte, die du selbst einträgst

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

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 7. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto LeandroPG19 bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Suche & KI-Gedächtnisi

  • Mehr Sterne als 0 % der anderen 7270 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 31 % der anderen 7270 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 7270 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist Cuba Memorys sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Das musst du eintragen: DATABASE_URL, ANTHROPIC_API_KEY

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.24.0) kam vor 3 Monaten in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Node.js, Python (uv) auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: Context7, Codebase Memory, Exa

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

Context7

von upstash

Up-to-date docs for AI agents

Computer oder Cloud★ 64.224MITAktualisiert gestern
Installieren

Codebase Memory

von DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

Läuft auf deinem Computer★ 48.148MITAktualisiert vor 21 Tagen
Installieren

Exa

von exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

Läuft in der Cloud★ 5.213MITAktualisiert letzten Monat
Installieren

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

MemoryIndustry

Formerly cuba-memorys. Same daemon, same cuba_* MCP tools, new product name.

Long-term memory for AI coding agents. An MCP server that gives your agent a knowledge graph it can search, reason over, and be corrected by — so it stops forgetting your codebase between sessions.

Written in Rust. Backed by PostgreSQL + pgvector. 31 MCP tools (32 with CUBA_DOCS=1), 28 CLI commands, and every number below measured on a benchmark that — as of v0.12 — actually measures what it claims to. (The previous one did not. See Measured.)


Install

pip install memory-industry        # or: npm install -g memory-industry

claude mcp add memory-industry -- memory-industry

Previous names still install the same binary:

pip install cuba-memorys

npm install -g cuba-memorys

That is the whole setup. On first run it provisions a PostgreSQL 18 + pgvector container via Docker and initializes the schema. [Docker](https://docs.docker.com/get-docker/) must be running. The cuba-memorys command remains a binary alias.

Cursor / Windsurf / VS Code / Zed

{

"mcpServers": { "memory-industry": { "command": "memory-industry" } } }

No DATABASE_URL needed. Or run cuba-memorys setup (or memory-industry setup) and it writes the config for every client it finds — then cuba-memorys setup check audits them for disagreement, which is the failure that actually bites (two configs, two embedding dimensions, one silently broken search).

Bring your own PostgreSQL

{

"mcpServers": { "memory-industry": { "command": "memory-industry", "env": { "DATABASE_URL": "postgresql://user:pass@localhost:5432/brain" } } } }

Needs the `vector` and `pg_trgm` extensions. `cuba-memorys doctor` will tell you if anything is missing.

One shared daemon instead of one process per client

stdio gives every client its own process, and every process loads its own copy of the models — embeddings, reranker and NLI together are several GB. Three editor windows meant three copies, and on a 16 GB laptop that is the whole machine.

serve loads them once and answers every client over loopback HTTP, which is also the shape the 2026-07-28 MCP specification settled on: no session handshake, every request self-describing.

cuba-memorys serve                      # 127.0.0.1:8787 by default

cuba-memorys serve 127.0.0.1:9000 # or pick the address

memory-industry serve is the same command. Point every client at it, and give each one its own Mcp-Client-Id so their sessions stay separate — without it jornada start in one window becomes the active session of the next:

{

"mcpServers": { "memory-industry": { "type": "http", "url": "http://127.0.0.1:8787/mcp", "headers": { "Mcp-Client-Id": "editor-window-1" } } } }

GET /health reports uptime, database reachability and how many clients have been seen. status is three-valued — ok, starting, degraded — and the code is always 200: a 503 would take out of rotation a daemon that still serves lexical search and still serves the one endpoint that can explain what is wrong. Alert on status, not on the code.

GET /identity and POST /pair are how a client finds out that the daemon it reached is the right one and pairs with it. GET /identity answers {service, host_id, name} to anyone and, given a credential id and a nonce, a proof only a host that holds that credential's hash can compute (or revoked / unknown, with no proof). POST /pair redeems a pairing code and answers a MAC only a host that knows the code can compute. Both refuse a request that carries a forwarding header or a foreign Origin, /pair takes at most 4 KiB, answers every failure with the same 401 {"error":"pairing failed"}, and counts its failures in the same per-address brake as /mcp (10 per minute).

With CUBA_HTTP_TOKEN in an Authorization: Bearer header the answer also carries runtime: mode, resource_tier, {state, device, reason} for the embedder, reranker and NLI — device is where the session actually opened (gpu, or cpu with the provider's cause in reason when the GPU provider refused to start) and null for a model that has no session yet or never opened one — gpu{build, degraded, placement}, where placement is only what the plan asked for and degraded also turns true when a provider refused, and llm{configured, backend, model, base_url} — which is how you find out where the reranker is actually running without reading the source. Without the token none of that is served, and neither is graph_db.last_error, which can name an internal host and port. No key, no DATABASE_URL and no model path is ever printed, with or without a token.

The token is mandatory if you bind anything other than loopback — the daemon serves the entire graph with no authentication by default — and on a routable address it must be at least 32 characters.

The port opens first, then the models load, and only then does the daemon announce itself and start serving. Binding first keeps the cheap diagnosis — a second daemon on the same port fails immediately instead of spending two minutes loading before it finds out — and connections that arrive during the load queue in the kernel backlog, so a client waits and gets a real answer rather than a refused connection. If the load overruns MEMORY_INDUSTRY_WARM_BEFORE_SERVE_SECS (180 s) the daemon serves anyway, /health says starting, and every search asking for reranking comes back marked degraded. Under stdio a client that gives up at 30 s without closing stdin used to leave an abandoned multi-GB process holding every model it had loaded; stdio now exits if no handshake arrives within MEMORY_INDUSTRY_HANDSHAKE_TIMEOUT_SECS (60 s, 0 or off disables).

That queue only helps a client that can outwait the load: one whose own budget is shorter — a sync peer gives up after CUBA_HANDLER_TIMEOUT_SECS (30 s) — still cuts the call, and cuts it seeing a timeout instead of a refused connection, which is the better diagnosis but is not the real answer the queue was there to buy. /health is what says which of the two states the daemon is in, and it answers two different questions. That it answers at all means the port is served, which is everything a caller needs when what it is about to call does not touch the models — a sync fetch moves rows. That it answers ready: true means the models finished loading as well, which is what to wait for before a search that asks for reranking, or when the first search must not be the one that pays for the load. The first wait is bounded and the second is not: the daemon opens within MEMORY_INDUSTRY_WARM_BEFORE_SERVE_SECS whatever the models are doing, but a warm-up that overruns that ceiling keeps serving everything with ready: false for as long as it takes, so ready: true can fail to arrive on a daemon that is answering perfectly. Wait on it without a ceiling of your own and you hang on a healthy machine.

Semantic embeddings & models (recommended)

Without a model, embeddings are hash-based: deterministic, and semantically meaningless. Search still works through the lexical and BM25 branches, but nothing understands *meaning*.

One command installs the models and the ONNX runtime, on any OS — no shell scripts, no manual ORT_DYLIB_PATH:

cuba-memorys models all          # embeddings + NLI + reranker + runtime

cuba-memorys models embed # just the embeddings model (~113 MB) cuba-memorys models all --gpu # GPU runtime, if you have one cuba-memorys doctor # confirms what loaded

Everything lands in ~/.cache/memory-industry/ (or in ~/.cache/cuba-memorys/ on an install from before the rename) and is found automatically. models downloads only when you run it — nothing is fetched behind your back. A download goes to .downloading first and becomes only once every file is down and verified, so a failed one leaves no empty directory for the loaders to pick.

Moving an old cache under the new name. The ~/.cache/cuba-memorys/ root is still read for this release, but each file decides between the two roots on its own, and one entry created under the new name — pgpass_app at startup, undo/ from delete — is enough for models to download again what the old root already holds. doctor warns while the old root has anything in it. One command moves it:

memory-industry cache migrate            # the plan: touches nothing

memory-industry cache migrate --apply # moves it

An entry only in the old root moves; one identical in both loses its old copy. One that differs keeps the copy the binary reads today — for pgpass_app the one next to the pgpass in use, for a model directory the one that actually holds the model — and the other is set aside as .legacy-YYYYMMDD in the new root, never deleted. A file another process holds (on Windows, the runtime a running daemon loaded) is skipped and the command exits non-zero: stop the daemon and run it again. What already moved stays moved, and a second run says there is nothing to migrate.

bge-m3 (1024-d) is better than e5-small for Spanish, though the size of the gap is no longer claimed (the old +21 nDCG figure came from a broken benchmark). It needs a dimension migration (scripts/migrate-embedding-dim.sh 1024) and CUBA_EMBED_MODEL=bge-m3 CUBA_POOLING=cls.

Modes: local · red · completo

CUBA_MODE is a preset that sets the database, the models, and outbound network together, so you pick one name instead of lining up a dozen env vars:

CUBA_MODEDatabaseCapabilitiesNetwork out
local (default)Docker on this machineembeddings + NLI as installednone
redshared managed Postgres (set DATABASE_URL with sslmode=require)+ provenance per node, real-time sync between machinesnone
completowhatever DATABASE_URL implies+ reranker (GPU if present) + `cuba_docs`cuba_docs

Two machines, one memory. Point both at the same managed Postgres (Neon or Supabase free tier both have pgvector and fit the 36 MB corpus many times over), give each a name with CUBA_NODE_NAME, and CUBA_MODE=red. What one writes, the other reads; every memory records which machine it came from (origin_node). Without a shared database, cuba_sync does the same job through a git repository — se

Nur der Anfang wird gezeigt; den Rest findest du im Repo

PopNx fragen