Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
OpenProfit
概览
作者提供的说明(英文原文)
Revenue, AI and hosting costs, and profit per product from Stripe, OpenAI, Vercel and more.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i尚未统计★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在云端运行
- 传输方式: Streamable HTTP
- 分类: 网店与支付
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 注册中心没有列出需要填写的密钥。
你需要
- 在云端运行无需安装任何东西,通过互联网连接
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
- 打开 Settings → Connectors
- 点击 Add custom connector
- 粘贴下面的地址,然后点击 Add
- 如果要求登录,请登录作者的服务
https://openprofit.dev/mcp在终端中运行这条命令
claude mcp add --transport http openprofit https://openprofit.dev/mcp或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"openprofit": {
"url": "https://openprofit.dev/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"openprofit": {
"type": "http",
"url": "https://openprofit.dev/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
- 打开网页版 ChatGPT → Settings → Connectors (Apps)
- 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
- 粘贴下面的地址,起个名字,然后保存
- 如果要求登录,请登录作者的服务
https://openprofit.dev/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 lobbystack 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
端点有响应
尚未检查;我们会轮流检查各个端点
- … 尚未检查
使用 OAuth 登录
尚未检查;我们会轮流检查各个端点
- … 尚未检查
工具描述中没有隐藏指令
尚未检查;我们会在检查端点时读取工具列表
与“网店与支付”中的其他服务器比较i
- 星标数多于此分类中其他 1745 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1745 个服务器的 78% 更新
- 基础检查结果等于或优于此分类中其他 1745 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
OpenProfit 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.0.0)于8天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
有什么可以替代它?
同一分类中有:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Stripe MCP
MCP server integrating with Stripe - tools for customers, products, payments, and more.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Finance for developers
Website · Docs · Self-host · Connectors · Security · Issues
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
| Provider | Kind | What it reads |
|---|---|---|
| Stripe | Revenue | Balance transactions, active subscriptions, MRR, customers |
| Polar | Revenue | Paid orders without tax, Polar's fee, refunds, MRR, active subscriptions |
| Paddle | Revenue | Completed transactions without tax, fees, refunds and chargebacks, MRR, paying subscribers |
| Lemon Squeezy | Revenue | Orders and renewals without tax, refunds, MRR, active subscriptions (no fees in the API) |
| RevenueCat | Revenue | Monthly revenue and proceeds after store commission, MRR, active subscriptions |
| OpenAI | Cost | Daily cost by project and line item |
| Anthropic | Cost | Daily cost by workspace |
| OpenRouter | Cost | Daily cost by API key and model, last 30 days |
| Vercel | Cost | Daily charges per project |
| Cloudflare | Cost | Billable usage, or invoices as fallback |
| Railway | Cost | Monthly usage per project at published rates |
| DigitalOcean | Cost | Monthly cost per project and product |
| GitHub | Cost | Daily usage cost per SKU and repository |
| Twilio | Cost | Daily total usage cost |
| Firecrawl | Cost | Credits per API key at published rates |
| Resend | Cost | Emails per sending domain at published rates |
| xAI | Cost | Daily cost by billing description |
| Neon | Cost | Monthly usage per project at published rates |
| MongoDB Atlas | Cost | Daily invoice line items per project |
| Flat costs | Cost | Any monthly, yearly or one-time amount, typed in |
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.
docker run -d \
--name openprofit \ -p 3000:3000 \ -v openprofit_data:/app/data \ -e SECRET_KEY=$(node -e "console.log(require('crypto').randomBytes(32).toString('base64'))") \ -e APP_URL=http://localhost:3000 \ ghcr.io/morencyr/openprofit:latest
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.
src/connectors/ one file per provider: verify, fetchRevenue, fetchCosts, fetchSnapshots
src/server/ sync runner, FX rates, alerts, weekly email, billing, server functions src/routes/ landing, docs, app pages, API routes src/db/ Drizzle schema for Postgres; migrations in ./drizzle
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.
bun install
cp .env.example .env # set SECRET_KEY bun run db:seed # a demo workspace with a year of numbers bun run dev
Sign in once at http://localhost:3000/login, then attach the demo workspace to your user:
bun run db:seed --owner=you@example.com
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 hello@openprofit.dev rather than opening an issue.
License
MIT. The hosted version at openprofit.dev is operated by Lobbystack Inc.