Expense

io.github.assaf由 GitHub 帳號 assaf 發布v1.0.0更新於 Oct 25, 2026

Receipt tracker with no friction: receipts arrive by email and file themselves

已驗證Streamable HTTP可網頁執行效率與工作流金融

概覽

AI 產生的概覽

這是收據追蹤應用程式的遠端 MCP 伺服器,讓助理擷取收據、記錄里程、查詢支出並管理費用報告。

可以做什麼
  • 從照片、截圖、PDF、剪貼簿或已連結的信箱擷取收據,辨識商家、金額與類別
  • 記錄行車里程,並依行程日期與類型的 IRS 費率計價
  • 回答關於你支出的問題
  • 管理報告,並依報告匯出年度 PDF 或打包成一個 ZIP
  • 將銀行對帳單與支出進行比對
適用情境
適合需要追蹤個人或小型企業開支、希望助理自動歸檔收據、記錄里程、回答支出問題或核對銀行對帳單的使用者。不適用於企業費用政策、簽核流程或複式記帳。
執行需求
遠端端點 expense.labnotes.org/mcp,無需 API 金鑰。需透過 OAuth 登入帳號(以電子郵件登入)並點選允許。可用設定中的 8 字元邀請碼加入既有帳號。
安裝前請注意
助理可以寫入資料:擷取收據、記錄里程、管理報告與比對對帳單。收據與圖片儲存在帳號中,收據也可從已連結的 Fastmail 或 Gmail 信箱取得。各帳號彼此隔離,但資料屬於整個帳號,帳號內其他使用者也能看到。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "expense": {
      "type": "http",
      "url": "https://expense.labnotes.org/mcp"
    }
  }
}

README

Expense

Expense is a seamless receipt tracking solution: receipts are automatically sent via email, mileage uses the tax rate provided by the IRS, and a smart AI assistant does your data entry so that you can forget about the process altogether.

PRODUCT.md is the map: what the product is, how it works, the pages a person uses, the architecture and data model, and the vocabulary. This file is the front door; that one is the orientation.

Screenshots

[Expense list: reports, receipts, and a mileage route]

[Receipt editor with the receipt image]

[Receipt with hand-drawn notes: the merchant and the total called out, and the receipt filed as Meals and entertainment]

What it does

Receipts come in from a photo, a screenshot, a PDF, the clipboard, a connected Fastmail or Gmail mailbox, or an MCP assistant; each one is read for merchant, amount and category, filed under an IRS Schedule C line, and kept with its image. Drives are mapped and priced at the IRS rate for the trip date and type. The year leaves as a PDF per report, with the receipts attached, or as one ZIP of everything. A warranty document dropped on the warranties page becomes a record you can find by how soon coverage ends. Installed from the Home Screen on a phone, it opens on your expense list.

Free, no card, no ads, no paid tier. Not built for corporate expense policy, approvals, or double-entry bookkeeping. The full tour, with the pages and the rules behind each one, is in PRODUCT.md.

AI assistants (MCP)

The app speaks the Model Context Protocol at https://expense.labnotes.org/mcp. An assistant connects with OAuth — you sign in and click Allow — so there are no API keys. A connected assistant can capture a receipt, log a drive, answer questions about your spending, manage reports, and match a bank statement.

json
// Claude — .mcp.json (no headers needed: the client discovers OAuth){  "mcpServers": {    "expense": {      "type": "http",      "url": "https://expense.labnotes.org/mcp"    }  }}

The reference is docs/mcp.md; the tools are listed in PRODUCT.md.

Accounts

Email is the login name, hashed with scrypt, with a signed-cookie session. Everything belongs to an account; an account has several users; accounts are fully isolated from each other. Sign up for a new one, or join an existing one with the 8-character invite code in Settings. Image keys are namespaced per account, so two accounts can never collide. More detail in PRODUCT.md and docs/accounts.md.

How it is built

One app, one Postgres database, no monorepo. React Router v8 in framework mode (SSR), where the URL tree is the filesystem; Prisma 8 contract-first, so prisma/contract.prisma is the schema and there are no migration files; images stored as bytes in Postgres rather than in object storage. Deployed on Vercel plus Supabase Postgres, where a push to main deploys. The diagrams are in PRODUCT.md.

Run it locally with pnpm dev; the environment variables, the connection poolers and the deploy path are in docs/operations.md and docs/deploy.md.

Documentation

DocumentWhat is in it
PRODUCT.mdWhat it is, how it works, the tour, architecture, vocabulary
AGENTS.mdThe invariants, commands and traps that bind a change here
docs/files.mdEvery notable file, one line each
docs/operations.mdEnv vars, poolers, secrets, incident history
docs/deploy.mdDeploy ordering and the smoke checks
docs/extraction.mdHow a receipt is read, and the caps around it
docs/receipts-by-email.mdThe Fastmail forwarding path
docs/email-connections.mdConnected mailboxes and inbox review
docs/reconciliation.mdMatching a statement to expenses
docs/accounts.mdAccounts, users, invites
docs/mcp.mdThe assistant-facing reference
docs/code-style.md · docs/testing.md · docs/dark-mode.mdConventions

來源:README.md,提交 cf18ba6

工具

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

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

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

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

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

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

    請在儲存庫或註冊中心條目中宣告授權條款。