@jatbas/aic
v0.50.1
Published
Agent Input Compiler — local-first MCP server for context compilation (Cursor, Claude Code, and other MCP clients)
Maintainers
Readme
@jatbas/aic
Agent Input Compiler — a local-first MCP server that compiles intent-specific project context for AI coding agents.
AIC sits between your editor and the AI model. On every message, it scans your codebase, selects only the files relevant to the current intent, and compresses them into a token-efficient prompt — so the model sees the right context without blowing the budget.
Install
Cursor (one click)
Or add manually to your global MCP config (~/.cursor/mcp.json):
{
"mcpServers": {
"aic": {
"command": "npx",
"args": ["-y", "@jatbas/aic@latest"]
}
}
}Claude Code (plugin — recommended)
/plugin marketplace add Jatbas/agent-input-compiler
/plugin install aic@aic-toolsThe plugin auto-starts the MCP server and registers hooks so every project gets compiled context automatically. See Installation — Claude Code for prerequisites, direct installer, and troubleshooting.
What it does
- Classifies intent from the user's message
- Selects and scores files by relevance
- Blocks secrets, excluded paths, and prompt injection strings
- Compresses content to fit a token budget
- Returns a bounded context package the model can reason over
- Caches results for fast recompilation
Links
License
Apache-2.0
