← Index

Lex

io.github.Guffawaffle/lex·v1.0.2·Memory & RAG
Quality Score
83
/100

Episodic memory and architectural policy for AI agents. Frames, Atlas, and Policy.

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "lex": {
      "command": "npx",
      "args": [
        "-y",
        "@smartergpt/lex-mcp"
      ],
      "env": {
        "LEX_WORKSPACE_ROOT": "<lex_workspace_root>",
        "LEX_MEMORY_DB": "<lex_memory_db>",
        "LEX_DEBUG": "<lex_debug>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "lex": {
      "command": "npx",
      "args": [
        "-y",
        "@smartergpt/lex-mcp"
      ],
      "env": {
        "LEX_WORKSPACE_ROOT": "<lex_workspace_root>",
        "LEX_MEMORY_DB": "<lex_memory_db>",
        "LEX_DEBUG": "<lex_debug>"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y @smartergpt/lex-mcp
§02  Environment variables
LEX_WORKSPACE_ROOT

Root directory for the workspace. Defaults to current working directory.

LEX_MEMORY_DB

Path to SQLite database file. Defaults to .smartergpt/lex/lex.db in workspace root.

LEX_DEBUG

Set to any value to enable debug logging to stderr.

§03  MCP Quality Score  ·  methodology
freshness
18
completeness
15
installability
25
documentation
15
stability
10
§04  Alternatives in Memory & RAG