Best for
- Users analyzing text that exceeds a model's context window.
- Developers who want constrained document operations through Nucleus commands.
- Agent workflows that store context in session memos and expand it later.
The README describes a document-analysis MCP server built around the Nucleus DSL and provides a stdio configuration example and tool list. The server manifest was not provided, so other transports and client compatibility cannot be confirmed.
Strongest · Documentation 14/20 Weakest · Maintenance 8/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js
DEEPSEEK_API_KEY
Optional DeepSeek API key used when the DeepSeek provider is selected in configuration.
ZHIPU_API_KEY
Optional Zhipu API key used when the GLM provider is selected in configuration.
The README gives a global npm package installation command: pnpm add -g matryoshka-rlm. Its example client configuration uses stdio with the command lattice-mcp.
{"mcp":{"lattice":{"type":"stdio","command":"lattice-mcp"}}}
Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.
{
"mcp": {
"lattice": {
"type": "stdio",
"command": "lattice-mcp"
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
{
"mcp": {
"lattice": {
"type": "stdio",
"command": "lattice-mcp"
}
}
}
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
Confirm that lattice_load, lattice_query, and lattice_status appear in the client's tool list. Call lattice_status to inspect the session, then load a document and query it to confirm a result or handle is returned.
Once connected, you can ask your AI assistant things like:
No matching tools
Matryoshka provides MCP document analysis using the Nucleus symbolic language and the Lattice engine. Query results can be stored server-side and returned as compact handles. The README also describes memos, code-symbol extraction, and approximate code relationship graphs.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision ccf3ca05855f Data synced 2026-12-05 Read the FMRS scoring method Markdown