Vendor Creep & Overcharge Guard MCP Server avatar

Vendor Creep & Overcharge Guard MCP Server

Pricing

from $100.00 / 1,000 audit vendor invoice pdfs (ap guardrail)

Go to Apify Store
Vendor Creep & Overcharge Guard MCP Server

Vendor Creep & Overcharge Guard MCP Server

Zero-PO deterministic invoice auditing for AI agents: catch silent vendor price hikes, sneaky new fees, exact-cent math errors, and duplicate billing with page/line evidence citations, annualized creep impact, and ready-to-send dispute memos.

Pricing

from $100.00 / 1,000 audit vendor invoice pdfs (ap guardrail)

Rating

0.0

(0)

Developer

Invoice Overcharge Guard

Invoice Overcharge Guard

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 hours ago

Last modified

Categories

Features

Limited permissionsSingle-tenantServer interface

Share

Vendor Creep & Overcharge Guard MCP (pdf-struct-mcp)

Verify before you pay — deterministic invoice auditing, zero-PO vendor creep detection, and ready-to-send dispute memos for AI agents.

LLMs can read a PDF, but they routinely miss 1-cent arithmetic errors, silently drop rows on multi-page invoices, misread European decimals or accounting parentheses, and hallucinate totals. Vendor Creep & Overcharge Guard MCP runs pure deterministic parsing and exact-cent accounting math (zero upstream LLM calls) so agents and AP reviewers get provable verdicts and page-level evidence.


Why Use This MCP Server?

  • Works Zero-PO (Month-over-Month Drift): No ERP or formal PO required — pass this month's invoice PDF alongside last month's invoice PDF to catch silent unit-price hikes, sneaky new fees, usage spikes, and annualized cost impact (monthly delta × 12).
  • Full PO & Rate-Card Matching: Also accepts structured PO / rate-card JSON (baseline_po) to enforce contracted unit prices, quantity limits, combined split-row allowances, and total caps.
  • Ready-to-Send Dispute Memos: When discrepancies are found, returns a zero-hallucination dispute_memo citing [Page X, Line Y], exact math formulas, and the tax-adjusted credit_requested_amount — keeping internal extraction/usage warnings strictly separate from vendor-facing claims.
  • Exact-Cent Accounting Engine: Handles multi-page invoices (with or without repeated headers), European (€1.496,28, €1 234,56) and US formats, accounting parentheses ($25.00), fractional quantities/rates, multi-tax components (GST + PST / VAT), wrapped descriptions, and vendor-scoped SHA-256 duplicate fingerprinting.
  • Five Invoice Languages: Reads English, Dutch, French, German and Spanish invoices: their labels (Factuurnummer, Facture n°, Rechnungsdatum, Base imponible, BTW/TVA/MwSt./IVA), comma decimals, day-first and written dates (7. Mai 2014, 1 de enero de 2026, returned as ISO issue_date_iso / due_date_iso), prices that already include VAT, discount columns and per-line tax columns. Receipts, quotes and estimates are recognised and not charged.
  • Agent-Friendly by Design: Free preview tool (inspect_pdf), outcome-based billing (non-invoices and scanned PDFs without a text layer return $0 charge), and detail: "auto" compact mode (shrinks a 3,000-line audit from ~1 MB to ~1.5 KB).

Tools & Outcome Pricing

ToolTier / PriceApify EventWhat It Does
inspect_pdfFree—Pre-flight check: page count, has_text_layer, metadata, detected tables, 3-row sample, looks_like_invoice, and arithmetic-only quick_risk_preview.
audit_invoice_pdf$0.10 / jobaudit-invoice-pdfFull deterministic AP audit: exact-cent line/subtotal/multi-tax/total checks, page/line evidence, SHA-256 duplicate fingerprints, APPROVE / HOLD_FOR_REVIEW / REJECT verdict, and dispute_memo.
compare_invoice_to_baseline$0.15 / jobcompare-invoice-baselineZero-PO month-over-month diff (against prior invoice PDF) or PO/rate-card match (baseline_po JSON). Catches unit price creep, unauthorized fees, split-row allowance reuse, usage spikes (usage_spike_threshold_pct, default 50%), duplicate billing, annualized creep impact, and generates dispute_memo.
parse_invoice_pdf$0.08 / jobparse-invoice-pdfExtracts structured invoice headers, typed line items (with page & line provenance), multi-tax breakdown, and exact-cent reconciliation.
extract_pdf_tables$0.05 / jobextract-pdf-tablesExtracts all tables across selected pages ("all" or "1-3,5") into json, RFC-4180 csv, or markdown.

Input Sources & Options

  • Sources (provide exactly one): pdf_url (public HTTP/HTTPS, max 25 MB, 15s timeout), pdf_base64, or file_path (local stdio mode only; disabled over HTTP for security).
  • Compact Output (detail): audit_invoice_pdf and compare_invoice_to_baseline support detail: "auto" | "compact" | "full". Defaults to "auto" (switches to compact above 100 line items to protect agent context windows).
  • Zero-Charge Guardrails: Scanned PDFs with no text layer return NO_TEXT_LAYER (advising OCR first) at $0, and non-invoice documents return NOT_AN_INVOICE at $0.

Connect from Your AI Client

Connect any Streamable HTTP MCP client to:

https://invoice-guard--pdf-struct-mcp.apify.actor/mcp

with the header Authorization: Bearer <YOUR_APIFY_TOKEN> (free Apify account; copy the token from Apify Console → Settings → API & Integrations). You pay only per completed job, at the prices above.

Claude Code:

$claude mcp add --transport http invoice-guard https://invoice-guard--pdf-struct-mcp.apify.actor/mcp --header "Authorization: Bearer <YOUR_APIFY_TOKEN>"

Any client with a JSON config:

{
"mcpServers": {
"invoice-guard": {
"type": "http",
"url": "https://invoice-guard--pdf-struct-mcp.apify.actor/mcp",
"headers": { "Authorization": "Bearer <YOUR_APIFY_TOKEN>" }
}
}
}

Local (stdio, self-hosting from source)

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
"mcpServers": {
"pdf-struct": {
"command": "node",
"args": ["/path/to/pdf-struct-mcp/dist/index.js"],
"env": {
"BILLING_MODE": "free_dev"
}
}
}
}

Claude Code:

$claude mcp add pdf-struct -e BILLING_MODE=free_dev -- node /path/to/pdf-struct-mcp/dist/index.js

OpenAI Codex CLI:

$codex mcp add pdf-struct --env BILLING_MODE=free_dev -- node /path/to/pdf-struct-mcp/dist/index.js

Local Development & Verification

npm install
npm run test:all # Builds TypeScript and runs every suite, including 26 generated and 11 real public invoices
  • MCP Inspector: BILLING_MODE=free_dev npm run inspect
  • Local HTTP mode: MCP_TRANSPORT=http BILLING_MODE=api_key VALID_API_KEYS=sk_live_demo npm start (GET /health, POST /mcp)
  • Generate realistic sample PDFs: npm run generate:samples

Privacy

Last updated: 2026-12-05

  • What it receives: the PDF you send (a URL it downloads, or base64 data), any purchase order, rate card or baseline invoice you send with it, and your Apify API token in the Authorization header. The token is used only so Apify can authenticate and bill the call; it is never stored or logged.
  • What it does: parses the PDF in memory and returns the result in the same call. No AI model, and documents are not sent to any third party for processing.
  • What is stored: none of your documents or results. Nothing is saved to a database, dataset or file. Run logs record only the tool name, billing events and error messages, never document contents. Apify keeps its own run records (time, duration, charges) under the Apify privacy policy.
  • Retention: documents and results are discarded when the call ends; run logs follow Apify's retention settings.
  • Sharing: no data is sold or shared. Apify, which hosts the service and handles billing, is the only third party.
  • Your choices: send only invoices you are allowed to share with a processing service. URL downloads refuse private and local network addresses.
  • Contact: invoiceguard.support@gmail.com

Security & Billing Model

  • SSRF & DNS-Rebinding Defense: pdf_url validates resolved IPs at connect time (and across redirects), blocking localhost, private/link-local ranges, IPv6 private ranges, and cloud metadata (169.254.169.254), with a hard 15s total download timeout and streaming 25 MB limit.
  • No Remote Disk Access: file_path and baseline_file_path are rejected in HTTP mode unless explicitly opted in for private self-hosting (ALLOW_LOCAL_FILES=1).
  • Fail-Closed Apify Billing: In Apify Standby (BILLING_MODE=apify), charges include X-Actor-Request-ID with an idempotency key and fail closed (BILLING_FAILED, $0 charged) if Apify does not confirm the charge.

Deploying to Apify

npx apify-cli login
npx apify-cli push

In Apify Console → Publication / Monetization, enable Standby mode and Pay per event using the four event names in .actor/pay_per_event.json. Leave ALLOW_LOCAL_FILES and ALLOW_PRIVATE_URLS unset on Apify.