Narwhal

database MCP Server

TUI database client with a built-in MCP server. Five databases (postgres, mysql, sqlite, duckdb, clickhouse), vim editing, Lua plugins.

Verified
databasedatabasepostgresqlmysql
4 views38 stars0 forksNOASSERTION

Why This Matters

Discovered via github-topic:model-context-protocol and last synced 3mo ago.

Verified
Source
github-topic:model-context-protocol
Stars
38
Last synced
3mo ago
Install
Check source

Install

Install instructions not detected yet

Check the source repository for the latest setup steps.

View source instructions
19
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (19)

describe_table

Full structure of one table — columns, indexes, foreign keys, unique constraints, engine-native DDL.

require

verify-ca

Ctrl-W

Cycle pane focus

describe_schema

Schema / table / view tree for one connection.

Esc

Back to normal mode

explain_query

Driver-native EXPLAIN with the right dialect prefix. Optional `analyze=true` runs the statement for real cardinalities (PG / MySQL / DuckDB).

d

Inject DDL into editor

F7

Stream cursor statement

e

Edit cell value

list_connections

List configured connections — driver, target, SSH flag. No IO, no credentials loaded. Honours the workspace ACL.

Command

Action

F6

Run whole buffer

Enter

Open cell popup

run_query

Execute a single statement. **Read-only by default** — syntactic guard + `BEGIN/ROLLBACK` sandwich + row limit (default 1 000). `read_only=false` opts out, subject to the workspace ACL.

o

Preview table data

Tool

What it does

Ctrl-T

New editor tab

File

What it does

Keys

Action

Works Well With - Skills