Skip to content

Installation

Terminal window
npm install @runcontext/cli

That’s it — one package, everything included. The @runcontext/cli package bundles the compiler, linter, tier engine, MCP server, site generator, introspector, and enricher.

Terminal window
# Global — use `context` command anywhere
npm install -g @runcontext/cli
# Local — use via npx or npm scripts
npm install -D @runcontext/cli
npx context --help
Terminal window
npx create-contextkit my-project
cd my-project

This creates a project with example metadata files and a contextkit.config.yaml.

Terminal window
context --version
# 0.3.5
context --help
# Shows all 15 commands

ContextKit supports 9 database engines. Each uses an optional peer dependency — install only the drivers you need:

DatabaseDriver Package
DuckDBnpm install duckdb
PostgreSQLnpm install pg
MySQLnpm install mysql2
SQL Servernpm install mssql
SQLitenpm install better-sqlite3
Snowflakenpm install snowflake-sdk
BigQuerynpm install @google-cloud/bigquery
ClickHousenpm install @clickhouse/client
Databricksnpm 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.