MCP Catalogs
首页orionbelt-analytics screenshot

orionbelt-analytics

by ralfbecher·29·综合分 45

基于本体的MCP服务器,分析数据库模式并生成带有SQL映射的RDF/OWL本体,用于文本转SQL。

databasedeveloper-toolsknowledge-graph
4
Forks
0
活跃 Issue
本月
最近提交
2 天前
收录于

概述

OrionBelt Analytics是一个全面的MCP服务器,将关系数据库模式转换为带有嵌入式SQL映射的RDF/OWL本体。它支持多种数据库系统,包括PostgreSQL、Snowflake、ClickHouse、Dremio、BigQuery、DuckDB、Databricks和MySQL。该服务器提供具有自动风扇陷阱预防的关系感知文本转SQL功能、用于智能模式发现的GraphRAG以及交互式图表功能。其主要功能是OBQC(基于本体的查询检查),这是一个确定性SQL验证器,可在查询到达数据库之前捕获结构错误。

试试问 AI

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

:跨多个数据库系统的自然语言查询的企业数据分析
:知识图谱应用的模式分析和本体生成
:自动SQL验证和风扇陷阱预防,确保查询正确性
:OrionBelt Analytics支持哪些数据库?
:OBQC是如何工作的?

什么时候选它

当处理复杂的关系型数据库且数据关系不直观,需要对生成的 SQL 进行确定性验证时,选择 OrionBelt。

什么时候不要选它

如果需要对数据库进行写访问(它是只读的),或者偏好更简单的 SQL 生成方法而不希望引入本体复杂性,请不要选择 OrionBelt。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • connect_database

    Connect to any supported database using .env credentials

  • list_schemas

    List available schemas in the connected database

  • discover_schema

    Analyze schema structure with automatic GraphRAG + ontology generation

  • get_table_details

    Get detailed column, key, and constraint info for a specific table

  • generate_ontology

    Generate RDF/OWL ontology from schema with SQL mapping annotations

  • suggest_semantic_names

    Detect abbreviations and cryptic names for business-friendly renaming

  • sample_table_data

    Preview table data with row limit and injection protection

  • execute_sql_query

    Execute SQL with OBQC validation, security checks, and fan-trap detection

  • generate_chart

    Generate Plotly charts (bar, line, scatter, heatmap) with MCP-UI rendering

  • graphrag_search

    Semantic search + schema overview (auto-initialized by discover_schema)

  • graphrag_find_join_path

    Discover join paths between tables via graph traversal

  • query_sparql

    Execute SPARQL queries (SELECT, ASK, CONSTRUCT — auto-detected)

可对比工具

sql-copilotdbt-mcppostgres-mcpmysql-mcp

安装

安装

git clone https://github.com/ralfbecher/orionbelt-analytics
cd orionbelt-analytics
uv sync

配置环境变量:

cp .env.template .env

运行服务器:

uv run server.py

对于Claude Desktop,添加到您的claude_desktop_config.json中:

{
  "mcpServers": {
    "OrionBelt-Analytics": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:9000/mcp",
        "--transport",
        "http-only"
      ]
    }
  }
}

FAQ

OrionBelt Analytics支持哪些数据库?
OrionBelt Analytics支持PostgreSQL、MySQL、Snowflake、ClickHouse、Dremio、BigQuery、DuckDB/MotherDuck和Databricks SQL。
OBQC是如何工作的?
OBQC(基于本体的查询检查)是一个确定性验证器,它在查询执行前将SQL与加载的RDF/OWL本体进行解析,以检查表/列存在性、连接有效性、类型兼容性、聚合正确性和风扇陷阱。

orionbelt-analytics 对比

GitHub →

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