# io.github.ilopezluna/factura-luz (npm · factura-luz-mcp)

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

- Trust score: 71/100 (medium)
- Change this week: +4
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-20

## Components

- npm · `factura-luz-mcp`: 71/100 (this document), [markdown](https://verifymcp.io/servers/ilopezluna-factura-luz/factura-luz-mcp.md), [page](https://verifymcp.io/servers/ilopezluna-factura-luz/factura-luz-mcp)

## Channel facts

- Registry: `npm`
- Package: `factura-luz-mcp`
- Version: `0.1.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-09-20.

- **Supply Chain Security**: 81/100
  - No malware found by supply-chain analysis.
  - CVE check failed: a known high-severity CVE affects pdfjs-dist 5.7.284, a direct dependency. A fixed version is available.
  - No install/post-install scripts declared.
  - 32 of 110 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 8 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 86/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 991 tokens (~123/item across 8 items; 5 tools + 3 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 30/100
  - Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 5 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 6 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the io.github.ilopezluna/factura-luz MCP server?

io.github.ilopezluna/factura-luz runs locally as an npm package, launched with npx -y factura-luz-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add ilopezluna-factura-luz -- npx -y factura-luz-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "ilopezluna-factura-luz": {
      "command": "npx",
      "args": [
        "-y",
        "factura-luz-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "ilopezluna-factura-luz": {
      "command": "npx",
      "args": [
        "-y",
        "factura-luz-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add ilopezluna-factura-luz -- npx -y factura-luz-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "ilopezluna-factura-luz": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "factura-luz-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add ilopezluna-factura-luz --command npx --arg -y --arg factura-luz-mcp
```

### Hermes

```yaml
mcp_servers:
  ilopezluna-factura-luz:
    command: "npx"
    args: ["-y", "factura-luz-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "ilopezluna-factura-luz": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "factura-luz-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add ilopezluna-factura-luz -t stdio -c npx -a -y factura-luz-mcp
```

### Other

```json
{
  "mcpServers": {
    "ilopezluna-factura-luz": {
      "command": "npx",
      "args": [
        "-y",
        "factura-luz-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-09-19 (score 71, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-09-12 (score 67, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-09-11 (score 52)

First indexed and scored.

## MCP tools (5)

### `read_invoice` (~214 tokens)

Leer factura de la luz

Read a Spanish electricity invoice and return everything it says, in structured form. Decodes the CNMC QR code from a PDF or image on this machine, then returns the supply point, the contract and what it means, the billing period, contracted and demanded power, consumption, prices, the amounts billed, an averaged monthly estimate, a Spanish summary you can relay to the user, and warnings about anything uncertain. Start here for any question about an invoice.

Input parameters:

- `file_path` (string): Absolute path to the invoice file on this machine (PDF, PNG, JPG, WEBP). The file is read locally and never uploaded anywhere.
- `invoice` (object): The `invoice` object returned by a previous read_invoice call. Pass this to analyse the same invoice again without re-reading the file, which is much faster.
- `qr_url` (string): An already-decoded CNMC comparator URL (https://comparador.cnmc.gob.es/comparador/QRE?...). Use this when the QR has been read elsewhere.

### `analyze_power` (~200 tokens)

¿Puedo bajar la potencia contratada?

Decide whether the user can lower their contracted power (potencia contratada) and how much they would save per year. Compares the power they pay for against the maximum their meter actually recorded, leaving a safety margin, and works out the payback period against the one-off fee for changing it. This is the single most common way to cut a Spanish electricity bill without changing supplier.

Input parameters:

- `file_path` (string): Absolute path to the invoice file on this machine (PDF, PNG, JPG, WEBP). The file is read locally and never uploaded anywhere.
- `invoice` (object): The `invoice` object returned by a previous read_invoice call. Pass this to analyse the same invoice again without re-reading the file, which is much faster.
- `qr_url` (string): An already-decoded CNMC comparator URL (https://comparador.cnmc.gob.es/comparador/QRE?...). Use this when the QR has been read elsewhere.

### `simulate_power_change` (~223 tokens)

Simular un cambio de potencia

Work out the annual saving for a specific pair of contracted powers, rather than the recommended one. Use it to answer "and if I set it to 3 kW?". Warns when the proposal is below the power the meter actually recorded, which would trip the breaker.

Input parameters:

- `file_path` (string): Absolute path to the invoice file on this machine (PDF, PNG, JPG, WEBP). The file is read locally and never uploaded anywhere.
- `invoice` (object): The `invoice` object returned by a previous read_invoice call. Pass this to analyse the same invoice again without re-reading the file, which is much faster.
- `p1_kw` (number, required): Proposed contracted power for P1 (punta), in kW.
- `p2_kw` (number, required): Proposed contracted power for P2 (valle), in kW.
- `qr_url` (string): An already-decoded CNMC comparator URL (https://comparador.cnmc.gob.es/comparador/QRE?...). Use this when the QR has been read elsewhere.

### `explain_concept` (~209 tokens)

Explicar un concepto de la factura

Explain one concept of a Spanish electricity bill in plain Spanish, ready to relay to the user. Pass an invoice as well and the explanation comes back with that invoice’s own figures for the fields involved. Call list_concepts, or read the cnmc://glossary resource, to see the available concepts.

Input parameters:

- `concept` (string, required): The concept to explain, for example termino_potencia or impuesto_electricidad.
- `file_path` (string): Absolute path to the invoice file on this machine (PDF, PNG, JPG, WEBP). The file is read locally and never uploaded anywhere.
- `invoice` (object): The `invoice` object returned by a previous read_invoice call. Pass this to analyse the same invoice again without re-reading the file, which is much faster.
- `qr_url` (string): An already-decoded CNMC comparator URL (https://comparador.cnmc.gob.es/comparador/QRE?...). Use this when the QR has been read elsewhere.

### `list_concepts` (~30 tokens)

Listar conceptos explicables

List every invoice concept explain_concept can describe, with its id and Spanish title. Takes no arguments.

## Diagnostics

Captured diagnostic sections: Provenance, Vulnerabilities, Dependencies. The full working is on the page: https://verifymcp.io/servers/ilopezluna-factura-luz/factura-luz-mcp#diagnostics

## Score history

- 2026-09-20: 71
- 2026-09-19: 71
- 2026-09-18: 67
- 2026-09-17: 67
- 2026-09-16: 67
- 2026-09-15: 67
- 2026-09-14: 67
- 2026-09-13: 67
- 2026-09-12: 67
- 2026-09-11: 52

## Common questions

### What is the io.github.ilopezluna/factura-luz MCP server?

io.github.ilopezluna/factura-luz is an MCP server listed in the public MCP registry as io.github.ilopezluna/factura-luz. Lee y explica facturas de la luz españolas (QR de la CNMC). Todo en local. This page covers its npm package (factura-luz-mcp).

### Is the io.github.ilopezluna/factura-luz MCP server safe to use?

io.github.ilopezluna/factura-luz scores 71 out of 100 on VerifyMCP. We recorded 1 known advisory against it as of 20 September 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the io.github.ilopezluna/factura-luz MCP server expose?

io.github.ilopezluna/factura-luz exposes 5 tools: read_invoice, analyze_power, simulate_power_change, explain_concept, list_concepts. Their descriptions and schemas cost roughly 876 tokens of context every time the server is loaded.

### Is the io.github.ilopezluna/factura-luz MCP server still maintained?

io.github.ilopezluna/factura-luz is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the io.github.ilopezluna/factura-luz MCP server under?

io.github.ilopezluna/factura-luz declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/factura-luz-mcp
- Socket report: https://socket.dev/npm/package/factura-luz-mcp
- Repository: https://github.com/ilopezluna/entiende-tu-factura
- Website: https://ilopezluna.github.io/entiende-tu-factura/
- Changelog RSS feed: https://verifymcp.io/servers/ilopezluna-factura-luz/factura-luz-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/ilopezluna-factura-luz/factura-luz-mcp.json
- HTML version of this page: https://verifymcp.io/servers/ilopezluna-factura-luz/factura-luz-mcp
