lattice-mcp
MCP server exposing direct Nucleus commands (no LLM required)
How to use it
Project documentation lists lattice-mcp for the Matryoshka MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Matryoshka
npx matryoshka-rlm "How many ERROR entries are there?" ./server.logOther tools in Matryoshka (18)
Show current variable bindings and memo labels
Close the session and free memory
Expand a handle to see full data (with optional limit/offset)
Get Nucleus command reference
Respond to a pending (llmbatch ...) suspension with all N responses
Respond to a pending (llmquery ...) suspension
Load a document for analysis
Store arbitrary context as a memo handle (no document required)
Delete a stale memo to free memory
Execute Nucleus commands on the loaded document
Reset all bindings and memos but keep document loaded
Get session status, document info, and memo usage
HTTP server for Nucleus queries
Pipe adapter for programmatic access
Interactive REPL for Nucleus commands
Setup script for Claude Code integration
Main CLI for document analysis with LLM reasoning
MCP server with full RLM + LLM orchestration (analyzedocument tool)