shodh-memory

v0.2.0
io.github.varun29ankuS/shodh-memory Checked 11 hours ago Published 7 months ago

Cognitive memory for AI agents — semantic search, Hebbian learning, knowledge graphs.

Runs scripts at install time.

Values you need

VariableWhat it is
SHODH_API_URLoptional URL of the shodh-memory backend server Default: http://127.0.0.1:3030
SHODH_API_KEYoptional secret API key for authentication
SHODH_USER_IDoptional User ID for memory isolation Default: default

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add shodh-memory -- npx -y --package=@shodh/memory-mcp@0.2.0 shodh-memory-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "shodh-memory": {
      "args": [
        "-y",
        "--package=@shodh/memory-mcp@0.2.0",
        "shodh-memory-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "shodh-memory": {
      "args": [
        "-y",
        "--package=@shodh/memory-mcp@0.2.0",
        "shodh-memory-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "shodh-memory": {
      "args": [
        "-y",
        "--package=@shodh/memory-mcp@0.2.0",
        "shodh-memory-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.shodh-memory]
command = "npx"
args = ["-y", "--package=@shodh/memory-mcp@0.2.0", "shodh-memory-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: remember, recall, recall_by_tags, context_summary, list_memories, forget, memory_stats, verify_index, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json