MCP Directory
Back

Matryoshka

by yogthos · TypeScript · ★ 142

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

#ai-assistant#document-analysis#llm#llm-tools#mcp#mcp-server#model-context-protocol

Install

npx -y github:yogthos/Matryoshka

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

{
  "mcpServers": {
    "matryoshka": {
      "command": "npx",
      "args": [
        "-y",
        "github:yogthos/Matryoshka"
      ]
    }
  }
}

From the README

[](https://github.com/yogthos/Matryoshka/actions/workflows/test.yml) [](https://safeskill.dev/scan/yogthos-matryoshka) Process documents 100x larger than your LLM's context window—without vector databases or chunking heuristics. LLMs have fixed context windows. Traditional solutions (RAG, chunking) lose information or miss connections across chunks. RLM takes a different approach: the model reasons about your query and outputs symbolic commands that a logic engine executes against the document. Based on the [Recursive Language Models paper](https://arxiv.org/abs/2512.24601). Unlike traditi…
Read full README on GitHub →

Related ai & ml servers