MCP Catalogs
Homeorionbelt-analytics screenshot

orionbelt-analytics

by ralfbecher·29·Score 45

Ontology-based MCP server analyzing database schemas and generating RDF/OWL ontologies with SQL mappings for Text-to-SQL.

databasedeveloper-toolsknowledge-graph
4
Forks
0
Open issues
this month
Last commit
2d ago
Indexed

Overview

OrionBelt Analytics is a comprehensive MCP server that transforms relational database schemas into RDF/OWL ontologies with embedded SQL mappings. It supports multiple database systems including PostgreSQL, Snowflake, ClickHouse, Dremio, BigQuery, DuckDB, Databricks, and MySQL. The server provides relationship-aware Text-to-SQL with automatic fan-trap prevention, GraphRAG for intelligent schema discovery, and interactive charting capabilities. Its key feature is OBQC (Ontology-Based Query Check), a deterministic SQL validator that catches structural errors before queries reach the database.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Enterprise data analysis with natural language queries across multiple database systems
you:Schema analysis and ontology generation for knowledge graph applications
you:Automated SQL validation with fan-trap prevention to ensure query correctness
you:What databases does OrionBelt Analytics support?
you:How does OBQC work?

When to choose this

Choose OrionBelt when working with complex relational databases where data relationships aren't intuitive and you need deterministic validation of generated SQL.

When NOT to choose this

Don't choose OrionBelt if you need write access to databases (it's read-only) or if you prefer a simpler SQL generation approach without ontology complexity.

Tools this server exposes

12 tools extracted from the README
  • 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)

Comparable tools

sql-copilotdbt-mcppostgres-mcpmysql-mcp

Installation

Installation

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

Configure environment variables:

cp .env.template .env

Run the server:

uv run server.py

For Claude Desktop, add to your claude_desktop_config.json:

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

FAQ

What databases does OrionBelt Analytics support?
OrionBelt Analytics supports PostgreSQL, MySQL, Snowflake, ClickHouse, Dremio, BigQuery, DuckDB/MotherDuck, and Databricks SQL.
How does OBQC work?
OBQC (Ontology-Based Query Check) is a deterministic validator that parses SQL against the loaded RDF/OWL ontology to check table/column existence, join validity, type compatibility, aggregation correctness, and fan-traps before query execution.

Compare orionbelt-analytics with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.