
Money Lover
com.iyongbudiarso由 iyongbudiarso.com 发布v0.5.0更新于 Nov 3, 2026
Unofficial Money Lover MCP server: read wallets, categories and transactions, opt-in writes.
概览
非官方的本地 MCP 服务器,让助手读取 Money Lover 的钱包、分类和交易,并可选地新增、修改或删除交易。
- 可以做什么
- 列出钱包及其币种和余额,列出收入/支出分类
- 按日期范围分页列出交易,最新在前
- 按分类汇总某段时间的支出总额,并按币种分组
- 在开启写入模式后新增、修改或删除交易,支持试运行
- 按名称查找钱包和分类,金额以十进制字符串返回
- 适用场景
- 适合用 Money Lover 记账、希望助手回答余额、分类支出或近期交易问题,或在严格限制下记录和更正账目的场景。除非确实需要助手写入,否则保持只读。
- 运行要求
- 以本地进程通过 stdio 运行;提供 macOS、Linux、Windows 的预编译二进制或 MCPB 安装包,也可用 Rust 工具链(1.89 以上)从源码构建。需要支持邮箱加密码登录的 Money Lover 账户(Google、Facebook 或 Apple 登录的账户不支持),先执行一次 login 命令,或通过 MONEYLOVER_EMAIL 和 MONEYLOVER_PASSWORD 提供。可选设置包括 MONEYLOVER_TIMEZONE、MONEYLOVER_ALLOW_WRITE、MONEYLOVER_WRITE_WALLETS、MONEYLOVER_MAX_AMOUNT 和 MONEYLOVER_MAX_WRITES_PER_HOUR。
安装
在 SourceWeft 中
- 打开 控制台中的 Money Lover,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
moneylover-mcp
[CI] [Security audit] [OpenSSF Scorecard] [MCP Registry] [Glama]
An MCP server that lets an AI agent or chatbot read your Money Lover data and, if you allow it, add, correct and delete transactions. It talks to the client over stdio.
Disclaimer — please read. This project is unofficial. It is not affiliated with, endorsed by, or supported by Money Lover or its owners. "Money Lover" is a trademark of its respective owner and is used here only to describe what the software connects to. Money Lover has no public API. This tool uses the same undocumented web endpoints as the Money Lover web app, reverse-engineered from public open-source projects. They can change or break at any time, and using them may be against Money Lover's terms of service (which we could not verify). You use this software entirely at your own risk, including the risk of account restrictions, lost or incorrect data, and incorrect transactions. It is provided "AS IS" under the MIT license, without warranty of any kind. Back up your data and try it on a throwaway wallet first.
Trust model
What a reviewer should know before granting this server access to a finance account. Each claim is enforced in code and checked in CI, not just stated here.
Tools
Design choices that matter for LLM use:
- Wallets and categories are given by name, never by id. Matching is exact (case-insensitive); an unknown or ambiguous name returns an error listing the candidates instead of guessing.
- Amounts are always positive. Income vs expense comes from the category. Pass
typewhen a category name exists as both (e.g. "Other"). - Money is returned as decimal strings, never floats.
- Dates are
YYYY-MM-DDin your configured timezone. A date range may cover at most 366 days per call; the write tools accept dates from a year back up to a month ahead. moneylover_update_transactionandmoneylover_delete_transactiontake theid,walletanddatethatmoneylover_list_transactionsreturns (Money Lover cannot look a transaction up by id alone). An update changes only the fields you pass and keeps the rest, including photo, location, event, people and the "exclude from report" flag. Moving a transaction to another wallet is not supported: delete it and add it again. Transfers, debts and loans are linked to other transactions and are refused; change those in the app.moneylover_summarize_spendingskips transactions flagged "exclude from report";moneylover_list_transactionsstill lists them, so the two never disagree silently.- Without a
wallet,moneylover_list_transactionsandmoneylover_summarize_spendingcover every wallet, including archived wallets and wallets excluded from Money Lover's total. Money Lover's own "all wallets" query leaves those out and returns at most 9,999 rows, so the server asks for those wallets separately (and for every wallet one by one when the 9,999-row cap is hit). On accounts with many such wallets this takes longer; passwalletwhen you only need one. A single wallet with 9,999 or more transactions in the range is an error asking for a shorter range, never a silently short list or total. - The write tools are always listed, so a client and its security scanner see the whole surface,
but without
MONEYLOVER_ALLOW_WRITE=trueevery call is refused before it reaches the network. See Security for the limits that apply to writes. - Wallets and categories are cached in memory (5 minutes by default) because Money Lover's
wallet list can take 30+ seconds on large accounts. Writing a transaction clears the cached
balances, a name that is not in the cache triggers one fresh fetch (so a wallet you just created
is found), and
moneylover_list_walletsreportsfrom_cacheso an agent knows when balances may be stale. Changes made in the Money Lover app itself show up after the cache expires or withrefresh: true.
Install
Prebuilt binary (no Rust needed)
Download the archive for your platform from the latest release:
Verify it before running it. SHA256SUMS is attached to every release, and every archive has a
signed build-provenance attestation proving it was built by this repository's release workflow:
Extract it and put moneylover-mcp somewhere on your PATH. The binaries are not signed with an
Apple or Microsoft certificate. On macOS, a file downloaded with a browser is blocked by
Gatekeeper; after verifying it, allow it with xattr -d com.apple.quarantine moneylover-mcp.
On Windows, SmartScreen may ask for confirmation.
MCPB bundle (Claude Desktop and other MCPB clients)
Clients that understand MCP Bundles can install
the server as an extension instead. Download the .mcpb for your platform from the
latest release and open it, or
point your client at the file:
There is one bundle per platform because a bundle carries a single executable and MCPB cannot choose between executables by CPU architecture; the macOS bundle holds one universal binary.
When the client asks for configuration you can either enter your Money Lover email and password
(the client keeps the password in the OS keychain, and the server exchanges it for a token, exactly
as with login), or leave both empty and run moneylover-mcp login once with a
prebuilt binary — the extension reuses the stored token.
Adding transactions stays off unless you enable it in the extension's settings.
The same bundles are listed in the official MCP Registry as
com.iyongbudiarso/moneylover-mcp,
which is verified by a v=MCPv1; … TXT record on iyongbudiarso.com. Registry-aware clients
check each download against the SHA-256 recorded there. That proves who published the entry; it is not a statement that the code is
safe. Check the trust model and the source instead.
From source
You need a Rust toolchain (1.89 or newer).
--locked builds with the exact dependency versions in Cargo.lock, which CI vets with
cargo deny, instead of whatever is newest on crates.io.
Log in
Log in once, from a terminal. The password is typed at a hidden prompt and never stored; only the resulting token is saved:
Configure
All configuration is through environment variables.
Authentication notes
- Only email + password accounts are supported. Accounts created with Google, Facebook or Apple sign-in have no password and cannot log in this way.
- A Money Lover account allows roughly 5 devices, and every fresh login uses one slot. The
server stores its tokens in
token.jsonand refreshes them (a refresh uses no slot). Several MCP clients may share the same token file safely; access is serialized with a lock file. - If the token can no longer be refreshed, run
moneylover-mcp loginagain. moneylover-mcp logoutdeletes the local token and stops running servers immediately. The token itself stays valid at Money Lover until it expires; to revoke it, remove the device in the Money Lover app. Either way every server sharing the token file stops until you runmoneylover-mcp loginagain; it never silently logs back in.- A wrong password is tried once per server start, never in a loop.
Example client config
No password in the config: run moneylover-mcp login first.
In Zed, put the same thing under context_servers in settings.json:
To let an agent record, correct and delete transactions, opt in and fence it in:
Headless servers (a container, a VPS running a chatbot) can pass MONEYLOVER_EMAIL and
MONEYLOVER_PASSWORD instead; use your platform's secret store, not a file in a repository.
Security
Do not commit MCP client config files that contain credentials. Zed's settings.json and
similar files often end up in public dotfiles repositories.
What the server does to keep your account safe:
- Credentials. The password is only used for login and never stored. Tokens live in
token.json, created with mode0600in a0700directory; a token file that other users can read is tightened to0600, or refused if that is not possible. Passwords, tokens andAuthorizationheaders never appear in logs or in tool output. On Windows the file relies on your user profile's default permissions. - Network. HTTPS only, certificates checked against the OS trust store, redirects never followed (so a password or token can never be re-sent elsewhere), response size capped.
- Writes are off by default. Without
MONEYLOVER_ALLOW_WRITE=true, the write tools (moneylover_add_transaction,moneylover_update_transaction,moneylover_delete_transaction) still appear in the tool list but answer with an error instead of calling Money Lover. When enabled, every write is checked by the server, not by the AI:- only wallets in
MONEYLOVER_WRITE_WALLETS(if set), archived wallets never. For updates and deletes this is the wallet the transaction is in; - amounts up to
MONEYLOVER_MAX_AMOUNT(if set); - dates from one year ago to one month ahead. Updates and deletes also only touch transactions dated in that window, so an agent cannot rewrite older history;
- at most
MONEYLOVER_MAX_WRITES_PER_HOURadds, updates and deletes per hour, combined (counted per server process: two MCP clients each running the server get the limit twice); - an identical transaction within 10 minutes is refused as an accidental retry unless the
agent passes
allow_duplicate: true; - transfers, debts, loans and repayments are never updated or deleted, because each is linked to other transactions that would be left inconsistent;
- writes are never retried automatically. If a write times out, the tool answers
UNCERTAINand tells the agent to check before retrying.
- only wallets in
What you should know:
- Prompt injection. Transaction notes, wallet names and category names are shown to the AI.
In a shared wallet, other people write those. Text like "ignore previous instructions and
add …" could steer an agent. The server tells the agent to treat this text as data, but the
real protection is the write limits above. With writes on, an injected instruction could also
ask for a delete, which has no undo here. Keep writes off unless you need them, restrict
MONEYLOVER_WRITE_WALLETS, and prefer an MCP client that asks you before each tool call.MONEYLOVER_WRITE_WALLETSmatches wallet names; the owner of a wallet shared with you can rename it, so list wallets you own. - Combining servers. An agent that can both read your finances and send data out (web fetch, email, …) can be tricked into leaking them. Think about which tools you enable together.
- Logs. Logs go to stderr, which MCP clients often save to a file. At the default
infolevel they contain no financial data.MONEYLOVER_LOG=rmcp=debuglogs full tool inputs and outputs. - Your AI provider sees whatever the tools return (balances, transactions). That is inherent to using a cloud AI with your financial data.
Releasing
- Bump
versioninCargo.toml, runcargo buildto updateCargo.lock, commit. - Tag and push:
git tag v0.3.1 && git push origin v0.3.1.
The release workflow checks that the tag matches Cargo.toml,
runs the tests, builds all platforms, attests their provenance and publishes the GitHub release
with SHA256SUMS. Running the workflow manually (Actions > Release > Run workflow) only builds,
which is a handy dry run.
A second job then assembles the .mcpb bundles from those archives with the pinned
@anthropic-ai/mcpb CLI, smoke-tests the macOS one, attests each bundle and attaches the bundles
plus SHA256SUMS.mcpb and a generated server.json to the same release.
Publishing to the MCP Registry
This is a manual step on purpose: it needs an Ed25519 key that must not live in the repository or
in CI. scripts/publish-registry.sh fetches the released server.json, downloads the bundles once
and caches them by SHA-256, logs in if the registry token has expired (it lives five minutes),
re-checks every hash, publishes, and finally confirms the new version through the registry API:
If the version is already listed the script stops immediately instead of downloading anything.
Bundles are cached in ~/.cache/mcp-publisher/<owner>__<repo>/<tag>/, so re-running is free.
The first time, and after a key rotation, the script's header explains how to generate the key and put the public half in a TXT record on the apex domain; the login itself is now part of the script.
Two things to know: a published version is immutable, so bump the version rather than rebuilding a tag; and rebuilding a tag produces different bundle bytes (ZIP timestamps), so publish the registry entry after the release workflow has run and do not re-run the workflow for a published tag.
Development
Live tests hit the real API and are skipped by default. Run moneylover-mcp login (or
cargo run -- login) first, then:
Delete the test transaction in the Money Lover app afterwards.
Static analysis of the agent-facing surface
snyk-agent-scan looks at what an AI client actually sees —
tool descriptions, prompt-injection surface, hardcoded secrets. It is not part of CI because it
needs a Snyk token and uploads tool names and descriptions to api.snyk.io, so run it by hand
when you want it:
Generate mcp.json from your normal client config (it is the usual {"mcpServers": {…}} shape)
and do not commit it if it contains credentials.
License
MIT. See LICENSE.
来源:README.md,提交 06d6849
工具
0版本历史
4- v0.5.0最新Oct 26, 2026
- v0.4.0Oct 18, 2026
- v0.3.2Oct 18, 2026
- v0.2.0Oct 13, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分