Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
作者による説明(英語の原文)
Dress rehearsal for agent SQL: cost preflight, auto-fix, 1% sample runs, budget-gated execution.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"gulliver": {
"command": "npx",
"args": [
"-y",
"gulliver-mcp"
]
}
}
}ターミナルでこれを実行します
claude mcp add gulliver -- npx -y gulliver-mcpプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"gulliver": {
"command": "npx",
"args": [
"-y",
"gulliver-mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"gulliver": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gulliver-mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月8日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント laaielichter で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.3.0)がレジストリに届いたのは5 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv), Node.jsも必要です。
同じカテゴリには:Finance Toolkit, SolidInvoice, Korea Tax Calculator
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Gulliver
Test on tiny data before you run on giant data.
An open-source MCP server and CLI that gives AI agents a dress rehearsal for SQL: estimate the cost, fix the slow parts, rehearse on 1% → 3% → 10% of the data, predict what 100% will do, and only run the full query inside a budget.
Website · Quick start · Install · Auto-fix · Guards · CI · Compare · FAQ · Roadmap
Works with Claude Code , Codex , Cursor , Gemini CLI , Claude Desktop, VS Code, Windsurf and any MCP client, on DuckDB , Postgres , BigQuery and Snowflake .
New in 0.3.0: a read-only gate that also blocks side-effect functions, SQL hidden in strings and file
access, with DuckDB sandboxed in the engine. A result guard for personal data and prompt injection in rows. A
runaway guard for loops and per-agent budgets. Lint for CI (SARIF, pre-commit),
gulliver fix --verify,
gulliver top, andgulliver reviewwith a GitHub Action. One breaking change: DuckDB can no longer read
files outside the database folder and the current folder unless you allow them
(details). See the changelog.
A real recording of the CLI on the demo database (script: docs/demo.sh).
In *Gulliver's Travels*, Gulliver visits Lilliput, a land of tiny people, and Brobdingnag, a land of giants.
Gulliver does the same with your data: it tries your query in Lilliput first, and only walks into Brobdingnag
when it knows what will happen there.
Agents write SQL that works on a small table and breaks on a big one. They do not know that events has 5 billion rows, that a join multiplies rows, or that a forgotten partition filter scans every day since 2019. Benchmarks score agents on *is the answer right*, never on *what did it cost* or *does it still work at 100x*. One unlucky query can burn a monthly budget.
Gulliver sits between the agent and the warehouse:
| Step | Tool | What happens |
|---|---|---|
| 1 | gulliver_inspect | Which tables are big? Rows, bytes, partitions, columns. Metadata only, free. |
| 2 | gulliver_preflight | Bytes, rows and money before running, plus scale lint (15 rules), the read-only gate and the budget gate. When a safe rewrite exists, the answer already contains the fixed SQL (autofix). |
| 3 | gulliver_rehearse | Runs the query on 1%, 3% and 10% samples, fits a growth curve and predicts the full run with a confidence range. Catches joins that multiply rows. |
| 4 | gulliver_run | Runs the full query only inside the budget. Otherwise answers needs_rehearsal or needs_approval. The rows come back marked as untrusted data, with secrets masked and personal data flagged. |
| 5 | gulliver_receipt | Markdown proof for the human: what was estimated, rehearsed, approved and run, and predicted vs actual. |
Every answer has a status and a next_step, so even small models know what to do next.
Gulliver does not only say no. gulliver_fix rewrites the SQL for the agent and labels every change. same (exactly the same rows) is only claimed when Gulliver has checked the column types on the connection; everything else (assumes, nulls, changes) needs mode=all and says what may differ. With a connection it estimates the old and the new query side by side, so nobody has to trust the saving blindly. With --verify it also tests every rewrite on generated edge-case data and shows a counterexample when the rows differ.
Agents also fail in ways that have nothing to do with size. Gulliver guards those too (details in Guards for agents):
| Guard | Problem it solves |
|---|---|
| Read-only gate | "Only SELECT" is not read-only: a SELECT can stop sessions, run SQL hidden in a string, or read ~/.aws/credentials. Refused with codes GS001-GS004; DuckDB is also sandboxed in the engine. |
| Result guard | Rows with emails, card numbers or API keys land in the model's context, and text in a row can carry instructions. Secrets are masked, personal data is flagged, rows are marked untrusted: true. |
| Runaway guard | An agent re-runs the same expensive query in a loop, or one agent spends the team's daily budget. Loops are stopped, and each agent and session can get its own budget. |
And for the pipeline around the query (details in Pipeline tools and In CI and on pull requests):
| Tool | Problem it solves |
|---|---|
gulliver_impact | "If I change or drop this column, what breaks?" Column-level lineage over SQL models or a dbt manifest. |
gulliver_drift | Schema changed under you: columns removed, retyped or added since the last snapshot, plus the models they break. |
gulliver_diff | "Does my refactored / migrated / incremental model return the same rows?" Key-based data diff inside the engine, also across engines. |
gulliver_translate | SQL between DuckDB, Postgres, BigQuery and Snowflake, with warnings and an optional preflight on the target. |
gulliver_incremental | A model rebuilds everything every run. Is incremental safe, what is the SQL / dbt config, and how many rows does it skip? |
gulliver_check | Data quality in one cheap scan: unique keys, not null, accepted values, ranges, freshness, row-count jumps. |
gulliver_top | "Which repeated queries cost the most, and how do I fix them?" Query history grouped by shape, with same-rows fixes priced per month. |
gulliver_review | "Is this pull request safe to merge?" New lint, breaking changes, downstream impact and cost per month of the changed models. |
pip install gulliver-mcp
gulliver demo # creates gulliver_demo.duckdb with 5M events export GULLIVER_DSN=gulliver_demo.duckdb
gulliver inspect gulliver preflight "select country, count(*) from events e join users u on e.user_id = u.user_id group by 1" gulliver lint "select * from events e, users u" # GV003: join without a condition -> blocked gulliver preflight "select * from read_csv('/etc/passwd')" # GS004: a file outside the allowed folders -> blocked gulliver rehearse "select a.event_id, b.event_id from events a join events b on a.user_id = b.user_id"
The last one is the classic agent mistake: a self-join on a non-unique key. The rehearsal predicts the full result (about 255 million rows from a 5-million-row table) and warns that the query multiplies rows, before you run it.
| Sample | Runtime | Output rows |
|--------|----------|-------------| | 1% | 0.4955s | 2,538,840 | | 3% | 1.2153s | 7,625,948 | | 10% | 4.0825s | 25,531,916 |
Prediction for 100%: output rows 256,655,285 (range 179,658,700 - 384,982,928), confidence high Warning: the query multiplies rows: about 256,655,285 output rows from at most 5,000,000 input rows per table (51x)
The real full run returns 254,966,150 rows.
Add --json to any command for machine-readable output. Exit codes: 0 ok, 1 error, 2 blocked, 3 needs rehearsal or approval, 4 a data check failed, so it also works as a CI check.
Gulliver is an MCP server (stdio or Streamable HTTP), published on PyPI and npm. Run it with uv, or through npx (which uses uv under the hood):
uvx gulliver-mcp --dsn path/to/warehouse.duckdb
npx -y gulliver-mcp --dsn path/to/warehouse.duckdb
Point it at a database with --dsn, or at a gulliver.toml with connections and budgets (--config). No warehouse yet? Run gulliver demo and use gulliver_demo.duckdb.
claude mcp add gulliver -- uvx gulliver-mcp --dsn /abs/path/data.duckdb
Or install it as a plugin, which adds the MCP server and a skill with the rehearsal workflow:
/plugin marketplace add laaielichter/gulliver
/plugin install gulliver@gulliver
Add this to the client's MCP config (claude_desktop_config.json, ~/.cursor/mcp.json or ~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": { "gulliver": { "command": "uvx", "args": ["gulliver-mcp", "--config", "/abs/path/gulliver.toml"] } } }
In .vscode/mcp.json:
{
"servers": { "gulliver": { "type": "stdio", "command": "uvx", "args": ["gulliver-mcp", "--config", "/abs/path/gulliver.toml"] } } }
In ~/.codex/config.toml:
[mcp_servers.gulliver]
command = "uvx" args = ["gulliver-mcp", "--config", "/abs/path/gulliver.toml"]
In ~/.gemini/settings.json, the same mcpServers block as for Claude Desktop above.
gulliver-mcp --http --port 8765 serves http://127.0.0.1:8765/mcp (Streamable HTTP).
Every tool is also a CLI command with --json, and gulliver tools --format openai or --format gemini prints ready-made function-calling definitions for the OpenAI or Gemini APIs.
All 16 tool schemas take about 25.6 KB of the agent's context. gulliver-mcp --toolset core loads only the 8 query tools (about 10.9 KB); --toolset pipeline loads the pipeline tools; a comma list mixes sets and tool names. The server also offers resources (gulliver://rules, gulliver://status, table metadata, receipts), prompts (safe-query-loop, refactor-and-prove, make-incremental), progress during a rehearsal, and a typed outputSchema on every tool.
A human can let approvals ha
冒頭だけを表示しています。続きはリポジトリで読めます