Skip to content
MCP server

OpenProfit

Per-product revenue, AI and hosting costs and profit from Stripe, OpenAI and Vercel

Install
Pricing
Open source
Platforms
Web, API, CLI
Runs
Remotely
Version
1.0.0
Listing updated
2 days ago

About OpenProfit

OpenProfit is an open-source MCP server for finance and payments. It runs as a hosted remote server, so there is nothing to install locally.

OpenProfit pulls revenue from a payment processor and costs from AI, hosting, database and email providers into one view, assigning each line to the product it belongs to. Fees and refunds come off first, mixed currencies convert at the day's rate, and the result is profit per product. It also produces a monthly journal for QuickBooks or Xero and year totals laid out on tax-form lines such as Schedule C.

The MCP server is at /mcp on the hosted app or on your own instance. Access uses an API token tied to one workspace, set to Read or Read and write, or OAuth for clients such as claude.ai, ChatGPT and Cursor. A read token can also export a month's journal, which closes that month.

Provider keys stay out of the chat: connect_provider either reads a variable from a local env file via the npm package, or returns a link valid for 15 minutes where you enter the key in the browser. The project is MIT licensed and can be self-hosted as one Docker image with Postgres.

Install

Run in a terminal

claude mcp add --transport http openprofit https://openprofit.dev/mcp

Add to Settings → Connectors → Add custom connector

https://openprofit.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "openprofit": {
      "url": "https://openprofit.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "openprofit": {
      "type": "http",
      "url": "https://openprofit.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "openprofit": {
      "serverUrl": "https://openprofit.dev/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "openprofit": {
      "type": "http",
      "url": "https://openprofit.dev/mcp"
    }
  }
}

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

connect_provider
Connects a billing provider, either from an env file via the local server or through a one-time link on the remote server.
connection_status
Checks whether a provider connection has appeared and synced.
delete_product
Deletes a product from the workspace; changes made by agents can be reviewed.

What it does

Profit per product
Revenue minus fees, refunds, AI bills and hosting for each app.
Provider connectors
Revenue and cost sources including Stripe, OpenAI, Vercel, Neon and Resend.
Keys kept out of chat
No tool accepts a raw provider key as an argument.
Read or write tokens
Per-workspace tokens limit what an agent can read or change.
Alerts and weekly email
Notices when a bill doubles, a margin drops or a sync fails.
Books export
Monthly journal and tax-form lines for accounting software.
Self-hostable
MIT licensed, run as a Docker image.

Good for

  • Ask an agent which product is profitable this month
  • Connect a provider from an env file without pasting the key
  • Export a month's journal for QuickBooks or Xero
  • Spot a doubled AI bill
  • Publish a product's numbers on a public page

Pricing

Open source

MIT licensed and self-hostable; a hosted version has plans whose prices are not published.

Prices change. Check openprofit.dev before you buy.

OpenProfit FAQ

How do I connect it to Claude Code?

Run claude mcp add --transport http openprofit https://openprofit.dev/mcp with an Authorization bearer header, or use npx openprofit login.

Can an agent see my provider keys?

The docs say no tool takes a raw key; keys are encrypted before storage.

Can I self-host?

Yes. It is MIT licensed, runs as one Docker image, and needs a public HTTPS APP_URL for claude.ai.

Which MCP protocol versions are supported?

Streamable HTTP, protocol versions 2025-11-25 and 2026-07-28.

Is OpenProfit free?

Yes. OpenProfit is open source, so you can use and self-host it for free.

How do I add OpenProfit to Claude Code?

Run this command in your terminal: claude mcp add --transport http openprofit https://openprofit.dev/mcp

What are the best alternatives to OpenProfit?

The closest alternatives to OpenProfit are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP and World Monitor.

Alternatives to OpenProfit

  1. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  2. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  3. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  4. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  5. World Monitor

    MCP server

    Live geopolitical intelligence dashboard with an API and MCP server for agents

    • Remote
    • Freemium
    • Analytics and data
  6. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments