Skip to content

ContextKit

Tell your AI agent: 'Install @runcontext/cli and build a semantic layer for my database.' The agent connects to your data, works with you to build Gold-tier metadata, and serves it to every AI tool via MCP.
$ npm install -g @runcontext/clicopy

You tell your AI agent to build it. The agent runs CLI commands, asks you about your data, and iterates until Gold. You provide the business knowledge. The agent does the rest.

Without ContextKit

— “What’s total revenue?”
SELECT AVG(revenue)     ← wrong aggregation
FROM transactions       ← no status filter
← includes cancelled

With ContextKit

— “What’s total revenue?”
SELECT SUM(revenue)     ← correct (semantic role)
FROM transactions
WHERE status=‘completed’ ← required (guardrail)

Bronze — Discoverable

Descriptions, ownership, security, grain. Achieved automatically via context introspect.

Silver — Trusted

Trust status, glossary, lineage, sample values. Achieved via context enrich --target silver.

Gold — AI-Ready

Semantic roles, aggregation rules, guardrails, golden queries, business rules. Curated by you and your agent.

40 Lint Rules

Schema validation, governance, security, data accuracy — all tier-aware with auto-fix.

16 CLI Commands

setup, new, introspect, enrich, lint, fix, build, tier, blueprint, explain, verify, serve, site, dev, init, rules, validate-osi

MCP Server

Serve your semantic layer to Claude Code, Cursor, Windsurf, and any MCP-compatible agent via stdio or HTTP.

Visual Studio Editor

context dev --studio — edit metadata in the browser, see tier updates live, save back to YAML.

9 Database Adapters

PostgreSQL, DuckDB, MySQL, SQL Server, Snowflake, BigQuery, ClickHouse, Databricks, SQLite.

Tell your AI agent: “Install @runcontext/cli and build a semantic layer for my database.”

Or do it yourself:

Terminal window
npm install -g @runcontext/cli
context setup # connect → introspect → scaffold → enrich → generate agent instructions
context tier # check your Bronze/Silver/Gold score
context serve --stdio # serve to AI agents via MCP