Inv.bg-MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Inv.bg-MCPShow me my unpaid invoices from last month"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
invbg-mcp
Remote MCP server (Claude connector) for the inv.bg invoicing API (APIv3). Runs on Cloudflare Workers with Streamable HTTP transport, so it can be added directly as a custom connector in Claude (claude.ai → Settings → Connectors) or as a remote MCP server in Claude Code / Claude Desktop.
Tools
Read
Tool | Description |
| List clients with filters (name, EIK/Bulstat, VAT number, EGN, person/company) and pagination |
| Get a single client by ID |
| List invoices/documents; filter by |
| Fetch ALL documents for a period ( |
| Full document details including line items |
| Only the line items (plus currency and total) of a document |
| Heuristic recurring-billing detection per client+currency: typical amount/day with stability flags, skipped months, unpaid alarms, creators, trend ( |
| Periodic-invoice templates derived from documents flagged |
| Turnover grouped by |
| Collections alarm: outstanding balances bucketed by days overdue (not_due/1-30/31-60/61-90/90+) from the due date, per client with per-invoice breakdown and per-currency totals |
| Which items/services sold how much: quantity, revenue, document count per item and currency, aggregated from line items (period capped at 300 documents) |
| Shareable l.inv.bg link for one or more documents — recipient views/downloads the PDF without login; valid up to 30 days |
| Received/expense payments: amount, date, counterparty, processor, allocation |
| Item/service catalog with search and tag filtering |
| Bank accounts: alias, bank, IBAN, BIC, currency |
| Imported bank transactions |
| Firm profile + next free invoice number |
| Comments on documents (filter by |
| Bulgarian commercial register lookup by EIK/Bulstat or name — official name, VAT number, MOL, address |
Analytics (computed)
Tool | Description |
| MoM / YoY / custom period comparison: totals per currency + per-client movement (new, grown, shrunk, lost clients) |
| Expected monthly income from active recurring clients + overdue collections backlog |
| Client card: yearly turnover, outstanding, payment behavior (avg days to pay from payment records), recurring status |
| Monthly taxable base / VAT / gross per currency (excludes proformas, subtracts credit notes) |
| Collections package: per overdue client a summary + ONE shareable PDF link covering all their overdue documents, ready for reminder emails |
Write
Tool | Description |
| Creates a draft document only ( |
| Records a payment via |
| Adds a client. |
| Sends documents to an email/phone via inv.bg's secure share link (view/download PDF without login) |
| Flips a document's payment status (paid/unpaid) directly, without creating a payment record |
Invoice listings are cached in memory for 5 minutes (analytics tools re-use the same data); any write through the server invalidates the cache.
Related MCP server: InvoiceNinja MCP Server
Setup
npm install
cp .dev.vars.example .dev.vars # then put your real inv.bg API token in it.dev.vars and .env* are gitignored — secrets never go to git.
Local development
npm run dev # http://localhost:8787/mcp
npm run inspector # MCP Inspector to poke at the toolsDeploy
npx wrangler deploy
npx wrangler secret put INVBG_API_KEY # paste your inv.bg token
# optional, recommended — protects the endpoint with a secret URL path:
npx wrangler secret put MCP_AUTH_KEY # e.g. a long random stringConnect to Claude
The endpoint URL is:
https://<worker>.workers.dev/mcp(noMCP_AUTH_KEY), orhttps://<worker>.workers.dev/mcp/<MCP_AUTH_KEY>(recommended)
claude.ai: Settings → Connectors → Add custom connector → paste the URL.
Claude Code:
claude mcp add --transport http invbg https://<worker>.workers.dev/mcp/<MCP_AUTH_KEY>Configuration
Variable | Where | Purpose |
|
| inv.bg APIv3 bearer token |
| same | Optional URL path secret; when set, the endpoint moves to |
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only NuMetric.work accounting & ERP data: statements, KPIs, reports, invoices, documents.
Create PDF invoices from your AI chat: clients, numbering, VAT, overdue reports. All data is local.
Create PDF invoices from your AI chat: clients, numbering, VAT, overdue reports. All data is local.
Create PDF invoices from your AI chat: clients, numbering, VAT, overdue reports. All data is local.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegrates the inFakt API with Claude AI, enabling management of invoices, clients, products, and payments through natural language in Polish.2-
- FlicenseNot gradedqualityCmaintenanceEnables read-only access to InvoiceNinja data, including invoices, expenses, clients, and tax reports, for AI assistants like Claude.1-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with the SuperFaktura invoicing system for managing invoices, clients, and expenses via natural language.1Apache 2.0
- AlicenseNot gradedqualityCmaintenanceProvides structured, read-mostly access to small-business back-office data including customers, invoices, and account notes, allowing Claude to query overdue invoices, revenue summaries, and more.MIT