ComposeLintAI is an open-source (Apache 2.0) pre-write static analysis linter and native Model Context Protocol (MCP) server built for Jetpack Compose and Kotlin Multiplatform.
Designed for Android Studio and IntelliJ IDEA, it acts as a deterministic governance layer between AI coding agents (Claude Code, Cursor, Windsurf) and your codebase:
- Pre-Write Shadow AST Validation (<50ms): Intercepts AI agent edits inside an in-memory PSI sandbox before anything touches disk—zero Gradle builds required.
- Design System Token Enforcement: Detects hardcoded colors, dp/sp values, and typography, guiding agents to use your project's actual theme tokens.
- Crash-Atomicity & Health Tracking: Monitors architectural debt in real time and provides atomic rollback for multi-file changes.
- Native MCP Server: Connects out of the box with modern AI coding workflows.
Featured in Android Weekly (#746), Kotlin Weekly (#537), and jetc.dev (#336).
Features
- Pre-write Shadow AST validation (<50ms) in an in-memory PSI sandbox
- Design system token enforcement for colors, dp/sp, and typography
- Native Model Context Protocol (MCP) server for Android Studio & IntelliJ
- Real-time architectural health tracking with atomic multi-file rollback