matryoshka-rlm

general MCP Server

MCP server for token-efficient large document analysis via the use of REPL state

VerifiedInstall Ready
generalgeneral
3 views138 stars16 forksv0.2.39Apache-2.0

Why This Matters

Discovered via github-seeds and last synced 3mo ago.

VerifiedInstall Ready
Source
github-seeds
Stars
138
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npx matryoshka-rlm

2. Add to claude_desktop_config.json

{
  "mcpServers": {
    "matryoshka-rlm": {
      "command": "npx",
      "args": [
        "matryoshka-rlm"
      ]
    }
  }
}

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) / %APPDATA%\Claude\claude_desktop_config.json (Windows)

29
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (29)

Component

Purpose

Tool

Description

Field

Required

extensions

Yes

moduleExport

No

package

Yes

symbols

Yes

lattice_bindings

Show current variable bindings and memo labels

lattice_reset

Reset all bindings and memos but keep document loaded

lattice_help

Get Nucleus command reference

Command

Description

rlm

Main CLI for document analysis with LLM reasoning

lattice_query

Execute Nucleus commands on the loaded document

lattice-mcp

MCP server exposing direct Nucleus commands (no LLM required)

lattice_memo

Store arbitrary context as a memo handle (no document required)

rlm-mcp

MCP server with full RLM + LLM orchestration (`analyze_document` tool)

lattice_llm_respond

Respond to a pending `(llm_query ...)` suspension

Feature

`runRLM` (CLI / programmatic)

lattice-pipe

Pipe adapter for programmatic access

lattice_close

Close the session and free memory

lattice-http

HTTP server for Nucleus queries

lattice_memo_delete

Delete a stale memo to free memory

lattice_load

Load a document for analysis

compactionThresholdChars

✅

lattice-setup

Setup script for Claude Code integration

lattice_status

Get session status, document info, and memo usage

lattice_expand

Expand a handle to see full data (with optional limit/offset)

lattice_llm_batch_respond

Respond to a pending `(llm_batch ...)` suspension with all N responses

lattice-repl

Interactive REPL for Nucleus commands