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.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"gulliver": {
"command": "npx",
"args": [
"-y",
"gulliver-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add gulliver -- npx -y gulliver-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"gulliver": {
"command": "npx",
"args": [
"-y",
"gulliver-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"gulliver": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"gulliver-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub laaielichter ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.0) เข้า registry 4 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv), Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Finance Toolkit, SolidInvoice, Korea Tax Calculator
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo