DBCTX IS IN PUBLIC BETA!

Query & Data Visualization Powers for AI Agents

Database connector MCP that is loaded with rich semantic context. Allows you and your team to analyze your data straight from your favorite AI chat.

🔨 Code Better

Claude Code / Codex writes bulletproof endpoints and repository methods with the dbctx MCP

📈 Analyze Better

Claude / ChatGPT generates accurate queries for your BI and Data Analysts with context from the dbctx MCP

🤝 Onboard Better

Agents explain your database's story to new engineers and analysts. On-board them in hours.

// HOW TO USE

  1. Build context
    Run npx dbctx@latest $DATABASE_URL.
  2. Add the MCP server to your agent
    Use the MCP URL from your dashboard.
  3. Enjoy an AI agent that understands your database and writes perfect SQL.

// AGENT SUPPORT

ChatGPT
Claude Code
Claude
OpenAI Codex
OpenCode
Cursor
Google Antigravity
Github Copilot
Kiro
🧠

Semantic Documentation Agent

Looks at the DB holistically to infer use-cases, business logic and data domains.

🔎

More Than Just Structure

Also looks at anonymized samples of your data to make better deductions about your DB.

🛠

Tools An Agent Needs

MCP tools for getting overview, searching tables, finding join paths, validating SQL, etc.

👻

Auto Discovers Phantom Foreign Keys

Finds references in your schema even when your migrations skip foreign-key constraints.

🗃

Auto-categorization

Categorizes tables into data domains for a semantic story that captures inter-domain relationships.

🌐

Web Hosted Docs

For reading like prose and for sharing with other humans.

🏚️

Stale Table Detection COMING SOON

Automatically detects stale tables no longer being used and excludes them.

💬

Example Query Generation COMING SOON

More context to agents and humans by generating example questions and their answers, agentically.

🔍

Web Research & OSS Docs COMING SOON

Better understanding of the database, by grounding in web research and OSS docs.

// PRICING

FREE
  • Semantic Docs Generation

    Auto-infer business narratives, use-cases, data-domains.

  • HTTP MCP Server

    Works on both web and desktop.

  • Automatic Foreign Key Discovery

    Even in databases that don't use foreign keys.

  • Team Sharing

    Invite anyone and their agents.

  • Web Hosted Docs

    To read like documentation.

  • Limit — 15 tables ⚠️

    (sorry)

TRY IT
$1 / table / run
  • Everything in Free

    (duh).

  • Incremental Pricing

    Only pay for the number of tables or views that have been modified between runs.

  • Limit — Up to 400 Tables ✅

    Not a hard limit really.

START NOW
Enterprise
  • Unlimited tables and views.
  • MSSQL and Oracle support.
  • Deploy on your own cloud / on-prem.
  • BYO Anthropic Key + Endpoints
  • 24/7 Direct Support
  • Custom pricing.

// FAQ