AI-optimized tool output compression for read, grep, diff, bash, test, web, search, and more
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
AIR is a toolkit for optimizing tool outputs for AI consumption. The name is inspired by "accessibility retrofitting" - just as we retrofit infrastructure for accessibility, we need to retrofit developer tools for AI ergonomics.
AI context windows are the scarcest resource. A 200K token window sounds large, but:
npm install output can consume 2000+ tokensThe real cost isn't tokens - it's attention dilution. Even with unlimited tokens, noise in context degrades AI reasoning quality.
AIR intercepts tool outputs at the source, filtering noise before it enters the context window. Prevention, not cleanup.
| Package | Description | npm |
|---|---|---|
@10iii/air-core | Core compression library | |
@10iii/air | CLI tool (air command) | |
@10iii/air-oc-plugin | OpenCode plugin | |
@10iii/air-openclaw-plugin | OpenClaw plugin |
Add to your opencode.json:
File content compression with intelligent truncation and structure awareness.
Command output compression with pattern recognition.
Search result compression with path de-duplication and context optimization.
Test output parsing for pytest, jest, go test, and more.
Web page content extraction with readability and markdown conversion.
Directory listing with tree structure and smart filtering.
Diff output compression with hunk summarization.
API response compression (JSON field filtering).
Web search with multiple engine support (DuckDuckGo, Bing, Baidu, Sogou).
| Compressor | Typical TSR |
|---|---|
| air-test | 90%+ |
| air-bash | 60-90% |
| air-read | 50-80% |
| air-grep | 40-60% |
| air-web | 70-90% |
MIT
AIR collects anonymous usage statistics to improve the product. This includes compressed content hashes (not the content itself), compression ratios, and basic metadata. No personal data is collected. You can modify this via air config.
Contributions welcome! Please read CONTRIBUTING.md and the Architecture docs first.
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/air)<a href="https://allmcps.com/mcp/air"><img src="https://allmcps.com/api/badge/air?style=directory" alt="Air on AllMCPs" /></a>