Skip to content

cedardb/claude-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CedarDB Plugin for Claude Code

Deploy, query, and visualize with the help of CedarDB directly from Claude Code. Includes two agents, three skills, and a bundled MCP server for direct database access.

Installation

/plugin marketplace add cedardb/claude-plugin
/plugin install cedardb@claude-plugin

Quick start

/deploy

Then:

Load two months of the NYC taxi dataset and all related static data. Design a dashboard analysing the fare distribution.

Claude will invoke the analyst to load the data and the dashboard agent to build the visualization.

Prerequisites

  • Docker — required by /deploy to run CedarDB locally (install)
  • Node.js — required to run the bundled MCP server (node --version to check)
  • Python 3 with venv — required by analyst and dashboard agents

Skills

Invoked explicitly as slash commands:

Command What it does
/deploy Deploy a local CedarDB instance via Docker
/connect Connect to an existing local or remote CedarDB server
/stop Stop dashboards and optionally the Docker container

Agents

Invoked automatically based on what you ask for:

Agent Trigger What it does
cedardb-analyst "Query…", "Load…", "Show me…", "Analyze…" Loads data, runs SQL, produces interactive HTML reports
cedardb-dashboard "Build a dashboard for…" Builds a live auto-refreshing Flask + Plotly.js dashboard

How it works

The plugin ships a custom MCP server (mcp/) that connects directly to CedarDB using the DSN written to .cedardb by /deploy or /connect. All SQL — queries, imports, schema discovery — goes through the MCP server rather than shell commands, which means no psql dependency and no credential exposure in bash history.

.cedardb is gitignored. It is read by the MCP server on every call, so switching databases is as simple as running /connect again with a different DSN.

MCP server dependencies are installed automatically on first session start via a plugin hook — no manual npm install required.

File layout after first use

.cedardb              # DSN + label (gitignored)
cedardb-data/         # Docker volume for persistent data (gitignored)
.cedardb_work/
  catalog.json        # Index of all analyses and dashboards
  reports/            # Named SQL + HTML report pairs
  dashboard/          # Live dashboard app and static files

About

Mange your cedardb instances with claude code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors