MCP Catalogs
Homeorionbelt-semantic-layer screenshot

orionbelt-semantic-layer

by ralfbecher·46·Score 45

OrionBelt Semantic Layer converts YAML semantic models to optimized SQL for multiple databases via MCP API.

developer-toolsknowledge-graphai-llm
5
Forks
1
Open issues
this month
Last commit
2d ago
Indexed

Overview

OrionBelt Semantic Layer is an API-first semantic engine that compiles declarative YAML models into optimized, dialect-specific SQL across multiple database platforms including BigQuery, PostgreSQL, Snowflake, ClickHouse, Dremio, Databricks, DuckDB, and MySQL. It enables AI agents to query databases using business concepts rather than raw SQL through a REST API and MCP integration. The solution provides analytics as code with version-controlled YAML models, dialect-specific SQL generation, and a complete integration surface including UI, API, and MCP server.

Try asking AI

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

you:Business intelligence and analytics teams creating semantic models for multiple database platforms
you:AI agents and assistants needing to translate business questions to optimized SQL queries
you:Organizations implementing analytics as code with version-controlled semantic definitions
you:What databases does OrionBelt support?
you:How does OrionBelt handle SQL injection prevention?
you:Can I use OrionBelt with other AI assistants besides Claude?

When to choose this

Teams working with multiple database dialects who want to define analytics semantics once and compile to optimized SQL across platforms through a programmatic interface.

When NOT to choose this

You need write access to databases (this is read-only only), require complex joins beyond star schema patterns, or need extensive custom SQL logic beyond the semantic model capabilities.

Tools this server exposes

12 tools extracted from the README
  • compile_query

    Compile a query into SQL based on the semantic model

  • validate_model

    Validate a semantic model definition

  • list_models

    List available semantic models

  • query_plan

    Get query plan information without executing the query

  • find_semantics

    Find semantic elements in the model

  • execute_query

    Execute a compiled query against the database

  • compile_examples

    Get example queries from model definitions

  • heartbeat

    Invalidate cache for dependent queries

  • get_model_health

    Check model health including orphaned elements

  • export_model

    Export model in different formats

  • get_warnings

    Get warnings from model operations

  • discover_databases

    Discover available databases and schemas

Comparable tools

dbtcubemalloysemantic-layermetabase

Installation

Install the OrionBelt MCP server via the separate MCP client:

pip install orionbelt-semantic-layer-mcp

Add to Claude Desktop claude_desktop_config.json:

{
  "mcpServers": {
    "orionbelt": {
      "command": "uvx",
      "args": ["orionbelt-semantic-layer-mcp"]
    }
  }
}

The main semantic layer API can be installed directly:

pip install orionbelt-semantic-layer

Or via Docker:

docker run -p 8080:8080 ralforion/orionbelt-api

FAQ

What databases does OrionBelt support?
OrionBelt supports BigQuery, PostgreSQL, Snowflake, ClickHouse, Dremio, Databricks, DuckDB/MotherDuck, and MySQL.
How does OrionBelt handle SQL injection prevention?
OrionBelt uses AST-based SQL generation, not string templates, which ensures injection-safe SQL generation across all supported dialects.
Can I use OrionBelt with other AI assistants besides Claude?
Yes, the MCP server also works with Copilot, Cursor, and Windsurf. The main API can be integrated with any platform that supports REST or HTTP endpoints.

Compare orionbelt-semantic-layer with

GitHub →

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