npm @10iii/air-mcp-serverstdioMITupdated 5mo ago
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.
¿Qué puedes hacer con air?
AIR - AI-optimized Information Representation
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.
The Problem
AI context windows are the scarcest resource. A 200K token window sounds large, but:
- A single
npm installoutput can consume 2000+ tokens - A test report can eat 5000+ tokens
- 50-96% of this is noise: progress bars, blank lines, redundant info
The real cost isn't tokens - it's attention dilution. Even with unlimited tokens, noise in context degrades AI reasoning quality.
The Solution
AIR intercepts tool outputs at the source, filtering noise before it enters the context window. Prevention, not cleanup.
Packages
| 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 |
Quick Start
CLI
# Install globally
npm install -g @10iii/air
# Read a file with compression
air read src/index.ts --skeleton
# Run a command with output compression
air bash "npm install"
# Search with de-duplication
air grep "TODO" --include "*.ts"
# Test output compression
air test "npm test"
As a Library
import { ReadCompressor, BashCompressor, GrepCompressor } from '@10iii/air-core';
// Compress file content
const read = new ReadCompressor();
const result = read.compress(fileContent, { mode: 'skeleton' });
// Compress command output
const bash = new BashCompressor();
const result = bash.compress(output, { command: 'npm install' });
OpenCode Plugin
Add to your opencode.json:
{
"plugin": ["@10iii/air-oc-plugin"]
}
Compressors
air-read
File content compression with intelligent truncation and structure awareness.
- skeleton: Extract function/class signatures only
- focused: Line range extraction with context
- truncate: Smart truncation with size limits
air-bash
Command output compression with pattern recognition.
- npm/pnpm/yarn install → progress removal, error extraction
- git operations → diff summarization
- Generic → intelligent truncation
air-grep
Search result compression with path de-duplication and context optimization.
air-test
Test output parsing for pytest, jest, go test, and more.
air-web
Web page content extraction with readability and markdown conversion.
air-ls
Directory listing with tree structure and smart filtering.
air-diff
Diff output compression with hunk summarization.
air-api
API response compression (JSON field filtering).
air-search
Web search with multiple engine support (DuckDuckGo, Bing, Baidu, Sogou).
Token Savings Rate (TSR)
| Compressor | Typical TSR |
|---|---|
| air-test | 90%+ |
| air-bash | 60-90% |
| air-read | 50-80% |
| air-grep | 40-60% |
| air-web | 70-90% |
Design Principles
- Prevention > Cleanup - Filter at the source, not after
- Rule-based > LLM-based - Deterministic compression, no API calls
- Progressive Disclosure - Skeleton first, details on demand
- Cross-platform - Works with any AI tool
- Zero API Key - No external API dependencies
Requirements
- Node.js >= 18
License
MIT
Privacy
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.
Contributing
Contributions welcome! Please read CONTRIBUTING.md and the Architecture docs first.
Instalación
Añade air a tu cliente. Elige el que uses.
claude mcp add air-mcp-server -- npx -y @10iii/air-mcp-servercodex mcp add air-mcp-server -- npx -y @10iii/air-mcp-serveramp mcp add air-mcp-server -- npx -y @10iii/air-mcp-server{
"mcpServers": {
"air-mcp-server": {
"command": "npx",
"args": [
"-y",
"@10iii/air-mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"air-mcp-server": {
"command": "npx",
"args": [
"-y",
"@10iii/air-mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"air-mcp-server","command":"npx","args":["-y","@10iii/air-mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"air-mcp-server": {
"command": "npx",
"args": [
"-y",
"@10iii/air-mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"air-mcp-server": {
"command": "npx",
"args": [
"-y",
"@10iii/air-mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"air-mcp-server": {
"command": "npx",
"args": [
"-y",
"@10iii/air-mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"air-mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@10iii/air-mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"air-mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"@10iii/air-mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @10iii/air-mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Puntuación
39 / 100
Incompleta
- Documentación25/25
- Mantenimiento19/25
- Confianza13/20
- Capacidad0/15
- Instalación12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 153 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Historial de versiones
| Versiones | Publicada |
|---|---|
| 0.2.8Última | 27 mar 2026 |
| 0.2.6 | 27 mar 2026 |
| 0.2.3 | 27 mar 2026 |
| 0.2.2 | 26 mar 2026 |