
OpenProfit
io.github.lobbystack由 GitHub 账号 lobbystack 发布v1.0.0更新于 Oct 29, 2026
Revenue, AI and hosting costs, and profit per product from Stripe, OpenAI, Vercel and more.
概览
OpenProfit 汇总 Stripe、OpenAI、Vercel 等平台的收入与成本数据,让助手基于按产品计算的利润数字工作。
- 可以做什么
- 读取工作区的收入与成本:来自支付平台的收入,以及 AI、托管与基础设施供应商的成本。
- 对比收入、手续费、退款与成本,得出按产品划分的利润,并统一换算为一种基础货币。
- 查看按产品、收入来源和成本供应商的细分,以及固定订阅和一次性支出。
- 查看月度账簿与税务表格数字,以及每周摘要和费用激增提醒。
- 适用场景
- 适合希望助手回答应用在扣除手续费、退款、AI 账单和托管费用后实际赚了多少,或根据已连接的账单数据整理会计与报税数字的场景。
- 运行要求
- 远程端点 openprofit.dev,必须使用 OAuth 登录;README 还列出邮箱、GitHub 和 Google 登录。需要一个已连接至少一个收入来源和一个成本来源的工作区。也可用 Docker 与 Postgres 自托管,但与托管的 MCP 端点相互独立。
安装
在 SourceWeft 中
- 打开 控制台中的 OpenProfit,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.lobbystack%2Fopenprofit/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"openprofit": {
"type": "http",
"url": "https://openprofit.dev/mcp"
}
}
}README
[OpenProfit. Finance for developers.]
Finance for developers
About OpenProfit
Connect Stripe, OpenAI, Vercel and every other bill. See what each of your apps earns after costs, and get the numbers for your tax return.
Revenue lives in your payment processor. Costs live in a dozen billing pages: AI providers, hosting, databases, email, domains. Each shows its own slice, in its own currency. OpenProfit pulls them together and assigns every line to the product it belongs to.
Connect your whole stack
Revenue from your payment processor. Costs from your AI providers, hosting and infrastructure. Paste an API key and two years of history fill in.
Measure what you keep
Revenue minus fees, refunds, AI bills and hosting, for every app you run. The number on screen is the one you keep.
- Net of fees and refunds. Processor fees and refunds come off before any number is shown.
- One currency. Paid in euros, billed in dollars. Everything converts at that day's rate.
- Profit per product. Three products on one OpenAI account, and you still see which one pays for itself.
Every bill in one place
OpenAI, Vercel, Neon, Resend and 10 more providers report what they charged you, by day or month and by project. Subscriptions without an API take ten seconds to add.
- Usage billing. Per-token and per-GB charges come from the provider's own billing data.
- Flat subscriptions. Supabase, domains, anything else. Enter the price once and it counts every month.
- Mapped to products. Point each OpenAI or Vercel project at the product it serves. The rest stays under Unassigned until you decide.
Know when something moves
A Monday email with last week's revenue, costs and profit. An alert the day a bill doubles, a margin drops or a sync fails.
- Weekly summary. Three numbers and the one change worth knowing. Free on every plan.
- Spike alerts. An email the day a bill doubles or a margin drops. Slack and Discord next.
- Public pages. Share a product's numbers on a page anyone can open. You choose what shows.
Open source, yours to run
MIT licensed. One Docker image with Postgres inside, or point it at your own. Your API keys never leave your server.
Key features
- Overview with revenue, costs, profit, MRR and customers for any period, deltas against the previous one, and a twelve-month chart with last year as a reference line.
- Breakdowns by product, by revenue source and by cost provider.
- Connectors that take an API key with the narrowest access each provider offers, test it before saving, and store it encrypted. OpenProfit only reads with it. Two years of history on the first sync, incremental after that. Security lists what each key can do.
- Product mapping per provider sub-unit, with an Unassigned bucket for the rest.
- Flat costs for subscriptions, domains, one-time purchases and anything without an API.
- Multi-currency workspaces with daily rates and a base currency you can change later. Workspaces in Canadian dollars use the Bank of Canada's rates.
- Books: a monthly journal for QuickBooks, Xero or any accounting software, and the year's numbers on the lines of your tax form (T2125 and TP-80, the T2's GIFI schedules, Schedule C or Form 1120).
- Alerts for cost spikes, margin floors and sync failures.
- Weekly email with last week against the week before.
- Public pages per product, server-rendered from the same data.
- Dark mode, keyboard search, and a layout that holds on a phone.
- Self-hosting in one container with Postgres built in, or a
postgres://URL to your own. - Sign in with email, GitHub or Google.
Connectors
App Store, Google Play and Supabase are next. A connector is one file in src/connectors that implements verify and fetchRevenue or fetchCosts. If you want one that is not here, open an issue with a link to the provider's billing API, or send a pull request.
Getting started
The quickest way is the hosted version at openprofit.dev. Sign in, create a workspace, connect one revenue source and one cost source, and the overview fills in.
Free while your products make under $2,500 a month combined. After that, a flat price that never grows with your revenue. Every connector on every plan.
Self-hosting
One container. Data lives in an embedded Postgres on a volume, so there is nothing else to run.
Open http://localhost:3000/login and enter your email. Without an email provider the sign-in link prints in docker logs openprofit. Set RESEND_API_KEY and EMAIL_FROM to send it by mail. Point DATABASE_URL at a postgres:// server to use your own database.
The self-host guide covers updates, Dokploy and Railway. The environment reference lists every variable.
How it works
One TanStack Start app serves the landing page, the docs and the app. A scheduler inside the server pulls each connection on its cadence, converts amounts to the workspace's base currency, and upserts lines by the provider's own ids, so re-running a range never double-counts. The overview is grouped sums over those lines.
Postgres everywhere: PGlite embedded for self-host and local development, a Postgres server for the hosted version. Auth is Better Auth. Styling is Tailwind.
Development
Bun 1.3 or later.
Sign in once at http://localhost:3000/login, then attach the demo workspace to your user:
Checks: bun run check (Biome), bunx --bun tsc --noEmit, bun run build. After a schema change, bun run db:generate writes a migration; migrations run when the server starts.
Contributing
Issues and pull requests are welcome. Connectors are the most useful contribution. CONTRIBUTING.md lists the files a connector touches, the data it must return and how to test it against a real account.
Found a security problem? Email [email protected] rather than opening an issue.
License
MIT. The hosted version at openprofit.dev is operated by Lobbystack Inc.
来源:README.md,提交 493e08d
工具
0版本历史
1- v1.0.0最新Oct 29, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分