MCP Hub
Back to servers

@runcontext/mcp

Validation Failed

MCP server that serves semantic metadata to AI agents. Connect your data catalog to Claude Code, Cursor, Copilot, Windsurf, and any MCP-compatible tool.

npm1.5k/wk
Stars
1
Updated
Mar 8, 2026
Validated
Mar 10, 2026

Validation Error:

Process exited with code 1. stderr: npm error could not determine executable to run npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-03-10T02_54_40_776Z-debug-0.log

Quick Install

npx -y @runcontext/mcp

ContextKit

Turn your database into an AI-ready data product.

Fill out a Context Brief about your data. ContextKit connects to your database, introspects the schema, and builds a semantic plane — a structured metadata layer that tells AI agents what your data means, how to query it safely, and which business rules apply. Serve it to Claude Code, Cursor, Copilot, or any MCP-compatible tool.

CI npm License: MIT OSI


Works with

Claude Code · Cursor · Copilot · Windsurf · Codex — any MCP-compatible AI tool.


How It Works

1. context setup          → Opens a browser wizard
2. Fill out Context Brief → Name, owner, sensitivity, connect database
3. Pipeline runs          → Introspect → Scaffold → Enrich → Verify
4. context serve          → MCP server live — AI agents have full context

Step 1 — Context Brief. Run context setup and a 5-step wizard opens in your browser. Name your data product, set an owner, choose a sensitivity level, and connect your database. Upload any existing documentation (SQL files, data dictionaries, markdown) to give the enrichment engine more to work with.

Step 2 — Automatic Pipeline. ContextKit introspects your schema, scaffolds Bronze-tier metadata (descriptions, types, ownership), then auto-enriches toward Silver (trust status, glossary, lineage, sample values). The pipeline runs in real time — you watch each stage complete.

Step 3 — Curate to Gold. Open the visual studio (context dev --studio) to add semantic roles, aggregation rules, guardrail filters, golden queries, and business rules. This is what makes AI agents generate correct SQL instead of guessing. Gold tier requires your business knowledge — and that's where the real value is.

Step 4 — Serve via MCP. Run context serve and every AI tool in your stack gets access to your semantic plane. Agents can search your metadata, look up business terms, retrieve guardrail filters, and find golden queries — all through the Model Context Protocol.


Quickstart

npx create-contextkit my-data
cd my-data
context setup

The wizard opens in your browser. Fill out the Context Brief, connect your database, and the pipeline handles the rest.

Or tell your AI agent:

"Install @runcontext/cli and build a semantic layer for my database."


The Tiers

Bronze — Discoverable. Every model, field, and dataset has a description, an owner, and a security classification. Achieved automatically via context introspect.

Silver — Trusted. Adds trust status, glossary links, lineage, sample values, and refresh cadence. Achieved via context enrich --target silver. AI can interpret the data but still lacks guardrails.

Gold — AI-Ready. Semantic roles, aggregation rules, guardrail filters, golden queries, business rules, and explicit relationships. Curated by you in the visual studio. This is what makes agents generate correct SQL on the first try.


Commands

# Guided setup
context setup                    # 5-step browser wizard — database to data product in one flow
context dev --studio             # Visual editor — curate metadata, see tier updates live

# Build pipeline
context introspect --db <url>    # Connect database, scaffold Bronze metadata
context enrich --target silver   # Auto-enrich toward Silver tier
context enrich --target gold     # Suggest Gold-tier enrichments
context build                    # Compile semantic plane → manifest JSON

# Quality & validation
context tier [model]             # Show Bronze/Silver/Gold scorecard
context lint                     # Run 40 lint rules
context fix --write              # Auto-fix lint issues
context verify --db <url>        # Check metadata accuracy against live database

# Serve & export
context serve --stdio            # MCP server for AI agents (stdio)
context serve --http --port 3000 # MCP server (HTTP)
context blueprint [model]        # Export portable AI Blueprint (OSI YAML)
context site                     # Generate browsable documentation site

Database Support

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


MCP Server

Add ContextKit as an MCP server so AI agents discover your semantic plane automatically:

{
  "mcpServers": {
    "contextkit": {
      "command": "npx",
      "args": ["@runcontext/cli", "serve", "--stdio"]
    }
  }
}

8 MCP tools: search, explain, validate, tier, golden-queries, guardrails, list-products, get-product.


Local-first, Cloud-ready

ContextKit runs entirely on your machine. Connect any database, curate metadata locally, serve via MCP — free and open source.

Need collaboration, hosted MCP, or team workflows? RunContext Cloud adds multi-user curation, hosted serving, and managed infrastructure on top of the same open core.


Open Semantic Interchange

ContextKit metadata follows the Open Semantic Interchange (OSI) specification — a vendor-neutral format for describing data products. Export your semantic plane as portable YAML. Import it into any OSI-compliant tool. No lock-in.


Packages

PackageDescription
@runcontext/cliCLI — setup wizard, introspect, enrich, build, serve
@runcontext/coreCompiler, linter, tier engine, 40 lint rules
@runcontext/mcpMCP server — 8 tools for AI agents
@runcontext/uiBrowser-based Context Brief wizard and visual studio
@runcontext/siteDocumentation site generator with search and tier badges
create-contextkitProject scaffolder — npx create-contextkit

Links

License

MIT

Reviews

No reviews yet

Sign in to write a review