MCP review engine with 182 + rules (taint tracking, OWASP LLM01, concept model) + universal IR compiler: .kern compiles to 13 targets including Next.js, Vue, Express, and FastAPI. AGPL-3.0.
README
One backend spec. Real TypeScript and Python output. 240 review rules.<br> <sub>LLMs write .kern in up to 85% fewer tokens. 7 LLMs verified.</sub>
<br>kernlang.dev • MCP • Review • Playground • Docs • For LLMs
<br> </div>npm install -g @kernlang/cli
kern compile api.kern --target=express # Generate an Express backend
kern compile api.kern --target=fastapi # Generate a FastAPI backend
kern review src/ --recursive # Static analysis (240 rules, taint tracking)
kern context src/ --stdout # Whole-project context map for an LLM/agent
kern init --template=fullstack my-app # Scaffold fullstack app (Next.js + Express + MCP)
kern init --mcp # Scaffold an MCP server with security guards
kern import src/ --outdir=kern/ # TypeScript → .kern
kern schema --json # Full schema for LLM consu