# Narwhal

> Powerful TUI database client with built-in MCP server and Vim mode

- Canonical URL: https://www.fosshunter.com/tools/narwhal
- JSON export: https://www.fosshunter.com/tools/narwhal.json
- Website: https://github.com/Nonanti/narwhal
- Category: Database
- Open source: yes
- Self-hostable: yes
- Verified listing: no
- Featured: no
- Published at: 2026-06-04T02:24:17+00:00
- Catalog revision: `3967725335`

## Repository metrics (point-in-time)

- Repository: https://github.com/Nonanti/narwhal
- Stars: 45
- Forks: 1
- Open issues: 6
- License: NOASSERTION
- Last push: 2026-10-05T15:55:48+00:00
- Metrics observed at (synced_at): 2026-11-04T07:04:29+00:00
- Archived: no

Tags: Database, Developer Tools, TUI
Tech stacks: Lua, Nix, ratatui, rust, Shell

## Features
- Includes a built-in Model Context Protocol server for seamless AI agent integration. *(highlighted)*
- Supports five major database engines including Postgres, MySQL, and ClickHouse. *(highlighted)*
- Provides Vim style modal editing and a customizable Lua based plugin system. *(highlighted)*

## Description

Narwhal is a feature rich TUI database client featuring a built in Model Context Protocol server. It supports Postgres, MySQL, SQLite, DuckDB, and ClickHouse while providing Vim style editing, Lua plugins, and terminal based ER diagrams.

---
Source: [FOSSHunter — Narwhal](https://www.fosshunter.com/tools/narwhal) — cite `synced_at` and the catalog revision when quoting metrics.
Interpretation rules: https://www.fosshunter.com/llms-full.txt
