MCP Catalogs
首页

bonnard

by bonnard-data·26·综合分 44

Bonnard 是一个 AI 原生语义层,通过 MCP 服务器为 AI 代理提供可靠的数据查询能力。

databaseai-llmdeveloper-tools
2
Forks
0
活跃 Issue
3 个月前
最近提交
2 天前
收录于

概述

Bonnard 提供一个自托管的语义层,使 AI 代理能够通过模型上下文协议 (MCP) 查询数据。它提供基于 SQL 的指标定义,支持缓存、访问控制和多数据库。项目包含立方体语义层、预聚合缓存、管理界面、部署 API 和健康端点。可以作为 Docker 容器部署,支持多种数据仓库,包括 Snowflake、BigQuery、Databricks、PostgreSQL、Redshift、DuckDB 和 ClickHouse。

试试问 AI

装完之后,这里有 3 个你可以让 AI 做的事:

:AI 代理查询一致的语义层进行分析和报告
:构建具有受管指标和维度的数据应用
:通过 MCP 将结构化数据能力嵌入 AI 工作流

什么时候选它

当您需要为 AI 代理提供自托管的语义层,且已有数据库基础设施且不想使用云服务时,选择 Bonnard。

什么时候不要选它

如果您需要实时数据更新(Bonnard 针对分析查询进行了优化)或者您更喜欢完全管理的云服务而非自托管,请不要选择 Bonnard。

此 server 暴露的工具

从 README 抽取出 4 个工具
  • query_data

    Query the semantic layer through the MCP server

  • deploy_models

    Deploy updated semantic models to the server

  • check_health

    Check the health status of the Bonnard server

  • view_schema

    Browse and verify the semantic layer schema

说明:Tool names inferred from documentation of MCP server capabilities, CLI commands, and described functionality. No explicit tool names provided in the README.

可对比工具

cubejs-mcppostgres-mcpsupabase-mcpneon-mcp

安装

# 1. 搭建项目
npx @bonnard/cli init --self-hosted

# 2. 配置数据源
#    编辑 .env 文件添加数据库凭证

# 3. 启动服务器
docker compose up -d

# 4. 定义语义层
#    将立方体/视图 YAML 文件添加到 bonnard/cubes/ 和 bonnard/views/

# 5. 将模型部署到服务器
bon deploy

# 6. 连接 AI 代理
bon mcp

对于 Claude Desktop / Cursor:

{
  "mcpServers": {
    "bonnard": {
      "url": "https://bonnard.example.com/mcp",
      "headers": {
        "Authorization": "Bearer your-secret-token-here"
      }
    }
  }
}

bonnard 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。