Saybooks

io.github.alviso由 GitHub 帳號 alviso 發布v0.4.0更新於 Nov 3, 2026

你的AI根據你自己的銀行對帳單記帳:銀行卡、貸款、帳單、收據和納稅年度。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

Books your AI keeps from your own bank statements: cards, loans, bills, receipts and the tax year.

已驗證Streamable HTTP可網頁執行

概覽

Saybooks 的託管 MCP 服務(saybooks.io);需要 OAuth 登入;Streamable HTTP。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

端點
saybooks.io
最近檢查

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Saybooks,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.alviso%2Fsaybooks/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "saybooks": {
      "type": "http",
      "url": "https://saybooks.io/mcp"
    }
  }
}

README

Saybooks

The books you can talk to. The books that stay books.

Saybooks is an open-source ERP where your agent and your interface are the same system: one command registry, one rulebook, one audit trail. Tell Claude to import a card statement, issue the invoice or ship the order, or click the button: same command, same rules, same record of who did what and why.

For your household: saybooks.io/personal. Hand your agent the bank and card statements and it keeps the accounts, the card, the mortgage and the car loan, the bills and the receipts, with a year summary for taxes. No bank feed and no bank password: a statement is taken only when its rows add up to its printed balances. Any bank, any currency. See a made-up household with no signup, connect https://saybooks.io/mcp/household, or watch the five-part series.

Live: saybooks.io. Try the demo with no signup, or sign in with Google and pick the modules your books carry. Connect Claude by adding https://saybooks.io/mcp as a connector (OAuth, no keys to paste); the same books are in the browser as ordinary pages.

Watch: Saybooks process demos, five short videos recorded live against the demo books: purchase orders and receiving, inventory value, the month-end close, bank reconciliation, and sales tax.

Fourteen modules today, every one spec-first with executable conformance scenarios:

moduleforwhat it keeps
solo (Invoicing)freelancersclients, invoices with a link and a PDF, payments, outstanding; any currency, your tax scheme
o2c (Order to cash)small businessesquotes, orders, shipments, invoices, receivables, with a credit gate the agent cannot talk past
crmsmall businessescampaigns, accounts, contacts with sources, gaps, pipeline; outreach drafts the agent writes and a person sends; events with their source and a calendar
prospectanyone with a bought lista holding area in front of the CRM: the agent stages and judges rows, only a person promotes
jobhuntpeople open to workpostings, applications, interviews, recruiters, a duplicate guard, one next action
p2p (Purchasing)small businesses that buy stockpurchase orders at the vendor's price, goods received against them, vendor bills held to a 3-way match before a person approves paying
inventorysmall businesses that hold stockevery stock move kept, the moving average cost, each shipment's cost and margin, counts with reasons, a value that ties to the books
purchases (Personal finances)anyoneaccounts and net worth, transfers between them, card dues, interest and refunds, expected bills, autopay and what is due, work expenses paid back, tax tags and the year; bank and card statements and receipts the agent reads: rows with provenance, review, subscriptions, spend
bankrec (Bank)anyone whose accountant asks "does the bank tie?"each statement against the books, deposits matched to recorded payments, items in transit named, a sign-off by a person
loans (Personal finances, Loans)anyone with a mortgage or a car loanthe lender's figures, each payment split into principal, interest and escrow, what is owed and when it ends, interest per year, a check against the lender
salestax (Sales tax)anyone who charges sales tax and files itthe return for a month or quarter from what was invoiced and credited, a filing a person records, the payment, a liability that ties
gl (Month-end)anyone closing the booksa close checklist, adjusting entries that balance and can reverse, closed periods that stop moving, corrections in the next open period
bridge (Ledger)anyone with an accountantthe hand-over to QuickBooks, Xero or a plain CSV: map their chart once, export a period, keep what went and through when
coreevery spacecustomers, items, the company profile, search, audit, setup

Why this exists

"Conversational ERP" usually means a chat layer bolted onto a system that doesn't know the agent exists. Saybooks inverts that: every business act is declared once, and everything else is derived from that declaration:

derivedso that
the MCP tool (name, doctrine, JSON Schema, annotations)the agent sees exactly what the UI can do
the UI form (fields, widgets, validation)the human sees exactly what the agent can do
the guard evaluationa greyed-out button's tooltip, the thrown refusal, and the agent's answer are the same sentence, asserted by test
the audit rowevery write from either surface lands in one log with an actor and a reason; refusals included

Nothing outside the registry may call a handler. A click and a tool call go through the same command, the same guards, the same transaction. The two surfaces cannot drift, because neither is authored, and test/contract.test.js fails the build if anyone tries.

Agent-first, not parser-first: where a file is involved (a statement, a receipt), the agent reads it and hands over what it read; the module checks the control totals, keeps the provenance of every row, and refuses what does not reconcile. No bank parsers to maintain.

What's inside

src/registry.js            declare once; derive tools, forms, guards, audit; enforcesrc/workspace.js           a SQLite database per space (per person, per sandbox)src/members.js             capability-token identity: named members with rolessrc/oauth.js               OAuth 2.0 front door for MCP clients (DCR, client-id metadata documents)src/mcp-http.js            MCP over streamable HTTP; one tool list per space's modulessrc/document.js            the invoice document: one PDF renderer, previewed as its own pagessrc/modules/core, o2c, crm, prospect, jobhunt, solo, purchases, bridgespecs/<area>/spec.md       the area spec: calibration, entities, invariants, read modelsspecs/<area>/scenarios/    executable conformance scenarios (refusals are contract)src/conformance.js         replays scenarios through the real registry; keeps evidenceserver.js                  workbench + hosted demo + MCP + OAuth (all one registry)mcp-server.js              stdio MCP for local developmenttest/contract.test.js      the 24-gate contract (see below)test/smoke.mjs             every workbench view and detail panel rendered in headless Chrometest/local/                plain-language scripts run against a local model, checked in the database

Access control: every command declares a permission tag; four roles (owner / controller / clerk / viewer); enforcement at the registry choke point; denials are one-sentence refusals, logged. An agent connecting through a member's key is that member's delegate: their name, their permissions. Every write carries a reason; reads are never logged.

Money is integer minor units everywhere, with a currency; sums are per currency and never cross. Nothing is invented: a missing amount, date or name is asked for, never guessed.

The 24-gate contract

Every module — present and future — is held to: MCP/UI parity · namespace prefixes · doctrine on every write · guards declared · table ownership (no cross-module writes) · a tool budget · module mounts · one-sentence rule · audit behavior · fixture replay · spec conformance (an implementation claiming an area must map every act and pass every scenario) · permissions (unpermissioned commands do not ship) · spec version (a module implements the version its acts file declares) · human-only (a field or a whole act a person must do, refused to agents whatever their role) · the door (staged rows are judged by an agent and promoted only by a person) · the claim gate (what a campaign may say is a person's to set, and holds on edit) · bills (only a person approves paying one; a payment is recorded after it happened, against a statement row that matches it).

The endgame is competing implementations of the same area, certified by replaying the same scenario files — the spec speaks in acts, not commands, so any conforming module runs them.

Run it

bash
npm installnpm test          # the 24 gatesnpm run smoke     # every workbench view and panel, in headless Chromenpm run local -- --model <id> --script plain-invoicing --instructions off   # a local model, plain promptsnpm run demo      # a full quote-to-cash run, human and agent interleavednpm start         # workbench on http://127.0.0.1:8140npm run mcp       # stdio MCP server (OTC_WORKSPACE=you)

Register for a Claude Code session: claude mcp add saybooks-local -e SAYBOOKS_WORKSPACE=$USER -- node <path>/mcp-server.js

Local models

Saybooks is a plain MCP server, so a model on your own machine can keep the books with nothing leaving it. Tested with Gemma 4 26B A4B in LM Studio on a 32 GB laptop: a full invoice cycle and a full statement cycle from plain sentences, no coaching. In LM Studio's mcp.json:

json
{ "mcpServers": { "saybooks": {    "command": "/usr/local/bin/node",    "args": ["/path/to/saybooks/mcp-server.js"],    "env": { "SAYBOOKS_WORKSPACE": "main", "SAYBOOKS_MODULES": "core,solo", "SAYBOOKS_ACTOR": "gemma-4" }} } }

SAYBOOKS_MODULES picks the tools the model sees (core,solo is 35 tools; core,purchases 60; all fourteen modules is 236 and too many for a small model). Load the model with one concurrent slot. What that took, and the six fixes it forced in the tools, is in saybooks.io/notes/local-models; the plain-language harness that measures it is npm run local.

Honest limits

Any currency per invoice but no conversion between them (sums stay per currency), one company per space, no tax engine (rates are captured and frozen per line; determination is an integration's job), no outbound anything: Saybooks never emails a customer, charges a card, or books a shipment. It records what happened. The ledger hand-over writes import files for QuickBooks Online and Xero; it does not post over their APIs. Each area's deferred list, with reasons, is in its spec under specs/.

License

AGPL-3.0-only. Copyright (C) 2026 Peter Varga. If you run a modified Saybooks as a service, share your changes — that's the deal.

來源:README.md,提交 b14f4cd

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v0.4.0最新Nov 3, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分