MCP Directory
Back

Matryoshka

by yogthos · TypeScript · ★ 131

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

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "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 →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related developer tools servers