Installation
Install
Section titled “Install”npm install @runcontext/cliThat’s it — one package, everything included. The @runcontext/cli package bundles the compiler, linter, tier engine, MCP server, site generator, introspector, and enricher.
Global vs. local
Section titled “Global vs. local”# Global — use `context` command anywherenpm install -g @runcontext/cli
# Local — use via npx or npm scriptsnpm install -D @runcontext/clinpx context --helpScaffold a new project
Section titled “Scaffold a new project”npx create-contextkit my-projectcd my-projectThis creates a project with example metadata files and a contextkit.config.yaml.
Verify installation
Section titled “Verify installation”context --version# 0.3.5
context --help# Shows all 15 commandsDatabase drivers
Section titled “Database drivers”ContextKit supports 9 database engines. Each uses an optional peer dependency — install only the drivers you need:
| Database | Driver Package |
|---|---|
| DuckDB | npm install duckdb |
| PostgreSQL | npm install pg |
| MySQL | npm install mysql2 |
| SQL Server | npm install mssql |
| SQLite | npm install better-sqlite3 |
| Snowflake | npm install snowflake-sdk |
| BigQuery | npm install @google-cloud/bigquery |
| ClickHouse | npm install @clickhouse/client |
| Databricks | npm install @databricks/sql |
The setup wizard also auto-detects databases from your existing MCP server configs (Claude Code, Cursor, VS Code, Windsurf, Claude Desktop).
Smart driver detection: If you try to connect to a database without the driver installed, the context setup wizard will detect this and offer to install it automatically.
Next steps
Section titled “Next steps”- Quick Start — set up your first project
- Tier System — understand Bronze, Silver, and Gold
- CLI Overview — see all available commands