dbprint
What it does
A database's schema, value lists and joins, from a snapshot in your repo - no database connection.
- Connects Läuft auf deinem Computer
- Account or key No key needed
- Category Datenbanken & Datensätze
Installation
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
3/3 Prüfungen bestanden · Läuft auf deinem Computer · ✓ Befehle geprüft am 13. Nov. 2026
Zuerst: Welche KI nutzt du?
Wähle deine App, dann erscheinen die Schritte unten.
Klappt mit Claude, aber erst etwas vorbereiten
Installiere zuerst Python (uv) auf deinem Computer (nur einmal) · Nur in der Claude-App für den Computer (Windows oder Mac), nicht im Web oder auf dem Handy
Python (uv) installieren
Nur einmal; gilt für alle Server, die Python (uv) brauchen
Einstellungsdatei der Claude-Desktop-App öffnen
SettingsDeveloperEdit Config
Diese Einstellungen einfügen und speichern
{ "mcpServers": { "dbprint": { "command": "uvx", "args": [ "dbprint", "serve", "--project", "your-value" ] } } }Claude beenden und neu öffnen
Ausprobieren
Nutze dbprint und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Claude sagt, dass es dbprint nutzt, oder ein Werkzeug von dbprint in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von Anthropic abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
ChatGPT kann dbprint noch nicht verbinden
dbprint läuft auf deinem Computer, aber ChatGPT verbindet nur Server, die im Web laufen
Das kannst du stattdessen tun
A · Eine App nutzen, die dbprint verbinden kann
- Installiere zuerst Python (uv) auf deinem Computer (nur einmal) · Nur in der Claude-App für den Computer (Windows oder Mac), nicht im Web oder auf dem Handy
- Installiere zuerst Python (uv) auf deinem Computer (nur einmal)
- Installiere zuerst Python (uv) auf deinem Computer (nur einmal) · Kein Ein-Klick-Button: Einstellungen einfügen und Werte selbst ausfüllen
- Installiere zuerst Python (uv) auf deinem Computer (nur einmal) · Kein Ein-Klick-Button: Einstellungen einfügen und Werte selbst ausfüllen
B · Andere in Datenbanken & Datensätze, die mit ChatGPT funktionieren
Aus den meistgenutzten derselben Kategorie, nur solche, die per Adresse ohne Schlüssel verbinden
- Supabase✓ ChatGPT
- Appwrite MCP✓ ChatGPT
- Pg Aiguide✓ ChatGPT
Klappt mit Claude Code, aber erst etwas vorbereiten
Installiere zuerst Python (uv) auf deinem Computer (nur einmal)
Python (uv) installieren
Nur einmal; gilt für alle Server, die Python (uv) brauchen
Terminal öffnen
Mac: Command+Leertaste drücken und Terminal tippen · Windows: PowerShell öffnen
Diesen Befehl einfügen und Enter drücken
claude mcp add --scope user dbprint -- uvx dbprint serve --project your-value/mcp in Claude Code eingeben
dbprint sollte in der Liste als verbunden erscheinen
Ausprobieren
Nutze dbprint und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Claude Code sagt, dass es dbprint nutzt, oder ein Werkzeug von dbprint in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von Anthropic abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Klappt mit Cursor, aber erst etwas vorbereiten
Installiere zuerst Python (uv) auf deinem Computer (nur einmal) · Kein Ein-Klick-Button: Einstellungen einfügen und Werte selbst ausfüllen
Python (uv) installieren
Nur einmal; gilt für alle Server, die Python (uv) brauchen
MCP-Einstellungsdatei von Cursor öffnen
~/.cursor/mcp.json
Diese Einstellungen einfügen, leere Werte ausfüllen und speichern
{ "mcpServers": { "dbprint": { "command": "uvx", "args": [ "dbprint", "serve", "--project", "your-value" ] } } }KI-Chat in Cursor im Agent-Modus öffnen
Ausprobieren
Nutze dbprint und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Cursor sagt, dass es dbprint nutzt, oder ein Werkzeug von dbprint in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von Cursor abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Klappt mit VS Code, aber erst etwas vorbereiten
Installiere zuerst Python (uv) auf deinem Computer (nur einmal) · Kein Ein-Klick-Button: Einstellungen einfügen und Werte selbst ausfüllen
Python (uv) installieren
Nur einmal; gilt für alle Server, die Python (uv) brauchen
MCP-Einstellungsdatei von VS Code öffnen
MCP: Open User Configuration
Diese Einstellungen einfügen, leere Werte ausfüllen und speichern
{ "servers": { "dbprint": { "type": "stdio", "command": "uvx", "args": [ "dbprint", "serve", "--project", "your-value" ] } } }KI-Chat in VS Code im Agent-Modus öffnen
Ausprobieren
Nutze dbprint und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn VS Code sagt, dass es dbprint nutzt, oder ein Werkzeug von dbprint in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von VS Code abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Für Entwickler: Terminal-Befehle und JSON-Einstellungen
Auf deinem Computer installiert
Claude Code
claude mcp add --scope user dbprint -- uvx dbprint serve --project your-valueClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"dbprint": {
"command": "uvx",
"args": [
"dbprint",
"serve",
"--project",
"your-value"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"dbprint": {
"command": "uvx",
"args": [
"dbprint",
"serve",
"--project",
"your-value"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"dbprint": {
"type": "stdio",
"command": "uvx",
"args": [
"dbprint",
"serve",
"--project",
"your-value"
]
}
}
}Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.
Auf einen Blick
- Downloads pro Wochei
- 283/Wo.
- Verbindung
- Läuft auf deinem Computer
- Neueste Versioni
- 0.20.0
- Kategoriei
- Datenbanken & Datensätze
- In der Registry veröffentlichti
- 8. Nov. 2026
- Code zuletzt geänderti
- 8. Nov. 2026
- Entwickler
- jakubro
- Pakete
pypi: dbprint- Website
- jakubro.github.io
- Registry-Status
- Aktiv
Welche Apps ihn nutzen können
Basierend darauf, wie sich dieser Server verbindet, und auf der eigenen Doku jeder App, geprüft am 10. Nov. 2026.
Laufen auf deinem Computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Was er kann
Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.
Basischecksi
Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 13. Nov. 2026
- ✓ Bestanden
Entwickler passt zum Repo
Der Registry-Name wurde mit dem GitHub-Konto jakubro bestätigt, dem das Repo gehört
- ✓ Bestanden
Wird noch gepflegt
Code zuletzt geändert: vor 5 Tagen
- ✓ Bestanden
Hat eine Lizenz
Nutzt Apache-2.0
- – Nicht zutreffend
Endpunkt antwortet
Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet
- – Nicht zutreffend
Anmeldung mit OAuth
Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen
- … Noch nicht geprüft
Keine versteckten Anweisungen in Tool-Beschreibungen
Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen
Diskussion
Fragen, Tipps teilen oder melden, dass etwas nicht geht. Sortiert nach „hilfreich“.
Noch keine Beiträge. Stell die erste Frage oder teile einen Tipp.
Beiträge hier stammen von Nutzern, nicht vom PopNx-Team.
Nutzerbewertungen
Noch keine Bewertungen
Im Vergleich mit anderen in Datenbanken & Datensätzei
- Mehr Sterne als 89 % der anderen 1183 Server in dieser Kategorie
- Neuer in der Registry veröffentlicht als 88 % der anderen 1183 Server in dieser Kategorie
- Basischecks gleich gut wie oder besser als bei 100 % der anderen 1183 Server in dieser Kategorie
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Häufige Fragen
Ist dbprint sicher?
Er hat 3 von 3 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.
Welche Schlüssel oder Codes braucht er?
Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.
Läuft er auf meinem Computer oder in der Cloud?
Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).
Wird er noch gepflegt?
Das GitHub-Repo wurde zuletzt vor 5 Tagen geändert, und die neueste Version (0.20.0) kam vor 5 Tagen in die Registry.
Welche Apps können ihn nutzen?
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Python (uv) auf deinem Computer.
Was kann ich stattdessen nutzen?
In derselben Kategorie: Dbx, MCP Toolbox for Databases, MCP Toolbox for Databases
Andere in derselben Kategorie
Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.
So liest du eine Karte:↓ Downloads pro Wochei★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
README vom Entwickler
README öffnen
Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.
dbprint
Example · Quickstart · Using dbprint · Compared with other tools · The format
dbprint measures a database and writes each table's DDL, its joins and per-column statistics as plain text to commit beside the code, next to the notes on what the values mean that a person or an agent writes. A coding agent reads both offline, with no database connection.
Migrations and models record a database's shape, not what its values mean: that revenue_cents is gross and every report uses the net column, that status is spelled two ways, how often orders joins shipments one-to-many, that legacy_uid has been unused since a migration. An agent without a database connection cannot find these out. An agent with one re-runs the same queries in every session, at a cost in warehouse time, budget and tokens, and can still misread the result: a count does not say that a code is unused or that a column is gross.
What dbprint does, and what an agent adds:
- It measures the database once. Each table's DDL, its joins — declared, and inferred where the schema declares none — and per-column statistics: null shares, complete value lists with every spelling, ranges, distributions, value shapes and more. On PostgreSQL, MySQL, Snowflake, BigQuery, Databricks, Redshift, ClickHouse, duckdb or SQLite.
- An agent writes down what the numbers mean.
dbprint annotatehands an agent one table's measurements and the questions they leave open — what a code means, what a sentinel date stands for, which rows a report leaves out — and the agent answers them from the project's code and read-only queries, into files dbprint never overwrites.dbprint annotate --checkflags a note the data contradicts. - Every later session reads it offline. Through an MCP server, a packaged skill or
dbprint context, with no database connection and no credentials at the agent. Because it is text in git, a schema or data change shows up in review, anddbprint checkgates it in CI.
With dbprint, agents get more answers right, for less. In our tests across multiple codebases, coding agents reading an annotated print got 80% fewer answers wrong than without one, at 17% lower cost per correct answer, and 90% fewer on questions whose catch only the print stated.
Example
An excerpt of dbprint context --purpose query on a table from the reference print in this repo — the fragment an agent gets before it writes SQL:
# Table: arboretum.seedbank.germination_trial (900 rows, 8 columns)
Column values
| Column | Values (count) | Coverage | Nulls |
|---|---|---|---|
| medium | 'moist filter paper' (176), 'sterile grit' (176), 'vermiculite mix' (176), 'sand tray' (176) {'sand tray' (151), 'Sand Tray' (25)}, 'agar medium' (175), 'control' (21) = 'No growth medium: a no-treatment control group, its germinated_count compared against ambient conditions rather than a physical medium.' | 100% - the list is the whole domain |
Data dictionary
One row per germination attempt run against a batch drawn from an accession.
Joins
- accession_id -> arboretum.seedbank.accession.accession_id (declared)
- collector_id -> arboretum.seedbank.collector.collector_id (inferred)
Three things here no migration states: medium holds exactly these values and no others, sand tray is stored in two spellings, so a filter on one misses 25 rows, and control is not a medium at all. dbprint measured the first two; a person or an agent wrote the third once, and every later session reads it.
The same command runs with no database and no configuration, given only uv:
uvx dbprint context arboretum.seedbank.germination_trial --purpose query \
--project https://github.com/jakubro/dbprint/blob/main/docs/format/v1/examples/production/.dbprint.yaml
Quickstart
Requires Python 3.13+. Install with the driver extra for the database's engine:
uv tool install 'dbprint[postgres]' # or [mysql], [snowflake], [duckdb], [clickhouse], [redshift], [databricks], [bigquery]; SQLite needs none
Add [mcp], [docs] or [dbt] in the same install — uv tool install 'dbprint[postgres,mcp]', or 'dbprint[all]' for every extra — since a later install replaces the earlier one.
The Postgres adapter shells out to `pg_dump` for DDL, so the PostgreSQL client binaries must be on PATH.
Scaffold a project in the repository root:
dbprint init
That writes .dbprint.yaml (commit it), creates prints/, and writes a credentials template to ~/.dbprint/connections.yaml — outside the repo, so secrets never sit next to the config.
Put the connection details in the credentials file:
# ~/.dbprint/connections.yaml
primary: host: localhost port: 5432 database: my_db user: dbprint_ro password: change_me
and tell .dbprint.yaml which adapter to use and which tables to read:
# .dbprint.yaml
connections: primary: adapter: postgres auto: true tables: include:
- "*.public.*"
Credentials resolve from DBPRINT_ _ environment variables first, then ~/.dbprint/connections.yaml, then a project-root .env. Every key of both files is in docs/CONFIG.md.
Profile it:
dbprint generate
Commit the result beside the code. Then inspect it with no database in reach:
dbprint list
Then have an agent annotate a table — the brief carries the annotation skill's steps, so any agent CLI can follow it:
dbprint annotate my_db.public.orders | claude -p
and connect an agent to the result.
Using dbprint
The full documentation is on the dbprint site.
What dbprint does to the database
- It reads. A role that can
SELECTthe profiled tables is enough; each engine's adapter page, linked from your first print, lists the exact grants. The one write is a temporary copy of a sampled table's drawn rows, gone when the session ends (on BigQuery, when its expiration passes), and only for a sampled table —read.tables.materializeturns it off. - It publishes real values. Value lists, ranges and percentiles are cell values, and they are committed to the repository. Nothing is withheld by default: redaction masks, drops or hashes them by column name, by detected sensitivity (
personal_name,national_id, ...) or by shape, keeping every count. A password or key written into the schema itself — a view body, a default, a comment — is masked inddl.sqlon every run, whatever the rules say. - It costs one profiling run, then whatever later runs re-read. A table is re-read when its print is older than its freshness threshold or its settings changed; sampling, row filters and catalog-only reads bound the cost on a warehouse — see choosing what to profile.
What a print looks like
Under the context an agent reads are plain YAML files. An excerpt of one table's statistics.yaml, some fields elided, from the same reference print:
row_count: 2500
columns: catalogue_url: sql_type: character varying(200) nullable: false null_rate: 0.0 classification: text cardinality: 2500 cardinality_ratio: 1.0 inferred: looks_like: url sampled: 1000 matched: 1000 candidate_key: true values:
- value: https://specimens.example.org/accession/1 count: 1
- value: https://specimens.example.org/accession/10 count: 1
... 28 more
values_coverage: 0.012 # top 30 of 2500 - a value list, not a claim of completeness distribution: long_tail
provenance_country: sql_type: character(2) classification: categorical cardinality: 10 inferred: looks_like: country_code sampled: 10 matched: 10 values:
- value: AU count: 250
- value: CA count: 250
- value: DE count: 250
- value: FR count: 250
- value: GB count: 250
... 5 more
values_coverage: 1.0 # the list is the whole domain, not a sample distribution: uniform
received_at: sql_type: timestamp(0) with time zone classification: temporal range: min: '2018-01-08T00:00:00Z' max: '2024-11-28T00:00:00Z' span_days: 2516 percentiles: p01: '2018-02-09T00:00:00Z' p25: '2019-10-02T00:00:00Z' p50: '2021-06-19T00:00:00Z' p75: '2023-03-05T00:00:00Z' p99: '2024-10-25T00:00:00Z'
values_coverage: 1.0 marks those ten values as the *entire* domain, not the top ten, so an eleventh value is ruled out without querying the database. (When a table is profiled from a sample rather than in full, coverage is measured over the rows that were actually read — see Scoped profiling below.)
inferred is what dbprint concluded rather than read: looks_like: country_code is a verdict, and sampled/matched are the evidence for it, so a shape confirmed by ten values never looks like one confirmed by ten thousand.
Alongside it, relationships.yaml carries the join graph:
refers_to:
- column:
- collector_id target_table: arboretum.seedbank.collector target_column:
- collector_id on_delete: RESTRICT detection: declared # or
inferred, when dbprint guessed the edge from naming observed: fanout_avg: 6.25 target_coverage: 1.0
Those two files are measured. Notes are written beside them, by a person or an agent, in the same directory and the same commit — statistics.annotations.yaml for a column:
columns:
collector_id: note: >- FK to collector.collector_id. Field collectors are affiliated with a partner institution; collector.institution names it.
and description.md for table-level narrative that no statistic can express.
dbprint never writes to either file, and both are read alongside the statistics — but on anything the statistics can answer, the statistics win; the narrative is authoritative only on what a number can't.
Print directory layout
prints/<connection>/
manifest.yaml # inventory, freshness, per-table thresholds reading.md # generated guide - how to read the rest of the print diff.yaml # machine-readable drift from the last run manifest.annotations.yaml # optional, connection-level notes you write / / # one directory per FQN segment, e.g. arboretum/seedbank/accession/ ddl.sql # native DDL, normalized for stable diffs statistics.yaml # column distributions relationships.yaml # d