meal-inc/bonnard-cli

๐Ÿ“Š Data Platforms
0 Views
0 Installs

๐Ÿ“‡ โ˜๏ธ - Ultra-fast to deploy agentic-first MCP-ready semantic layer. Let your data be like water.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "meal-inc-bonnard-cli": {
      "command": "npx",
      "args": [
        "-y",
        "meal-inc-bonnard-cli"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

[!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

Bonnard: agent-native analytics. One schema, many surfaces.

Agent-native analytics. One schema, many surfaces.

npm version MIT License Discord

Docs ยท Getting Started ยท Changelog ยท Discord ยท Website


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.

Bonnard architecture -data sources flow through the semantic layer to AI agents, BI tools, and MCP clients

## 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 init

Or install globally:

npm install -g @bonnard/cli

Then 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 it

Your 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 --demo

Requires 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

CommandDescription
bon initScaffold a new project with agent configs
bon datasource addConnect a data source (or --demo for sample data)
bon validateValidate YAML syntax locally
bon deploy -m "message"Deploy to production
bon pullDownload deployed models to local project
bon queryRun queries (JSON or SQL)
bon schemaExplore deployed measures, dimensions, and views
bon dashboard devPreview a markdown dashboard locally
bon dashboard deployDeploy a dashboard
bon mcpMCP server setup instructions
bon keys createCreate a publishable or secret API key
bon docsBrowse documentation from the CLI

See the full CLI reference for all commands and flags.

Documentation

GuideDescription
Getting StartedFrom zero to deployed in minutes
CLI ReferenceEvery command, flag, and option
Modeling GuideCubes, views, metrics, and dimensions
DashboardsMarkdown dashboards with charts, inputs, and theming
SDKTypeScript SDK and React components
QueryingJSON and SQL query syntax
ChangelogWhat shipped and when

Community

Contributions are welcome. If you find a bug or have an idea, open an issue or submit a pull request.

Related MCP Servers

1luvc0d3/metabase-mcp

๐Ÿ“‡ ๐Ÿ  - MCP server connecting Claude to Metabase with 28 tools for natural language data analysis, dashboard management, SQL queries, and automated insights. Features SQL guardrails, rate limiting, and audit logging.

๐Ÿ“Š Data Platforms0 views
aegis-dq/aegis-dq

๐Ÿ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Agentic data quality framework that runs structured rules against warehouses (DuckDB, BigQuery, Athena, Databricks, Postgres), diagnoses failures with LLM root cause analysis, and proposes SQL remediations. Every LLM decision is audit-logged with cost and latency.

๐Ÿ“Š Data Platforms0 views
alanpcf/brasil-data-mcp

๐Ÿ“‡ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Brazilian public data for AI agents โ€” companies (CNPJ), addresses (CEP), banks (BACEN), national holidays โ€” via BrasilAPI. No auth, no API key. Install: npx -y brasil-data-mcp.

๐Ÿ“Š Data Platforms0 views
Alessandro114/scala-mcp-server

๐Ÿ“‡ โ˜๏ธ ๐ŸŽ ๐ŸชŸ ๐Ÿง - Search and enrich data from 250M+ companies across 50+ countries. Company lookup by name, VAT, or ID, NACE sector search, and financial data from official EU business registries. Free tier: 50 lookups/month. Install: npx scala-mcp-server.

๐Ÿ“Š Data Platforms0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.