# verifactu-python MCP server

> Lets an AI client calculate SHA-256 hashes, generate XML records, validate NIFs, and construct tax QR URLs for Spanish VERI*FACTU compliance.

- Repository: https://github.com/ldiazcuadrado/verifactu-python
- Page: https://hostedmcp.org/servers/ldiazcuadrado/verifactu-python
- Transport: —
- Stars: 1
- License: MIT

## FAQ

### What is VERI*FACTU?

It is the Spanish Tax Agency (AEAT) system developed under the anti-fraud law (Royal Decree 1007/2023) where each invoice generates a record with a chained hash.

### How can I use this with Claude or Cursor?

You can add it as an MCP server using uvx to allow your AI assistant to calculate hashes, generate XML, validate NIFs, or build QR URLs.

### What certificate is needed to send data to the AEAT?

You need a qualified electronic certificate, such as a person, entity representative, or seal certificate, which can be loaded in PEM or .p12/.pfx formats.

### Is there a testing environment available?

Yes, the library includes an Entorno.PRUEBAS setting that points to the AEAT external testing portal.
