Skip to content
Claude Code

Lex for Claude Code

io.github.guffawaffle/lex

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

client:Claude Code transport:stdio runtime:npm

Install Lex in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add lex -e LEX_WORKSPACE_ROOT=<LEX_WORKSPACE_ROOT> -e LEX_MEMORY_DB=<LEX_MEMORY_DB> -e LEX_DEBUG=<LEX_DEBUG> -- npx -y @smartergpt/lex-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Lex in other clients