AI-powered invoice automation. Create invoices, track payments, and manage cash flow.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
AI-powered invoice automation for the Model Context Protocol
InvoiceFlow creates professional PDF invoices, predicts late payment risk using AI, auto-sends reminders, matches incoming payments to invoices, and tracks your cash flow -- all through the MCP protocol.
Add to your MCP client config:
Seed a realistic demo dataset β 8 clients across 5 archetypes (on-time, late-payer, high-value, new, chronic-late) and 25-45 invoices over the last 6 months β so every tool returns meaningful output without any credentials. Safe to call multiple times; each call appends a fresh batch with unique UUIDs. Returns counts plus sample_invoice_ids.
Create a new client. Required before creating invoices.
Create an invoice with line items. Auto-calculates subtotal, tax, discounts, and total. Generates sequential invoice numbers (INV-YYYY-NNNN).
Send an invoice PDF via email (requires SENDGRID_API_KEY). Updates status to "sent".
Filter invoices by status, client, amount range, date range, or overdue status. Supports pagination.
Mark an invoice as paid (full or partial). Updates client payment history automatically.
Send a payment reminder. Increments reminder count. Supports custom messages.
AI-powered late payment risk prediction (0-100). Returns risk level, factor breakdown, recommended action, next reminder date.
Generate cash flow summary: total invoiced, collected, outstanding, overdue, collection rate, 30-day projection.
Match incoming payment to invoice by amount and payer email. Auto-marks as paid.
| Resource | Description |
|---|---|
invoices://pending | All unpaid invoices |
invoices://overdue | Invoices past due date |
invoices://stats | Monthly cash flow summary |
clients://list | All clients with payment history |
Scores invoices 0-100 using 4 weighted factors:
| Factor | Weight | What It Measures |
|---|---|---|
| Invoice Amount | 20% | Higher amounts = higher risk |
| Client History | 35% | Pay rate, late payments, avg days |
| Due Date | 30% | Days until/past due |
| Reminders | 15% | Reminders already sent |
Risk Levels: Low (0-30), Medium (31-60), High (61-100)
Copy .env.example to .env and set the variables you need:
| Variable | Required | Description |
|---|---|---|
SENDGRID_API_KEY | For email sending | Send invoices and reminders via SendGrid |
SendGrid is optional. InvoiceFlow works fully offline for invoice creation, risk scoring, cash flow reporting, and reconciliation. Add SendGrid when you want outbound email delivery.
The payment_reconcile tool currently matches amounts you provide (from a CSV, a webhook, or manual entry) against stored invoices. Direct Stripe and PayPal API integration with webhook listeners is planned for v2.0 β see issues for progress.
USD, EUR, GBP, CAD, AUD, JPY, CHF, TRY, BRL, INR
| Tier | Price | Tools | Features |
|---|---|---|---|
| Free | β¬0 | invoice_demo_seed, client_manage, invoice_create, invoice_list, invoice_mark_paid, invoice_remind | PDF invoices, multi-currency, client management, manual reminders |
| Pro | β¬12 lifetime | + invoice_send, invoice_risk, payment_reconcile, cashflow_report | AI risk scoring, SendGrid delivery, payment reconciliation, cash flow reporting |
One-time β¬12 lifetime license (3 machines) β no subscription. See Pro License below to buy and activate.
Tests cover the core business logic:
InvoiceFlow ships in Free mode β invoice_demo_seed, client_manage, invoice_create, invoice_list, invoice_mark_paid, and invoice_remind are open. The following tools require a Pro license:
invoice_send β generate PDF + SendGrid email deliveryinvoice_risk β late-payment risk predictionpayment_reconcile β match Stripe/PayPal/bank payments to invoicescashflow_report β portfolio-wide cash flow + 30-day projectionBuy a Pro License (β¬12, lifetime, 3 machines): https://automatiabcn.lemonsqueezy.com/buy/2d439c05-f463-4137-8883-950e8ee1112d
Or get the Indie MCP Stack Bundle (β¬69, all 4 servers).
Or in your MCP client config:
Validation is cached locally for 24 h β fully offline-capable after first run.
MIT License. See LICENSE for details.
Built by Automatia BCN.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/invoiceflow-mcp)<a href="https://allmcps.com/mcp/invoiceflow-mcp"><img src="https://allmcps.com/api/badge/invoiceflow-mcp?style=directory" alt="Invoiceflow MCP on AllMCPs" /></a>