SQLDesk
New in 0.8 Notebooks: SQL and Python, one named cell at a time 

Query it, chart it, share it. Then hand it to your agent.

SQL, dashboards, notebooks and alerts over more than 60 data sources — and an MCP server that gives your agent your permissions, not a second set of credentials. Self-hosted and open source. Viewers are free, because there is nobody to charge you for them.

Get started View on GitHub

Apache 2.0 · images for amd64 and arm64 · nothing phones home

The SQLDesk query editor: a schema browser on the left, a SQL query grouping orders by week and channel, and below it a stacked area chart of weekly revenue for five channels from August to October.

Every picture on this page is SQLDesk itself, running the demo that manage demo seed builds.

Take the tour

One install, four ways in.

The same data sources, the same permissions and the same result store, whether somebody opens a dashboard, works through a notebook, asks an agent, or watches a topic.

Dashboards

A dashboard people actually open.

Lay out charts from any number of queries, filter them all at once, and refresh them on the server on a schedule — or every 30 seconds for the one on the wall.

  • 28 kinds of visualization, from counters and gauges to sankeys, candlesticks and trees.
  • Alerts to 13 destinations, among them email, Slack, Microsoft Teams, PagerDuty and webhooks.
  • Public links, embeds, and a dashboard sent by email on a schedule.

Dashboards, in the guide →

A SQLDesk dashboard called Sales overview: counters for revenue, orders and average order, a stacked area chart of weekly revenue by channel, a gauge of orders against plan, a bar chart of revenue by region and a table of recent orders.

Notebooks · beta

The work a saved query cannot hold.

A chain of cells in SQL, Python and Scala. Pull from one data source, join it to another, reshape it in pandas or on your Spark cluster, and chart it — with the permissions, result store and scheduler you already have.

  • Cells are named, never numbered: a later cell reads an earlier one by name.
  • A Python cell computes and cannot query, so no credential ever reaches the interpreter.
  • A Scala cell runs on your Spark cluster, through Spark Connect.
  • A cell whose inputs have changed says it is stale, and is left exactly as it was.

Notebooks, in the guide →

A SQLDesk notebook: a SQL cell reading back an earlier Python cell's result as a table of revenue by region, and below it a Python cell drawing that result as a Plotly bar chart.

MCP

Your agent, your permissions.

Point Claude — or anything else that speaks MCP — at SQLDesk and it sees what you see: the same data sources, row limits and groups. It looks for work your team has already done before it writes anything new.

  • 18 tools: find existing queries and dashboards, read the catalog, check SQL, then run it.
  • It can build as well as read — a query, a chart, a dashboard, a muted alert.
  • Writes are off until you turn them on, arrive as drafts, and are capped per day.
  • Every call is audited, refusals included, with what it changed.

MCP, in the guide →

> which region brings in the most revenue?

  find_queries("revenue by region")
    #2 Every region, measured four ways
      Four measures per region, for finding the one that behaves unlike the rest.
      data source: Demo data · updated 2026-11-06
      - Revenue by region (column chart; x: region; y: revenue)
    …

  check_sql(…)
    WARNING: No WHERE clause and no LIMIT
    WARNING: ORDER BY with no LIMIT

  run_query(… limit 3)
    region           revenue     orders
    Japan            132212.86   508
    United Kingdom   111590.14   443
    South Africa     105544.56   423

The server’s own replies against the demo data, cut where marked …

Streams

A Kafka topic you can chart.

A cluster is a data source and its topics are its tables. Write SQL against a live window of one, in the same editor, with Execute replaced by Start streaming.

  • JSON, Avro and Protobuf, with or without a schema registry.
  • Per-minute rollups keep the part worth keeping, for 24 hours.
  • A slot is a topic, not a viewer: five people watching one share one consumer.

Streams, in the guide →

A streaming query in SQLDesk counting orders by region in ten-second buckets, drawn as a stacked bar chart that grows as events arrive from a Kafka topic, with the consumer's rate shown at the top.

Quick start

Running in three commands.

A published image, plus the Postgres and Redis it needs. Nothing to build.

# fill in the three secrets it asks for
$ cp .env.example .env

$ docker compose -f compose.prod.yaml run --rm server create_db
$ docker compose -f compose.prod.yaml up -d

→ http://localhost:5000
  • On a Mac, port 5000 is AirPlay’s. Set SQLDESK_PORT and SQLDESK_HOST in .env to another one.
  • Keep your secret key. SQLDESK_SECRET_KEY encrypts every data source password; lose it and they are unreadable.
  • Nothing phones home. No usage data, and no version check unless you point one at a server of your own.
  • On Kubernetes, the Helm chart is in charts/sqldesk. Deploying, in full →

What you get

A query editor, and everything downstream of it.

Analysts write SQL. Everyone else gets dashboards, alerts and links that keep working.

Query editor

Schema browser, autocomplete, formatting, parameters and scheduled refresh. Fork a query, schedule it, publish it.

Dashboards

Drag visualizations into a grid, filter across them at once, and export a one-page report as a PDF or an image.

Alerts

Trigger on a query result and notify any of 13 destinations, with a picture of the chart if you want one.

Upload a file

Drop in a CSV or Parquet file and query it with SQL immediately, backed by DuckDB. No pipeline required.

Visualizations

28 kinds — tables, pivots, cohorts, funnels, maps, sankeys and more — all configured without code.

Permissions

Groups, per-data-source access, view-only roles, features an administrator grants, and public links with their own tokens.

Data sources

More than 60 data sources.

Each is a small plugin over the vendor’s own driver, so a connection behaves the way the vendor intended. The count is of products, not ways in: MySQL on RDS or four flavours of Elasticsearch count once, and files and URLs not at all. manage ds list_types lists every connector your install has.

Warehouses and lakes

  • BigQuery
  • Snowflake
  • Redshift
  • Amazon Athena
  • Databricks
  • ClickHouse
  • Trino
  • Presto
  • Hive
  • Impala
  • Druid
  • Pinot
  • Vertica
  • Exasol
  • Netezza
  • Azure Data Explorer
  • Treasure Data
  • Databend
  • Apache Drill
  • Kylin
  • e6data
  • RisingWave
  • Tinybird

Relational

  • PostgreSQL
  • MySQL
  • MariaDB
  • MySQL on Amazon RDS
  • SQL Server
  • SQL Server over ODBC
  • Oracle
  • CockroachDB
  • MemSQL
  • SQLite
  • Cloudflare D1
  • Apache Ignite
  • Phoenix

Files and sheets

  • File upload, on DuckDB
  • CSV
  • Excel
  • JSON
  • A URL
  • Google Sheets
  • Yandex Disk
  • Other queries’ results

Search and documents

  • Elasticsearch
  • Amazon Elasticsearch Service
  • Kibana
  • MongoDB
  • Couchbase
  • Cassandra
  • ScyllaDB
  • ArangoDB
  • Dgraph
  • SPARQL endpoints
  • eccenca Corporate Memory

Metrics and logs

  • Prometheus
  • Grafana Mimir
  • InfluxDB
  • InfluxDB 2
  • Graphite
  • Amazon CloudWatch
  • CloudWatch Logs Insights
  • Axibase
  • Uptycs

Streams, apps and APIs

  • Kafka
  • Google Analytics 4
  • Google Analytics
  • Google Search Console
  • Salesforce
  • Jira
  • Yandex Metrica
  • Yandex AppMetrica

* In the amd64 image only: their ODBC drivers are published for x86-64 alone.

Releases

One release, one idea.

Each release has a single theme, because a release that does a little of everything is one nobody can describe.

0.8 — Notebooks

Latest

Chains of SQL and Python cells over the data sources you already have, six new chart types, and query pools that keep fifty widgets from opening fifty connections.

0.7 — Kafka Streams

Topics you can query and chart, dashboard folders with a stated meaning, OAuth 2.1 for MCP clients, and permissions an administrator hands to a group.

0.6 — MCP

An agent that reaches your data with your permissions, and a catalog that tells it what the tables mean. Measures are proposed, never assumed.

0.5 — Interface

The application got out of the way of the charts, and stopped fetching the same result once per widget.

Every release, in order →

Worth saying plainly

What it is not.

So nobody installs it expecting one of these. Each one is a decision, not an omission — the reasoning is in the releases.

Under the hood

Boring where it counts.

Backend

Python 3.13, Flask and SQLAlchemy, with RQ workers running queries, schedules and alerts off the request path. The web server, workers and scheduler are separate processes.

Frontend

React and TypeScript, built with Webpack. Visualizations live in their own workspace package so charts can be developed and tested independently of the app.

Storage

Postgres holds queries, dashboards, users and cached results. Redis handles job queues, locks and schema caching. DuckDB backs file upload, stream windows and the handoff between notebook cells.

Deployment

Docker Compose for a single box, or the Helm chart in charts/sqldesk for Kubernetes. Notebook Python runs in a container of its own, off by default. No license server to call.