Norma 43

io.github.ArceeDevPublished by GitHub account ArceeDevv0.2.0Updated Nov 7, 2026

Parse Spanish Norma 43 bank statements, reconcile against invoices, validate IBAN/NIF/SEPA ids.

VerifiedStreamable HTTPWeb executableFinanceData & Analytics

Overview

AI-generated overview

Parses Spanish Norma 43 bank statement files, reconciles movements against invoices, and validates IBAN, NIF and SEPA identifiers for an AI assistant.

What you can do
  • Parse Norma 43 statements into accounts, IBAN, bank, holder, balances, movements and SEPA fields, with internal total and count checks
  • Export parsed statements to CSV formatted for Spanish Excel, with formula-injection protection
  • Reconcile bank movements against invoices one-to-one, one-to-many and many-to-one, with scores, confidence and evidence, flagging ties as ambiguous
  • Validate IBAN, CCC, NIF/NIE/CIF, SEPA creditor identifiers and Referencia 1, and derive a SEPA creditor identifier from a NIF
  • Show pricing and the remaining credit balance of the license
When to use it
Useful for Spanish accounting firms and finance teams that receive Norma 43 exports from banks each month and want an assistant to read them reliably and match movements to invoices without guessing.
Requirements
A KeyFlint license key supplied as the KEYFLINT_LICENSE environment variable, or as a Bearer token or X-License-Key header in hosted mode. Local use runs the norma43-mcp Python package (for example via uvx); hosted mode runs a Docker container. Optional variables set the gateway URL, public keys, checkout URL, prices, transport, size limit, port and host.
Before you install
Paid per-call credit model: parse and CSV export cost 1 credit, reconciliation 3, and calls fail with an error when credits run out; a failed call after charging is refunded. The license key is a secret and should not be shared. Statement data is processed by the server, and the public key is downloaded from the gateway unless configured. Bank name lookup is informational, and results should be checked against real statements from each bank.

Installation

In SourceWeft

  1. Open Norma 43 in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.ArceeDev%2Fnorma43-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "mcpServers": {
    "norma-43": {
      "type": "http",
      "url": "https://mcp.keyflint.dev/norma43/mcp"
    }
  }
}

README

norma43-mcp

MCP para extractos bancarios españoles Norma 43 (Cuaderno 43 / AEB43 / CSB43) y conciliación bancaria para agentes de IA. Cobro por créditos con KeyFlint.

Todos los bancos españoles exportan Norma 43; gestorías y departamentos financieros concilian cada mes. Este servidor lee el fichero como lo valida un banco y cruza movimientos con facturas sin adivinar nunca.

Herramientas

ToolCréditosQué hace
parse_norma431Cuentas, IBAN calculado, banco, titular, saldos, movimientos, textos 23 y campos SEPA (modalidad 3). Comprueba totales del registro 33, saldo inicial + movimientos = final, recuento del 88, fechas, signos y formatos.
norma43_to_csv1CSV listo para Excel español (;, coma decimal), protegido contra inyección de fórmulas.
reconcile_movements3Conciliación 1:1, 1:N (una transferencia paga varias facturas) y N:1 (pagos parciales). Puntuación 0-100, confianza y evidencias. Empates → ambiguous.
validate_identifier0IBAN, CCC, NIF/NIE/CIF, identificador de acreedor SEPA, Referencia 1.
sepa_creditor_id0Identificador de acreedor SEPA (AT-02) a partir del NIF.
pricing, credits_balance0Precios y saldo de la licencia.

Precios configurables: NORMA43_PRICES="parse_norma43=2,reconcile_movements=5".

Importes: cadenas con 2 decimales; negativo = cargo (sale dinero), positivo = abono (entra).

Instalación

Solo necesitas tu licencia KeyFlint (LIC-...). La URL del gateway, su clave pública y el enlace de compra vienen por defecto.

Claude Desktop, 1 clic: descarga norma43-mcp-X.Y.Z.mcpb de la última release, ábrelo con doble clic y pega tu licencia. Sin terminal ni JSON.

Claude Code:

bash
claude mcp add norma43 -e KEYFLINT_LICENSE=LIC-... -- uvx norma43-mcp

Cursor, Windsurf, Claude Desktop (JSON):

json
{  "mcpServers": {    "norma43": {      "command": "uvx",      "args": ["norma43-mcp"],      "env": { "KEYFLINT_LICENSE": "LIC-..." }    }  }}

Opcionales: KEYFLINT_URL, KEYFLINT_PUBLIC_KEYS (si no se pone, se descarga del gateway y se guarda en ~/.keyflint/keyring.json), KEYFLINT_CHECKOUT_URL.

Tarjetas visuales (MCP Apps)

En Claude, ChatGPT, VS Code y Goose cada herramienta de pago y credits_balance se muestran como una tarjeta interactiva en el chat: saldo de créditos con barra y botón para recargar, o resumen del resultado (cifras clave, incidencias, tabla de vista previa y créditos cobrados). Es el recurso ui://norma43/card.html, autocontenido y sin red. El resto de clientes siguen recibiendo el JSON de siempre.

Modo hosted (HTTP, licencia por petición)

bash
docker build -t norma43-mcp .docker run -p 8080:8080 \  norma43-mcp

El cliente envía Authorization: Bearer LIC-... (o X-License-Key).

Variables: NORMA43_TRANSPORT (stdio|http), NORMA43_PRICES, NORMA43_MAX_BYTES (por defecto 5 MB), PORT, HOST.

Flujo de cobro por llamada

  1. Se decodifica y valida la entrada. Entrada ilegible u opciones inválidas: no se cobra.
  2. Se verifica la licencia (Ed25519, offline) antes de gastar CPU.
  3. Se parsea el fichero.
  4. Se descuentan los créditos (idempotente).
  5. Si la herramienta falla después del cobro, se reembolsa.
  6. Sin créditos: error -32062 con la URL de compra.

Reglas de conciliación

  • Céntimos enteros, sin coma flotante.
  • Evidencias: importe exacto (o dentro de amount_tolerance), referencia de factura en el concepto bancario, nombre de la contraparte, distancia de fechas y unicidad.
  • Una referencia solo cuenta con ≥4 caracteres; las numéricas, con ≥6 dígitos y límites de dígito.
  • Agrupaciones (1:N, N:1) solo si la suma exacta es única y hay evidencia de referencia o nombre; si no, van a suggestions.
  • Dos candidatos con la misma puntuación nunca se resuelven: van a ambiguous para revisión humana.

Limitaciones

  • La interpretación SEPA de los registros 23 (Anexo 4) solo se aplica en modalidad 3; en las demás se devuelve el texto tal cual.
  • El nombre del banco es informativo (tabla de las entidades principales).
  • Validado contra la especificación oficial (AEB/CECA/UNACC, junio 2012) y sus ejemplos, con ficheros generados por un escritor independiente; conviene probarlo con extractos reales de cada banco.

Tests

bash
pip install -e ".[test]"python -m pytest -q

Licencia

Business Source License 1.1. Código visible; el uso en producción requiere una licencia KeyFlint (o ser no comercial). Pasa a Apache 2.0 cuatro años después de cada versión. Ver LICENSE.

Source: README.md at commit 38699c4

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

1
  1. v0.2.0LatestNov 7, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.