
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 分