Reduces oversized MCP responses by storing full results locally and returning previews with on-demand expansion handles.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Claw Tsaver.
Yang1Bai/claw-tsaver MCP server is a local MCP proxy for OpenClaw setups. It sits between the client and downstream MCP servers such as fetch-based tools, forwards tool calls, and examines the returned content. Responses above the configured size threshold are stored locally instead of being sent to the model in full.
For an oversized response, the proxy returns a compact result containing a beginning preview, an ending preview, and a handle for later expansion. The model can call expand_content with that handle to retrieve the stored content. Responses below the threshold are not described as being compressed or rewritten.
The project is intended to reduce context usage from large HTML or JSON results. Its documented benchmark reduced a Wikipedia fetch from 11,507 original tokens to 104 returned tokens, or 99.1 percent saved. That measurement was made with OpenClaw, Claude Sonnet 4.6, and mcp-server-fetch.
Yang1Bai/claw-tsaver MCP server receives a tool call from OpenClaw and forwards it to the configured downstream server. It counts the returned content with a token-counting step and compares the result with compression_threshold_tokens. When the threshold is exceeded, the complete response is written to a local SQLite database. Only the preview fields and expansion handle are returned to the client.
A later expand_content call uses the handle to return the full stored response. This lazy-expansion flow lets the model decide whether the complete payload is necessary rather than automatically placing it in the conversation context.
The documented setup uses uv. The first run of claw-tsaver-mcp creates a configuration template under ~/.claw-tsaver/config.json. The configuration contains a downstream_servers list, where each entry defines a name, command, and argument list for a downstream MCP server. It also accepts compression_threshold_tokens; the example sets this value to 500.
OpenClaw registers the proxy as an MCP server with uvx --from git+https://github.com/Yang1Bai/claw-tsaver claw-tsaver-mcp. After adding the entry to ~/.openclaw/openclaw.json, the README instructs users to restart the OpenClaw gateway.
An optional local dashboard can be started with uvx --from git+https://github.com/Yang1Bai/claw-tsaver claw-tsaver-dashboard. The dashboard is available at http://localhost:7878 and displays token-saving statistics.
Yang1Bai/claw-tsaver MCP server provides the proxy behavior and the documented expand_content operation. Its capabilities include:
The current release covers lazy expansion and the local dashboard. Tool routing and conversation-history compression are listed as roadmap items, so they should not be treated as available features. The README documents OpenClaw integration and a Claude-based benchmark, but does not establish compatibility with every MCP client.
The proxy does not eliminate the cost of retrieving the full result: calling expand_content returns the complete stored content. Its main benefit applies when the model can work from the preview and does not need expansion. The provided material does not specify retention, cleanup, encryption, or remote storage behavior for the SQLite database.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/yang1bai-claw-tsaver)<a href="https://allmcps.com/mcp/yang1bai-claw-tsaver"><img src="https://allmcps.com/api/badge/yang1bai-claw-tsaver?style=directory" alt="Claw Tsaver on AllMCPs" /></a>