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 分

    请在仓库或注册中心条目中声明许可证。