Koskamo

MemoryIndustry MCP

A persistent memory MCP server for AI agents written in Rust, backed by PostgreSQL and pgvector. It provides a knowledge graph for search and reasoning, supporting Hebbian learning, episodic memory, and contradiction detection to help agents retain context between sessions.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

MemoryIndustry MCP logo, by LeandroPG19Community listingLocal stdioSource reviewed; not executedPublished by LeandroPG19
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 30 GitHub stars

What you can do with it

  • Provide long-term memory for AI coding agents
  • Search and reason over a knowledge graph
  • Detect contradictions in agent memory
  • Enable Hebbian learning and episodic memory

Source and maintenance

Community listingRegistry 0.30.0Apache-2.0
Last repository push
Latest release
v0.30.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

memory-industry 0.30.0

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

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "memoryindustry-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "memory-industry@0.30.0"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "CUBA_PROJECT_FILTER": "<YOUR_CUBA_PROJECT_FILTER>",
        "CUBA_SYNC_DIR": "<YOUR_CUBA_SYNC_DIR>",
        "CUBA_JUDGE": "<YOUR_CUBA_JUDGE>",
        "CUBA_JUEZ_CLI": "<YOUR_CUBA_JUEZ_CLI>",
        "CUBA_JUEZ_MODEL": "<YOUR_CUBA_JUEZ_MODEL>",
        "CUBA_REM_RELATION_BATCH": "<YOUR_CUBA_REM_RELATION_BATCH>",
        "CUBA_RERANKER_PATH": "<YOUR_CUBA_RERANKER_PATH>",
        "CUBA_RERANK_FIXED_SHAPE": "<YOUR_CUBA_RERANK_FIXED_SHAPE>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "memoryindustry-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "memory-industry@0.30.0"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "CUBA_PROJECT_FILTER": "<YOUR_CUBA_PROJECT_FILTER>",
        "CUBA_SYNC_DIR": "<YOUR_CUBA_SYNC_DIR>",
        "CUBA_JUDGE": "<YOUR_CUBA_JUDGE>",
        "CUBA_JUEZ_CLI": "<YOUR_CUBA_JUEZ_CLI>",
        "CUBA_JUEZ_MODEL": "<YOUR_CUBA_JUEZ_MODEL>",
        "CUBA_REM_RELATION_BATCH": "<YOUR_CUBA_REM_RELATION_BATCH>",
        "CUBA_RERANKER_PATH": "<YOUR_CUBA_RERANKER_PATH>",
        "CUBA_RERANK_FIXED_SHAPE": "<YOUR_CUBA_RERANK_FIXED_SHAPE>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "memoryindustry-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memory-industry@0.30.0"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "CUBA_PROJECT_FILTER": "<YOUR_CUBA_PROJECT_FILTER>",
        "CUBA_SYNC_DIR": "<YOUR_CUBA_SYNC_DIR>",
        "CUBA_JUDGE": "<YOUR_CUBA_JUDGE>",
        "CUBA_JUEZ_CLI": "<YOUR_CUBA_JUEZ_CLI>",
        "CUBA_JUEZ_MODEL": "<YOUR_CUBA_JUEZ_MODEL>",
        "CUBA_REM_RELATION_BATCH": "<YOUR_CUBA_REM_RELATION_BATCH>",
        "CUBA_RERANKER_PATH": "<YOUR_CUBA_RERANKER_PATH>",
        "CUBA_RERANK_FIXED_SHAPE": "<YOUR_CUBA_RERANK_FIXED_SHAPE>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "memoryindustry-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "memory-industry@0.30.0"
      ],
      "env": {
        "DATABASE_URL": "<YOUR_DATABASE_URL>",
        "CUBA_PROJECT_FILTER": "<YOUR_CUBA_PROJECT_FILTER>",
        "CUBA_SYNC_DIR": "<YOUR_CUBA_SYNC_DIR>",
        "CUBA_JUDGE": "<YOUR_CUBA_JUDGE>",
        "CUBA_JUEZ_CLI": "<YOUR_CUBA_JUEZ_CLI>",
        "CUBA_JUEZ_MODEL": "<YOUR_CUBA_JUEZ_MODEL>",
        "CUBA_REM_RELATION_BATCH": "<YOUR_CUBA_REM_RELATION_BATCH>",
        "CUBA_RERANKER_PATH": "<YOUR_CUBA_RERANKER_PATH>",
        "CUBA_RERANK_FIXED_SHAPE": "<YOUR_CUBA_RERANK_FIXED_SHAPE>"
      }
    }
  }
}

Let your agent find its tools

Find servers like MemoryIndustry MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.