EveryDev.ai
Subscribe
Home
Tools

5,559+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2807
  • Coding2096
  • Infrastructure997
  • Projects781
  • MCP708
  • Research702
  • Analytics535
  • Marketing516
  • Design459
  • Testing448
  • Data420
  • Security380
  • Integration277
  • Communication271
  • Prompts265
  • Extensions231
  • Voice193
  • DevOps184
  • Commerce180
  • Web125
  • Learning116
  • Finance41
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. 0sql
    0sql icon

    0sql

    Business Intelligence

    Open source semantic layer that turns a business-terms query spec into one deterministic SQL statement without connecting to your warehouse.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Full 0sql planner, CLI and server under the MIT licence; no tiers, seats, quotas or metering.

    Engagement

    Available On

    Windows
    macOS
    Linux
    Web
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Business IntelligenceDatabase ToolsMCP Tools

    Alternatives

    MetabaseDatasetteFirebolt
    Developer
    Strata Business Intelligence, LLCVienna, VAEst. 2025

    Listed Nov 2026

    About 0sql

    0sql is an open source semantic layer from Strata Business Intelligence, LLC that returns SQL instead of running it. You describe tables, dimensions, measures, joins and row-level security policies in YAML, then send a query spec in business terms and receive one planned SQL statement, or an error explaining why the request cannot be resolved. It ships as a single static binary, zsql, under the MIT licence.

    What It Is

    0sql is a semantic layer and SQL planner aimed at AI agents, embedded analytics, BI and data apps, and platform teams. A request names fields rather than columns; the planner finds the tables that hold them, the join routes between them and the aggregation each measure needs. The server never connects to the warehouse, executes nothing and stores no queries, so the caller runs the returned statement with its own credentials.

    How the workflow runs

    The model lives as YAML in git, and a deployed branch is the checked-out branch. zsql serve runs the server locally, validates the model, runs tests and redeploys as files change. An application then POSTs a spec, or a shorthand expression line used from the CLI, and gets back SQL for one of 13 dialects, including Postgres, Snowflake, BigQuery, Databricks and DuckDB. The CLI can separately read a warehouse with a read-only connection to draft models (zsql catalog, zsql generate, zsql sample) and check answers with zsql run.

    Governance, determinism and refusals

    • Security policies in the model become WHERE filters or CASE masks, driven by a security context sent with each request; a branch with policies refuses to plan without one.
    • Measures from different fact tables are aggregated separately and joined on conformed dimensions to avoid fan-out.
    • The same spec yields the same SQL, and assert_sql tests can pin statements so a model change that alters them fails the deploy.
    • Unresolvable requests return typed errors, and near-miss field names are corrected and reported.

    Agent use

    The README says POST /mcp exposes the same reads as MCP tools, so an agent can search fields and plan queries against the model instead of guessing at the schema. The site demonstrates a chat dashboard example in which an agent writes a spec, 0sql returns SQL, and the application runs it against the warehouse. The vendor's comparison table against Cube and MetricFlow is its own claim, drawn from their public documentation.

    0sql - 1

    Community Discussions

    Be the first to start a conversation about 0sql

    Share your experience with 0sql, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Full 0sql planner, CLI and server under the MIT licence; no tiers, seats, quotas or metering.

    • MIT licensed
    • Planner, thirteen dialects, zsql CLI and server included
    • No tiers, no seats, no metered requests
    • Single static binary, self-hosted

    Capabilities

    Key Features

    • Resolves business field names to SQL via a governed YAML semantic model
    • Safe blending of measures across fact tables without fan-out
    • Row-level security policies compiled into WHERE filters or CASE masks
    • SQL generation for 13 dialects
    • Deterministic output with assert_sql tests pinned on deploy
    • Typed errors and field-name corrections instead of wrong results
    • MCP endpoint, /fields, /explore and /explain endpoints for agents
    • Compound, snapshot, inclusion and exclusion measures
    • Period-over-period, running window and top-n via spec decorators
    • Single static binary serving as CLI, planner and server
    • Partition-aware and aggregate-aware routing
    • Accounts, users and read-only query keys for shared servers

    Integrations

    Postgres
    Snowflake
    BigQuery
    Databricks
    Redshift
    Athena
    Trino
    ClickHouse
    Druid
    DuckDB
    MySQL
    SQL Server
    SQLite
    MCP
    Strata
    API Available
    View Docs

    Demo Video

    0sql Demo Video
    Watch on YouTube

    Ratings & Reviews

    No ratings yet

    Be the first to rate 0sql and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Strata Business Intelligence, LLC

    Strata Business Intelligence, LLC publishes 0sql as the open source core of its Strata platform. Strata offers query execution across federated engines, dashboards, self-service analytics and AI analytics over a governed semantic model.

    Founded 2025
    Vienna, VA
    2 employees

    Used by

    An unnamed customer-service organizatio…
    Read more about Strata Business Intelligence, LLC
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    Metabase icon

    Metabase

    Open source business intelligence and embedded analytics platform that lets teams query, visualize, and explore data without writing code.

    Datasette icon

    Datasette

    Open source multi-tool for exploring and publishing data as an interactive website and JSON API.

    Firebolt icon

    Firebolt

    Postgres-compatible analytical database that runs as a single binary or scales to hundreds of nodes, with open source Core and a managed service.

    Browse all tools

    Related Topics

    Business Intelligence

    AI-powered analytics platforms that transform raw data into actionable business insights through intelligent dashboards, automated reporting, and predictive trend analysis.

    107 tools

    Database Tools

    AI-powered tools for database management, optimization, query construction, and schema design that enhance developer productivity and database performance.

    84 tools

    MCP Tools

    Tools built with the Model Context Protocol for specific tasks.

    150 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions