Tool Output Truncator and Size Limiter MCP Connector for Claude
A+Safely shrinks tool outputs to fit byte limits without breaking multi-byte characters.
This MCP server protects Large Language Model (LLM) context windows from being flooded by massive tool outputs. It provides precise tools to calculate UTF-8 byte sizes and perform safe truncation. By using truncate_tool_output, you can ensure that data stays within a specific byte limit without corrupting multi-byte characters (like emojis or special symbols). It also includes calculate_exact_byte_size for precise measurement and validate_truncation_integrity to verify that no character corruption occurred during the process.
Related Connectors
Prefix Cache Savings Calculator MCP
Calculate exact token savings from LLM prefix caching.
Airline Baggage Calculator MCP
Calculate baggage allowances and excess fees based on airline, fare class, and route.
Invoice Discount Calculator MCP
Calculate precise invoice totals, discount breakdowns, and bulk invoice processing.
Cabin Bag Weight Calculator MCP
Calculate total weight and check airline compliance for cabin luggage.