MemoryIndustry persistent memory MCP server: BM25+MMR retrieval and audit.
Run one of the commands below, then pick your client in the next section.
npm
npx -y memory-industryPython
uvx memory-industrynpm
npx -y cuba-memorysPython
uvx cuba-memorys
Pick your client — the config below is generated for this server (local stdio).
claude_desktop_config.json
{
"mcpServers": {
"memory-industry": {
"command": "npx",
"args": [
"-y",
"memory-industry"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env DATABASE_URL=<YOUR_DATABASE_URL> memory-industry -- npx -y memory-industry
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"memory-industry": {
"command": "npx",
"args": [
"-y",
"memory-industry"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"memory-industry": {
"command": "npx",
"args": [
"-y",
"memory-industry"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"memory-industry": {
"command": "npx",
"args": [
"-y",
"memory-industry"
],
"env": {
"DATABASE_URL": "<YOUR_DATABASE_URL>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
DATABASE_URL required — 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).Distributed as npm, Python, listed under Knowledge & Memory. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/LeandroPG19/Memorys. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/memory-industry/)
HTML
<a href="https://mcpnav.net/server/memory-industry/"><img src="https://mcpnav.net/badge/memory-industry.svg" alt="Listed on MCPNav" height="20"></a>