Supabase
MCP server for interacting with the Supabase platform
作者による説明(英語の原文)
A database's schema, value lists and joins, from a snapshot in your repo - no database connection.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"dbprint": {
"command": "uvx",
"args": [
"dbprint",
"serve",
"--project",
"your-value"
]
}
}
}ターミナルでこれを実行します
claude mcp add dbprint -- uvx dbprint serve --project your-valueこのサーバーは起動コマンドに値を入れる必要があるので、設定をコピーして入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"dbprint": {
"command": "uvx",
"args": [
"dbprint",
"serve",
"--project",
"your-value"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
このサーバーは起動コマンドに値を入れる必要があるので、設定をコピーして入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"dbprint": {
"type": "stdio",
"command": "uvx",
"args": [
"dbprint",
"serve",
"--project",
"your-value"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント jakubro で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.19.0)がレジストリに届いたのは今日です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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:
dbprint annotate hands 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 --check flags a note the data contradicts.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, and dbprint check gates 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.
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 (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 |
One row per germination attempt run against a batch drawn from an accession.
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
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:
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.
The full documentation is on the dbprint site.
SELECT the 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.materialize turns it off.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 in ddl.sql on every run, whatever the rules say.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:
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:
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:
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.
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
冒頭だけを表示しています。続きはリポジトリで読めます