#5252nd of 146 in Backends, databases and hostingFor data and documents, data analysis

harlequin

Terminal SQL IDE with adapters for DuckDB, SQLite, Postgres and other databases

Stars
6.5k
License
MIT
Last commit
Nov 2026
Last release
Oct 2026
Language
Python
Stars, last 29 weeks+573
21 Apr 2026: 5,946 stars28 Apr 2026: 5,970 stars5 May 2026: 5,985 stars12 May 2026: 6,007 stars19 May 2026: 6,034 stars26 May 2026: 6,058 stars2 Jun 2026: 6,073 stars9 Jun 2026: 6,094 stars16 Jun 2026: 6,115 stars23 Jun 2026: 6,130 stars30 Jun 2026: 6,164 stars7 Jul 2026: 6,192 stars14 Jul 2026: 6,208 stars21 Jul 2026: 6,229 stars28 Jul 2026: 6,249 stars4 Aug 2026: 6,265 stars11 Aug 2026: 6,280 stars18 Aug 2026: 6,296 stars25 Aug 2026: 6,318 stars1 Sept 2026: 6,335 stars8 Sept 2026: 6,356 stars15 Sept 2026: 6,376 stars22 Sept 2026: 6,394 stars29 Sept 2026: 6,420 stars6 Oct 2026: 6,433 stars13 Oct 2026: 6,451 stars20 Oct 2026: 6,470 stars27 Oct 2026: 6,482 stars3 Nov 2026: 6,504 stars10 Nov 2026: 6,519 stars

5,946 on 21 Apr 20266,519 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Harlequin is a Python terminal application for writing and running SQL, browsing a data catalog and exporting results. It ships with DuckDB and SQLite adapters, and other databases such as Postgres, MySQL/MariaDB and ODBC connect through separately installed adapter packages. A companion CLI, hsql, runs queries headlessly for scripts and agents, with read-only and timeout options.

Who it is for: Developers and data engineers who query databases from the terminal

Strengths

  • DuckDB and SQLite adapters ship in the box; opens in-memory or file databases directly
  • Adapter plug-ins cover other databases, installable as extras like harlequin[postgres]
  • hsql companion CLI offers --read-only, --timeout and catalog search for agent use
  • Profiles in config files can reference environment variables, keeping credentials out of shared configs

Weaknesses

  • Terminal UI only; no web or desktop interface
  • Adapters install as separate Python packages into the same environment
  • Not an MCP server; agent access goes through the hsql CLI
  • Homebrew formula is community-maintained and less tested than the Python installs

What it needs

  • no GPU
  • Needs Python 3.9+, uv (recommended installer)

What changed

  1. “The DuckDB and SQLite adapters' single-dash -readonly CLI option has been removed. Use -r or --read-only.”

  2. “The DuckDB and SQLite adapters' single-dash -readonly CLI option has been removed. Use -r or --read-only.”

  3. “The DuckDB and SQLite adapters' single-dash -readonly CLI option has been removed. Use -r or --read-only.”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in Backends, databases and hosting

See all 146
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k stars+697 (+0.7%) in 30 dayscustom license93 out of 100
2appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58.1k stars+546 (+0.9%) in 30 daysBSD-3-Clause93 out of 100
3ormTypeScript ORM for PostgreSQL and MongoDB with a plugin SPI and agent skills47.7k starsApache-2.093 out of 100
#4strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k starscustom license92 out of 100
#5traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k starsMIT92 out of 100