# VeriFactu

> VeriFactu is a freemium MCP server for finance and payments. Audit VERI*FACTU hash chains and build AEAT tax QR codes and Facturae 3.2.2 invoices. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI
- **Website:** https://mcp.keyflint.dev
- **Repository:** https://github.com/arceedev/verifactu-mcp
- **MCP Registry name:** io.github.ArceeDev/verifactu-mcp
- **Categories:** finance and payments, legal and government
- **Listing updated:** 2026-11-14

## About

Spanish invoicing rules are the whole point of this server. It is aimed at gestorias, accountants and invoicing-software teams, and runs offline and stateless: nothing is stored and nothing is sent to the AEAT.

The chain audit recomputes the SHA-256 fingerprint of each alta and anulacion record the way the AEAT specifies, then checks that every record links to the one before. It accepts JSON (up to 20,000 records) or exported XML validated against the official `SuministroLR.xsd`. The fingerprint code is tested against the three reference vectors the AEAT published. Separate tools produce the tax QR as a URL and PNG or SVG, and build or validate Facturae 3.2.2 files, including VAT breakdown, IRPF withholding, recargo de equivalencia and DIR3 codes for FACe.

A `verifactu_calendar` tool returns the deadlines in force with sources; the README says to confirm them in the BOE. Paid tools cost 1 to 3 credits, helpers are free, invalid input is not charged and failures after charging are refunded. A KeyFlint license is required.

## Features

- **Chain audit:** Checks fingerprints, links, first record, duplicates and cancellations in a record chain.
- **XML validation:** Audits exported VERI*FACTU XML and validates it against the XSD.
- **Single fingerprint:** Computes one record's hash and shows the exact string hashed.
- **AEAT tax QR:** Generates the QR URL and PNG or SVG with printing rules.
- **Facturae builder:** Builds unsigned, XSD-validated Facturae 3.2.2 XML from plain data.
- **Facturae validator:** Checks XSD, arithmetic, NIFs, DIR3 roles and signature presence.
- **Deadline calendar:** Lists deadlines in force with sources, free of charge.

## Good for

- Audit an invoicing program's VERI*FACTU export before filing
- Generate the compliance QR for a printed invoice
- Build a Facturae invoice for submission through FACe
- Validate a NIF or a Facturae file from a chat

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http verifactu-mcp https://mcp.keyflint.dev/verifactu/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.keyflint.dev/verifactu/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "verifactu-mcp": {
      "url": "https://mcp.keyflint.dev/verifactu/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "verifactu-mcp": {
      "type": "http",
      "url": "https://mcp.keyflint.dev/verifactu/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "verifactu-mcp": {
      "serverUrl": "https://mcp.keyflint.dev/verifactu/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "verifactu-mcp": {
      "type": "http",
      "url": "https://mcp.keyflint.dev/verifactu/mcp"
    }
  }
}
```

## Tools

- `validate_invoice_chain`: Audit a chain of VERI*FACTU records
- `validate_verifactu_xml`: Audit exported VERI*FACTU XML with XSD validation
- `verifactu_hash`: Fingerprint of one record
- `generate_verifactu_qr`: Tax QR URL, image and printing rules
- `build_facturae`: Build Facturae 3.2.2 XML from invoice data
- `validate_facturae`: Validate a Facturae file
- `verifactu_calendar`: Deadlines in force with sources
- `check_qr_url`: Check a QR URL
- `validate_nif`: Validate a NIF
- `pricing`: Show credit prices
- `credits_balance`: Show remaining credits

## FAQ

### Does it send anything to the AEAT?

No. The README says it is offline and stateless and sends nothing to the AEAT.

### How many records can one audit check?

validate_invoice_chain accepts up to 20,000 JSON records, and continues_from lets you audit a chain in pieces.

### What does a call cost?

validate_invoice_chain, validate_verifactu_xml and build_facturae cost 3 credits, validate_facturae 2, and verifactu_hash and generate_verifactu_qr 1.

### Which Facturae version does it support?

Version 3.2.2.

### Is VeriFactu free?

VeriFactu has a free plan, with paid plans for more usage or features.

### How do I add VeriFactu to Claude Code?

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

### What are the best alternatives to VeriFactu?

The closest alternatives to VeriFactu are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, NY LLC Publication (FileMyPublication) and Quantivex Research.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [NY LLC Publication (FileMyPublication)](https://ai-powered.com/mcp/ny-llc-publication-filemypublication): NY LLC Publication (FileMyPublication) is a free MCP server for legal and government.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.
- [Provyan](https://ai-powered.com/mcp/provyan): Provyan is a free MCP server for finance and payments.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [SupplyClub Catalog](https://ai-powered.com/mcp/supplyclub-catalog): SupplyClub Catalog is a free MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/verifactu
