OpenProfit MCP server
2026년 11월 11일 커밋Stripe, OpenAI, Vercel 등 공급업체의 매출과 비용을 추적하여 제품별 순이익을 계산합니다.
다른 이름 lobbystack/openprofit
- 스타
- 9
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 1.0.0
- 마지막 커밋
- 2026년 11월 11일
- 라이선스
- MIT
OpenProfit MCP란?
OpenProfit은(는) MCP server입니다. Stripe, OpenAI, Vercel 등 공급업체의 매출과 비용을 추적하여 제품별 순이익을 계산합니다.
프로젝트 README에서 생성된 요약
OpenProfit MCP server 정보
OpenProfit은 개발자가 애플리케이션의 수익성을 모니터링할 수 있도록 설계된 금융 추적 도구입니다. Stripe, Polar, Paddle과 같은 결제 프로세서의 매출을 집계하는 동시에 OpenAI, Vercel, Anthropic 등 인프라 및 AI 공급업체의 비용 데이터를 가져옵니다. 이러한 다양한 항목을 특정 제품과 매핑함으로써, 사용자는 수수료, 환불, 사용량 기반 과금을 제외하고 실제로 얼마를 남기는지 정확히 확인할 수 있습니다.
사용자는 호스팅 버전을 이용하거나 Postgres 데이터베이스가 내장된 단일 Docker 컨테이너를 통해 셀프 호스팅할 수 있습니다. 시스템은 일일 환율을 사용하여 모든 금액을 선택한 기본 통화로 변환함으로써 다중 통화 환경을 처리합니다. 또한 API가 없는 고정 구독형 서비스나 도메인을 위한 수동 입력 기능도 지원합니다. 이 도구는 마진을 추적하거나, 비용 급증에 대한 알림을 받거나, T2125 또는 Schedule C와 같은 세무 양식용 데이터를 준비해야 하는 소프트웨어 제작자에게 이상적입니다.
활용 사례
- 1제품별 순이익 계산AI 개발자는 Stripe 매출에서 OpenAI 및 Vercel 비용을 차감하여 어떤 특정 애플리케이션이 수익성이 있는지 확인할 수 있습니다.
- 2인프라 비용 급증 모니터링개발자는 월간 청구 금액이 갑자기 두 배로 늘어나거나 수익 마진이 떨어질 경우 이메일을 받도록 자동 알림을 설정할 수 있습니다.
- 3세무용 금융 데이터 준비사용자는 회계 소프트웨어와 호환되는 월간 장부를 생성하거나 특정 세무 일정에 맞춘 형식으로 수치를 추출할 수 있습니다.
- 4사용량 기반 비용 추적개발자는 공급업체의 과금 데이터에서 토큰당 또는 GB당 비용을 자동으로 가져올 수 있습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
OpenProfit MCP 설치 방법
형식 확인: 2026년 11월 10일Claude Code에 OpenProfit MCP 설치
$ claude mcp add --transport http openprofit https://openprofit.dev/mcpCursor에 OpenProfit MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"openprofit": {
"url": "https://openprofit.dev/mcp"
}
}
}VS Code에 OpenProfit MCP 설치
.vscode/mcp.json
{
"servers": {
"openprofit": {
"type": "http",
"url": "https://openprofit.dev/mcp"
}
}
}Codex에 OpenProfit MCP 설치
~/.codex/config.toml
[mcp_servers.openprofit] url = "https://openprofit.dev/mcp"
Gemini CLI에 OpenProfit MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"openprofit": {
"httpUrl": "https://openprofit.dev/mcp"
}
}
}자동 검사
2026년 11월 14일에 실행됨전체 보고서 →아직 인증되지 않았습니다. 서버는 80점 이상의 점수, 심각한 결함 없음, 그리고 검사에 충분한 데이터를 갖추어야 합니다. 검사 방식
- 소스 저장소 연결 및 접근 가능lobbystack/openprofit is public and reachablegithub.com/lobbystack/openprofit ↗통과
- 패키지가 이 저장소를 소스로 지정검사되지 않음
- 빌드 출처(Sigstore 증명)검사되지 않음
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-11github.com/lobbystack/openprofit ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음검사되지 않음
- 패키지와 의존성에 심각한 보안 권고 없음검사되지 않음
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 endpoint가 MCP 핸드셰이크에 응답HTTPS endpoint answered 401 (sign-in required)통과
README
GitHub에서 보기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.
OpenProfit MCP 질문
OpenProfit MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --transport http openprofit https://openprofit.dev/mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
OpenProfit MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
OpenProfit은 서로 다른 통화를 어떻게 처리하나요?
다중 통화 워크스페이스 시스템을 사용하여 일일 환율을 기준으로 모든 금액을 사용자가 선택한 기본 통화로 변환합니다.
OpenProfit을 자체 인프라에서 실행할 수 있나요?
네, MIT 라이선스로 제공되며 Postgres 데이터베이스가 내장된 단일 Docker 컨테이너를 사용하여 셀프 호스팅이 가능합니다.
OpenProfit은 사용량 기반 과금 방식을 지원하나요?
네, 공급업체의 과금 데이터에서 토큰당 또는 GB당 비용을 직접 가져옵니다.
API 키의 보안은 안전한가요?
API 키는 암호화되어 저장되며, 셀프 호스팅할 경우 키가 서버 외부로 절대 유출되지 않도록 설계되었습니다.