Factura Luz

io.github.ilopezlunaPublished by GitHub account ilopezlunav0.1.0Updated Oct 24, 2026

Lee y explica facturas de la luz españolas (QR de la CNMC). Todo en local.

The publisher's own server: factura.bo

Overview

AI-generated overview

Reads Spanish electricity bills from the CNMC QR code and explains charges, contracted power and potential savings.

What you can do
A local MCP server that extracts data from the CNMC QR code inside a Spanish electricity bill PDF or image and explains what each field means. Its tools are read_invoice, which returns contract, power, consumption, prices, amounts and monthly averages, explain_concept, which explains a bill concept using your own figures, and list_concepts. It also exposes reference resources such as cnmc://qr-fields, cnmc://glossary, cnmc://contract-types and cnmc://power-method, plus an entender-factura prompt. Calculations are left to the agent using the power-method recipe.
When to use it
Useful when you want an assistant to interpret a Spanish electricity bill, show what you are paying, and estimate whether lowering contracted power would save money. It fits bills issued from 2023 onward that carry the CNMC QR code.
Requirements
Runs locally over stdio via npx factura-luz-mcp and requires Node.js 20 or higher. No accounts, API keys, environment variables or headers are declared. It reads a file path, a decoded CNMC QR URL, or a previously returned invoice object.
Before you install
The server makes no network requests, but whatever your agent sends to its model leaves your machine. It returns the CUPS and postal code unmasked, so consider which agent you use. Some figures are deductions listed in the inferences field and should be presented as estimates, not exact data. Bills without a CNMC QR code cannot be read.

Installation

In SourceWeft

  1. Open Factura Luz in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

This repository has no README.

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

25% 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 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • 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

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts

    Declare a license in the repository or the registry entry.

Other Factura integrations