Facturas Inbox MCP logo

Facturas Inbox MCP

Processes Spanish invoice PDFs into validated fields, tax-ID checks, VAT summaries, and Spanish-Excel-ready CSV exports.

Install Facturas Inbox MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "facturas-inbox-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "facturas-inbox-mcp"
      ],
      "env": {
        "FACTURAS_INBOX_DIRS": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y facturas-inbox-mcp

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

facturas-inbox-mcp MCP server reads Spanish business-document folders and exposes deterministic MCP tools for classification, invoice extraction, tax-ID validation, VAT summaries, and CSV export. It runs locally over stdio, uses no API keys, and only reads startup-approved folders except when creating a new export file. Extracted values include evidence and arithmetic checks, while invalid or incomplete documents are excluded from VAT totals with reasons. Reach for it when an agent needs to review an invoice inbox or calculate a provisional Spanish IVA position from PDFs.

Use cases

  • Scan a folder of Spanish business PDFs
  • Validate NIF, NIE, and CIF values
  • Review invoice arithmetic before VAT reporting
  • Calculate IVA by quarter or date range
  • Export scan results for Spanish Excel

Key features

  • Spanish document classification
  • Invoice and tax-field extraction
  • NIF/NIE/CIF checksum validation
  • VAT arithmetic and exclusion checks
  • Quarterly or ranged IVA summaries
  • Semicolon-separated CSV export

Tools6

What Facturas Inbox MCP lets your agent do. Expand a tool for its parameters.

Self-reported~175 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 46d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · facturas-inbox-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads163Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed6Callable tools this server registers over MCP.

How Facturas Inbox MCP works

What facturas-inbox-mcp does

facturas-inbox-mcp turns a folder of Spanish business PDFs into structured results for an MCP client. It can identify invoices, rectifying invoices, tickets, payslips, AEAT forms, and other document types, then extract invoice number, date, issuer and recipient tax IDs, taxable base, VAT by rate, IRPF withholding, and total.

The server checks the extracted data rather than asking the language model to perform the arithmetic. It validates NIF, NIE, and CIF control characters; checks supported Spanish VAT rates; compares base, VAT, withholding, and total values; and reports the evidence or warning associated with each result. Documents that fail validation are omitted from VAT calculations and listed with the reason.

How it works

The package is a local, deterministic Node.js MCP server. It requires Node.js 20.12 or later and communicates through standard input and output. It reads only folders supplied at startup, either as command-line arguments or through FACTURAS_INBOX_DIRS. No external API key or hosted service is required.

scan_folder processes a directory and returns compact rows with pagination through limit and cursor. Individual files can be examined with classify_document and extract_invoice. vat_summary calculates IVA repercutido and soportado for a quarter such as 2026-Q3, or for a custom date range, grouped by rate and accompanied by exclusions. validate_tax_id can also report the expected control character when a tax ID is invalid.

Setup and configuration

Install or run the package with npx, for example:

Terminal
npx -y facturas-inbox-mcp /path/to/invoices

Multiple folders can be passed. The bundled --demo option serves the synthetic sample inbox. A source installation uses npm install followed by npm run build, after which the compiled entry point can be started with Node.js. The repository also documents configuration for Claude Desktop and Claude Code, and npm run inspect can connect the built server to MCP Inspector.

The server resolves paths against the configured folders and rejects traversal or symlinks that point outside them. export_csv is the sole writing operation: it creates a new semicolon-separated CSV with decimal commas, suitable for Spanish Excel, and does not overwrite an existing file. CSV values that could be interpreted as spreadsheet formulas are neutralized.

Tools and capabilities

  • scan_folder: classify and extract all documents in a folder with compact, paginated output.
  • classify_document: return a document label, confidence score, and classification signals.
  • extract_invoice: return invoice fields, cross-check results, warnings, and either concise or detailed output.
  • validate_tax_id: check NIF, NIE, or CIF checksum validity.
  • vat_summary: calculate VAT by rate for a quarter or date range and show excluded documents.
  • export_csv: write a new scan export for spreadsheet use.

All tools publish output schemas and structured content. Read-only operations are annotated as non-destructive and idempotent, allowing compatible clients to use those hints for approval behavior.

Limitations and notes

facturas-inbox-mcp expects PDFs with a text layer. Scanned image PDFs are reported as unreadable and require external OCR or manual review; OCR is not built in. Extraction uses heuristics aimed at common Spanish invoice layouts, so unusual formats may return needs_review instead of guessed values.

The project does not currently handle recargo de equivalencia, intra-EU or reverse-charge invoices, or Facturae XML. Files are limited to 20 MB and PDFs to 200 pages, with text capped before analysis. It is a review and extraction aid rather than accounting software, so VAT results should be checked before filing.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Facturas Inbox MCP

facturas-inbox-mcp is an MCP server that reads Spanish business-document folders and exposes tools to classify files, extract and validate invoice data, calculate VAT summaries, and export scans to CSV. It runs locally over stdio, requires no API keys, and excludes failed documents from VAT totals while reporting reasons.

Install it by running `npx -y facturas-inbox-mcp <folder>` with Node.js 20.12 or newer. You can pass multiple folders, use `--demo` for the bundled sample inbox, or clone the repository and build it from source with npm.

Yes, facturas-inbox-mcp works with Claude Desktop as a standard stdio MCP server. Add an MCP server entry whose command is `npx` and whose arguments include `-y`, `facturas-inbox-mcp`, and the folder containing the PDFs.

No, scanned image PDFs are reported as unreadable because the server requires a text layer. Run OCR externally, such as with an OCR tool, or review the document manually before processing it.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFacturas Inbox MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/facturas-inbox-mcp?style=directory)](https://allmcps.com/mcp/facturas-inbox-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/facturas-inbox-mcp"><img src="https://allmcps.com/api/badge/facturas-inbox-mcp?style=directory" alt="Facturas Inbox MCP on AllMCPs" /></a>