{"repo":"JustVugg/dbcli","free":true,"listed":false,"github":"https://github.com/JustVugg/dbcli","clone":"git clone https://github.com/JustVugg/dbcli.git","description":"Lightweight, agent-optimized database CLI with one-shot schema introspection, column profiling, and ERD generation.","language":"Python","stars":11,"topics":["agentic-ai","ai","ai-agents","ai-infrastructure","cli","context-optimization","data-profiling","database","developer-tools","devtools"],"license":"MIT","category":"dev-tools","readme_excerpt":"Database CLI built for AI agents. One command to understand any database. Schema, row counts, column profiling, and relationships — in a single call. No other database tool does this. Why not MCP? AI agents already have shell access. MCP wastes hundreds of tokens per message on tool schemas and protocol overhead. dbcli is a simple CLI — zero context cost, zero setup, maximum speed. MCP dbcli --- --- --- Cost per message 200-500 tokens overhead 0 Commands to understand a DB 5-10 tool calls 1 ( snap ) Setup server, config, SDK pip install dbcli Works with any agent needs MCP support just needs a shell Install With optional database drivers: Quick start Commands Command Output Description --------- -------- ------------- connect [--as name] connected:mydb Connect to a database use active:mydb Switch connection status mydb\\ sqlite\\ data.db Show active connection tables one per line List tables schema [table] users(id:INTEGER PK, name:TEXT) Compact schema describe rows:1523 Row count, indexes, FKs indexes idx email(UNIQUE email) List indexes fks user id- users.id List foreign keys q [-f fmt] CSV/JSON/JSONL/TSV Query (default limit 100) sample [N] like query Random rows (default 5) count [where] 42 Count rows exec affected:3 Execute statement exec-file affected:47 Execute SQL file explain plan lines Query execution plan profile per-column stats Data profiling snap schema+profiles+ERD Full DB context audit no pk:orphan table Find structural issues erd users - accounts.id) instead of","default_branch":null,"files":null,"tree":[],"storefront":"/r/JustVugg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JustVugg/dbcli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}