Quick Start
Option A: Browser Wizard (Recommended)
Section titled “Option A: Browser Wizard (Recommended)”-
Create a new project
Terminal window npx create-runcontext my-datacd my-data -
Run the setup wizard
Terminal window context setupA 5-step wizard opens in your browser:
- Product name — name your data product (e.g.
sales-analytics) - Owner — name, team, and email
- Sensitivity — public, internal, confidential, or restricted
- Database — auto-detected from environment, or enter a connection URL
- Documentation — optionally upload SQL files, data dictionaries, or markdown
- Product name — name your data product (e.g.
-
Watch the pipeline run
The wizard runs the build pipeline in real time:
- Introspect schema → scaffold Bronze metadata
- Auto-enrich toward Silver (glossary, lineage, sample values)
- Lint and verify
-
Curate to Gold
Open the visual studio to add semantic roles, aggregation rules, guardrails, and golden queries:
Terminal window context dev --studioOr tell your AI agent: “Read context/AGENT_INSTRUCTIONS.md and get this project to Gold.”
-
Serve to AI agents
Terminal window context serve --stdioYour MCP server is live. Add it to your AI tool’s config:
{"mcpServers": {"contextkit": {"command": "npx","args": ["@runcontext/cli", "serve", "--stdio"]}}}
Option B: Tell Your AI Agent
Section titled “Option B: Tell Your AI Agent”In Claude Code, Cursor, or any agentic coding platform:
“Install @runcontext/cli and build a semantic layer for my database.”
The agent runs context setup, introspects your database, and starts asking you questions about metrics, ownership, and business rules. It reads the generated context/AGENT_INSTRUCTIONS.md and knows exactly what to do.
Option C: Manual Pipeline
Section titled “Option C: Manual Pipeline”# Installnpm install -g @runcontext/cli
# Scaffold from a databasecontext introspect --db postgres://user:pass@host/db --select
# Auto-enrich to Silvercontext enrich --target silver --apply
# Check tier progresscontext tier
# Serve via MCPcontext serve --stdioWhat Just Happened?
Section titled “What Just Happened?”The setup pipeline performed these steps:
- Connected to your database (PostgreSQL, DuckDB, MySQL, SQL Server, SQLite, Snowflake, BigQuery, ClickHouse, or Databricks)
- Introspected every table — generated OSI YAML with columns, types, primary keys
- Scaffolded governance files — ownership, security classification, grain statements
- Enriched toward Silver — added lineage, sample values, glossary links, trust status
- Linted the result — flagged anything that still needs attention
- Generated
AGENT_INSTRUCTIONS.md— a complete guide for any AI agent to continue curating
Your metadata now lives in YAML files under context/. Edit them in the visual studio, let AI agents curate them, or modify the YAML directly.
Next Steps
Section titled “Next Steps”- Check your tier:
context tierto see Bronze/Silver/Gold scores - Open the studio:
context dev --studioto curate in the browser - Export a blueprint:
context blueprintfor portable OSI YAML - Generate docs:
context sitefor a browsable documentation site - Read the CLI reference for all 16 commands