Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

cognitive-ai-memory

local MCP server

cognitive-ai-memory is a local MCP server: Ebbinghaus-based persistent memory for Claude. Memories decay with time, strengthen on recall. Install it from oci as ghcr.io/your-memory/cognitive-ai-memory:1.0.2.

Installation

Terminal

claude mcp add cognitive-ai-memory -e DATABASE_URL=... -e OLLAMA_URL=... -e EXTRACT_MODEL=... -- docker run -i --rm ghcr.io/your-memory/cognitive-ai-memory:1.0.2

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

{
  "mcpServers": {
    "cognitive-ai-memory": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/your-memory/cognitive-ai-memory:1.0.2"
      ],
      "env": {
        "DATABASE_URL": "...",
        "OLLAMA_URL": "...",
        "EXTRACT_MODEL": "..."
      }
    }
  }
}

Fill in the environment variables with your own credentials.

What you need

  • Runtime: Docker.
  • MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
  • Environment variables: DATABASE_URL, OLLAMA_URL, EXTRACT_MODEL

Summary

Ebbinghaus-based persistent memory for Claude. Memories decay with time, strengthen on recall.

cognitive-ai-memory vs similar servers

ServerStarsTypeAPI keyRuntime
cognitive-ai-memory270LocalYesoci
YourMemory270LocalYespypi
token-savior1,157LocalYespypi
neural-memory240LocalNonpm
Knowl114HostedNoNone

Questions

It reads 3 environment variables: DATABASE_URL, OLLAMA_URL, EXTRACT_MODEL. Set them in your MCP config before starting the server.

Docker, plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.

cognitive-ai-memory is a local MCP server distributed as the oci package ghcr.io/your-memory/cognitive-ai-memory:1.0.2.

Run: claude mcp add cognitive-ai-memory -e DATABASE_URL=... -e OLLAMA_URL=... -e EXTRACT_MODEL=... -- docker run -i --rm ghcr.io/your-memory/cognitive-ai-memory:1.0.2

Run: codex mcp add cognitive-ai-memory --env DATABASE_URL=... --env OLLAMA_URL=... --env EXTRACT_MODEL=... -- docker run -i --rm ghcr.io/your-memory/cognitive-ai-memory:1.0.2

Similar MCP servers

NameStars
  1. YourMemoryio.github.sachitrafa/yourmemory270
  2. token-saviorio.github.Mibayy/token-savior1,157
  3. neural-memoryio.github.nhadaututtheky/neural-memory240
  4. Knowlio.github.dat999zx/knowl114
  5. DeepMemio.github.deepmemteam/deepmem114
  6. memory-mcpio.github.yuvalsuede/memory-mcp98
  7. Total Agent Memoryio.github.vbcherepanov/total-agent-memory72
  8. Montycat MCP - Shared Memory for AI Agentsio.github.MontyGovernance/montycat-mcp65