Skip to main content
Glama
Invoice & Receipt Extract MCP

Invoice & Receipt Extract MCP

README.md
# Invoice & Receipt Extract MCP

Remote MCP server that turns an invoice or receipt (PDF, PNG, JPEG, WebP or plain text) into structured JSON: seller, buyer, VAT IDs, line items, VAT breakdown, totals, IBAN and dates, plus automatic checks (line sums, VAT math, totals, IBAN checksum, VAT ID format, dates).

- Endpoint: `https://fatura-api-lunafzai.pages.dev/mcp` (Streamable HTTP)
- Tool: `extract_invoice` with `file_base64` and `mime`
- Auth: `Authorization: Bearer <key>` or `x-api-key`. Keys come with prepaid call packs (from $9 for 100 calls) sold at https://fatura-api-lunafzai.pages.dev/
- Files are processed in memory and not stored. AI-assisted extraction: review results before booking or payment. Not tax advice and not an EN 16931 / XRechnung validator.

## Claude Desktop / Cursor

```json
{
  "mcpServers": {
    "invoice-extract": {
      "url": "https://fatura-api-lunafzai.pages.dev/mcp",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}
```

`worker.js` is the open connector code (MIT). The extraction API itself is a hosted service by Luna group L.L.C-FZ, Dubai. Support: info@lunafzai.com