Matryoshka MCP Server
yogthos/Matryoshka
[](https://agentrank-ai.com/tool/yogthos--Matryoshka/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge) MCP server for token-efficient large document analysis via the use of REPL state
claude mcp add agentrank -- npx -y agentrank-mcp-server Overview
yogthos/Matryoshka is a TypeScript MCP server licensed under Apache-2.0. MCP server for token-efficient large document analysis via the use of REPL state Topics: ai-assistant, document-analysis, llm, llm-tools, mcp, mcp-server, model-context-protocol.
Ranked #6408 out of 24846 indexed tools.
Ecosystem
Score Breakdown
150 stars → growing community
Last commit 5mo ago → stale
5/5 issues closed → responsive maintainer
5 contributors → small team
No dependents → no downstream usage
Weights: Freshness 20% · Issue Health 20% · Dependents 22% · Stars 10% · Contributors 8% · How we score →
How to Improve
Matched Queries
From the README
# Matryoshka Process documents 100x larger than your LLM's context window—without vector databases or chunking heuristics. ## The Problem 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). ## How It Works Unlike traditional approaches where an LLM writes arbitrary code, RLM uses **[Nucleus](https://github.com/michaelwhitford/nucleus)**—a constrained symbolic language based on S-expressions. The LLM outputs Nucleus commands, which are parsed, type-checked, and executed by **Lattice**, our logic engine. ``` ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │ User Query │────▶│ LLM Reasons │────▶│ Nucleus Command │ │ "total sales?" │ │ about intent │Read full README on GitHub →
Get the weekly AgentRank digest
Top movers, new tools, ecosystem insights — straight to your inbox.