bonnard-cli
Archived. Earlier Bonnard product. Current: bonnard.dev / @bonnard/mcp-charts
Documentation
> [!IMPORTANT]
> This repository is archived and no longer maintained.
> It was part of an earlier version of Bonnard. Our current products live at **bonnard.dev. Start with `@bonnard/mcp-charts`**.
> Questions: pierre@bonnard.dev
Agent-native analytics. One schema, many surfaces.
·
·
·
·
BI tools serve one UI. Bonnard serves everything. Agents over MCP, apps over SDK, dashboards in markdown, internal tools via REST. One set of metric definitions, every consumer gets the same governed answer.
Why Bonnard?
Traditional semantic layers were built for dashboards and retrofitted for AI. Agents get different answers than dashboards, metrics drift across tools, and every new surface means another integration. Bonnard was built agent-native from day one. MCP is a core feature, not a plugin. One CLI, one schema, every consumer gets the same governed answer.
Quick Start
No install required. Run directly with npx:
npx @bonnard/cli initOr install globally:
npm install -g @bonnard/cliThen follow the setup flow:
bon init # Scaffold project + agent configs
bon datasource add # Connect your warehouse
bon validate # Check your models locally
bon login # Authenticate
bon deploy -m "initial deploy" # Ship itYour semantic layer is now live. Agents, dashboards, and the SDK all query the same governed metrics.
No warehouse yet? Start exploring with a full retail demo dataset:
bon datasource add --demoRequires Node.js 20+.
What You Get
- Agent context out of the box. `bon init` generates rules and skills for Claude Code, Cursor, and Codex so agents understand your semantic layer from the first prompt.
- **MCP server** for governed agent queries. Set up with `bon mcp`, test with `bon mcp test`.
- **Markdown dashboards** with BigValue, LineChart, BarChart, AreaChart, PieChart, and DataTable components. Preview locally with `bon dashboard dev`, deploy with `bon dashboard deploy`.
- **JSON and SQL querying** from the terminal via `bon query` and `bon schema`, or programmatically via the REST API.
- Deployment versioning with change tracking (`bon diff`), annotations (`bon annotate`), and full history (`bon deployments`).
- CI/CD support. Run `bon deploy --ci -m "message"` for non-interactive pipelines.
Supported Data Sources
Warehouses: Snowflake (including Snowpark), Google BigQuery, Databricks (SQL warehouses and Unity Catalog), PostgreSQL (including Supabase, Neon, and RDS), Amazon Redshift, DuckDB (including MotherDuck)
Data tools: dbt (model and profile import), Dagster, Prefect, Airflow (orchestration), Looker, Cube, Evidence (existing BI layers), SQLMesh, Soda, Great Expectations (data quality)
Bonnard auto-detects your warehouses and data tools. Point it at your project and it discovers schemas, tables, and relationships.
Ecosystem
- **@bonnard/sdk**: query the semantic layer from any JavaScript or TypeScript application
- **@bonnard/react**: React chart components and a markdown dashboard viewer
Commands
| Command | Description |
|---|---|
| `bon init` | Scaffold a new project with agent configs |
| `bon datasource add` | Connect a data source (or `--demo` for sample data) |
| `bon validate` | Validate YAML syntax locally |
| `bon deploy -m "message"` | Deploy to production |
| `bon pull` | Download deployed models to local project |
| `bon query` | Run queries (JSON or SQL) |
| `bon schema` | Explore deployed measures, dimensions, and views |
| `bon dashboard dev` | Preview a markdown dashboard locally |
| `bon dashboard deploy` | Deploy a dashboard |
| `bon mcp` | MCP server setup instructions |
| `bon keys create` | Create a publishable or secret API key |
| `bon docs` | Browse documentation from the CLI |
See the full CLI reference for all commands and flags.
Documentation
| Guide | Description |
|---|---|
| Getting Started | From zero to deployed in minutes |
| CLI Reference | Every command, flag, and option |
| Modeling Guide | Cubes, views, metrics, and dimensions |
| Dashboards | Markdown dashboards with charts, inputs, and theming |
| SDK | TypeScript SDK and React components |
| Querying | JSON and SQL query syntax |
| Changelog | What shipped and when |
Community
- Discord: ask questions, share feedback, connect with the team
- GitHub Issues: bug reports and feature requests
- LinkedIn: follow for updates
- Website: learn more about Bonnard
Contributions are welcome. If you find a bug or have an idea, open an issue or submit a pull request.
Frequently asked questions
What is bonnard-cli?
bonnard-cli is Archived. Earlier Bonnard product. Current: bonnard.dev / @bonnard/mcp-charts
How do I install bonnard-cli?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is bonnard-cli open source?
Yes — it is hosted on GitHub at https://github.com/bonnard-data/bonnard-cli and has 50 stars.
Related MCP tools
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Jitsu is an open-source Segment alternative. Fully-scriptable data ingestion engine for modern data teams. Set-up a real-time data pipeline in minutes, not days
The go-to web for your AI coding agent — local-first search, fetch, crawl & research over MCP. No API keys, no cloud, $0/query. Public beta.
MCP Aggregator, Orchestrator, Middleware, Gateway in one docker
Browser automation clicks buttons. OpenTabs calls APIs.
Open-source cross-agent memory layer for coding agents via MCP. Compatible with Claude Code, Codex, Cursor, Windsurf, Gemini CLI, Antigravity, OpenClaw, Hermes Agent, Oh-my-Pi, Pi, Copilot, Kiro, OpenCode, and Trae.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP