
Bookie
io.github.yuens1002由 GitHub 帳號 yuens1002 發布v0.8.5更新於 Oct 24, 2026
Double-entry bookkeeping MCP server — import bank CSVs, categorize, reconcile, tax reports.
概覽
Bookie 是複式記帳 MCP 伺服器,讓助理匯入銀行 CSV、分類支出、對帳並產生稅務報表。
- 可以做什麼
- Bookie 在助理背後維護正確的複式帳簿,採用整數分金額運算與確定性的分類規則。工具涵蓋建立與封存帳戶、記錄平衡交易、將一筆付款拆分到多個類別、匯入銀行或信用卡 CSV(支援預覽與去重)、管理自動分類規則、重新分類項目、對帳、附加收據,以及產生或匯出月度與會計年度報表(如 Schedule C 和 Schedule E)。它也提供帳戶與年度報表資源,以及月末結帳、分類未分類項目和稅務彙總的預設提示。
- 適用情境
- 適合已經在支援 MCP 的助理中工作、希望帳目真正正確而非臨時拼湊試算表的自由工作者、個人創業者與出租房產業主。不適合想要儀表板介面、多使用者存取,或已滿足於 QuickBooks 的使用者。
- 執行需求
- 需要 Node 24 或更新版本、一個 Neon Postgres 資料庫(安裝 neonctl 並註冊免費 Neon 帳號用於初始化),以及支援 MCP 的宿主,如 Claude Desktop、Claude.ai、Cursor 或 VS Code。必要的密鑰為 BOOKIE_DB_URL、BOOKIE_DB_DIRECT_URL 和 BOOKIE_API_KEY,由初始化指令碼輸出。選用的郵件與收據儲存需要 RESEND_API_KEY、RESEND_FROM 以及 AWS 儲存桶憑證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Bookie,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
bookie
An MCP server that keeps books for freelancers and landlords — driven from Claude or GPT instead of QuickBooks.
Ask your LLM to import a bank statement, categorize spending, reconcile a month, or generate a Schedule C. Bookie provides the correct double-entry ledger underneath — so the model reasons over real numbers, not a spreadsheet it's improvising on the fly.
This is for you if: you're a solopreneur, freelancer, or rental property owner already living in Claude or GPT, you're comfortable with a 5-minute setup, and you want books that are actually correct.
Not for you if: you want a dashboard UI, you need multi-user access, or you're satisfied with QuickBooks / a spreadsheet.
What you need before starting
- Node ≥ 24
- neonctl —
npm install -g neonctl(free Neon account; needed for the DB) - An MCP-capable host: Claude Desktop, Claude.ai, Cursor, VS Code, or any host supporting the MCP stdio or HTTP transport
Quick start (local, stdio)
Recommended — from source, fully automated:
npm run setup opens a browser to log into Neon; new to Neon? Use the "Sign up for an account" link and pick GitHub/Google/Microsoft rather than email+password — it completes in the same browser round-trip, no email-verification detour that could interrupt the CLI mid-wait.
npm run setup prints a ready-to-paste Claude Desktop config block at the end:
Adding another machine to the same ledger — no clone needed: stdio is a local process — every machine running a stdio MCP client spawns its own copy of the server, so each one otherwise needs its own checkout. Once the Neon DB is provisioned (via npm run setup above, on any one machine), every other machine just needs the same connection strings — no git clone, no npm install, no npm run build to keep in sync. Point that machine's MCP host at the published package instead:
npx fetches and runs the published version on demand — every machine pointed at the same BOOKIE_DB_URL shares one ledger, without any of them (besides the original) needing a checkout.
Bootstrapping a DB without cloning at all: if you don't have connection strings yet from any machine (e.g. you created the Neon project manually instead of via npm run setup), push bookie's bundled schema directly:
Then use the same npx -y bookie-mcp config above.
Quick start (remote, HTTP — for Claude.ai mobile)
Deploy to Railway with one click:
Railway pulls the pre-built image from GHCR — no source build needed. Set the required env vars when prompted. See docs/DEPLOYING.md for the full walkthrough (env var reference, Neon + Resend setup, Claude.ai OAuth connector).
Why no UI?
The host LLM already reads CSVs, sees receipt images, and writes prose. Bookie owns the things an LLM shouldn't improvise: a correct double-entry ledger, integer-cent money math, deterministic categorization rules, and reproducible reports. The model handles language and vision; the server handles the books.
Tools
The full, always-current tool reference lives in docs/TOOLS.md (regenerate with npm run docs:tools). Today:
Resources
Bookie exposes two MCP resources that an LLM can read without calling a tool:
Prompts
Three canned workflow prompts guide the LLM through common bookkeeping tasks:
Configuration
See .env.example for the full reference. Key variables:
Docs
- Architecture — data model, transports, layering
- Deploying — Railway + Neon + Resend setup
- Roadmap — phased plan
- Changelog — what shipped
- Releasing — versioning + release process
- Tools — generated manual
- Contributing — setup, conventions, tests
Safety
Bookie stores financial data in your Neon Postgres database; connection strings live in .env (gitignored) and Railway env vars — never commit them. The HTTP transport requires auth on every /mcp request: either a static Bearer token (BOOKIE_API_KEY) or an OAuth JWT issued by the /token endpoint. Always set at least one before exposing the server beyond localhost. See docs/DEPLOYING.md for the full Claude.ai connector OAuth setup.
License
MIT
來源:README.md,提交 02ca240
工具
0版本歷史
1- v0.8.5最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分