Saybooks

io.github.alvisoPublished by GitHub account alvisov0.4.0Updated Nov 3, 2026

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

VerifiedStreamable HTTPWeb executable

Overview

Saybooks's hosted MCP server (saybooks.io); OAuth sign-in required; Streamable HTTP.

No AI overview yet: these facts come from the registry entry and the server itself.

Endpoint
saybooks.io
Documentation
saybooks.io
Last checked

Installation

In SourceWeft

  1. Open Saybooks in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.alviso%2Fsaybooks/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "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.

Source: README.md at commit b14f4cd

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

1
  1. v0.4.0LatestNov 3, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts