Skip to main content
Glama

Micro Money | مايكرو موني

العربية. خادم MCP محلي لتدقيق سجلات الفواتير بالعربية والإنجليزية من CSV وExcel. يجمع المبالغ بدقة Decimal، ويتحقق من الضريبة والإجمالي، ويعرض تكرار رقم الفاتورة للمورد نفسه والاشتباه في تكرار الدفع. يصدّر نسخة Excel مرتبة حسب المصدر مع ورقة تحقق اختيارية.

English. A local MCP server for Arabic and English invoice registers in CSV and Excel. It audits VAT and totals with Python Decimal, flags repeated invoice IDs per vendor and potential duplicate payments, and exports an Excel copy with an optional formula review sheet.

التشغيل | Run

Requires Python 3.11+ and an MCP client supporting local stdio. Install the dependencies in a virtual environment, then configure the client to run that environment's Python with the absolute path to server.py.

python -m pip install --require-hashes -r requirements.lock
python -m unittest discover -s tests -v

Set AUDITOR_BASE_DIR in the MCP server's environment to the folder holding the files. It defaults to the project folder. Use list_excel_sheets to select an XLSX sheet, then call audit_massive_excel. Example arguments for the bundled synthetic CSV:

{
  "file_path": "examples/demo-invoices.csv",
  "export_sorted_excel_path": "demo-audit.xlsx",
  "vat_rate": "0.15",
  "vat_tolerance": "0.01",
  "include_excel_formulas": true
}

Related MCP server: invoice-mcp

نطاق التدقيق | Audit scope

  • Use one header row, one invoice per row, one currency, and one VAT rate per run. Use comma-delimited UTF-8 CSV or XLSX. Supported columns include supplier, invoice ID and date, subtotal, VAT and gross total. The report shows the columns selected for VAT and counts rows it could not check.

  • Amounts round to two decimals, with midpoint ties away from zero. The 15% default represents the Saudi standard rate where applicable. Choose the correct rate for the input. The payment check uses a paid-amount column where detected and otherwise compares invoice totals. A match needs independent payment evidence. Supported amounts have up to 13 integer digits.

  • Source XLSX formulas are excluded from calculations and exported as text. Supply verified values for formula-dependent input columns. The optional VAT Review sheet uses built-in Excel formulas for complete rows. Python is the authoritative audit engine. Verify the bundled synthetic cases independently with wolframscript -file examples/verify-vat.wls if WolframScript is installed.

  • PDF/OCR, national e-invoicing validation, and verification against a bank or tax authority are outside the audit scope. See invoice audit and VAT verification.

ZATCA VAT rate · Excel ROUND · MIT License

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to inspect and extract invoice metadata from PDFs, Word documents, Excel files, and images, then synchronize and enrich the extracted data into an Excel ledger.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Turns invoice details from an MCP client conversation into calculated totals and formatted Excel workbooks in JPY, USD, or EUR, using integer minor-unit arithmetic and grouped tax rounding. Supports mixed tax rates, Excel formulas with cached totals, and A4 print-ready layouts, writing files locally with no network access or API key.
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents and finance teams to extract structured fields from messy invoices and audit them before payment, applying seven evidence-backed risk rules that catch total/tax mismatches, duplicate invoices, missing fields, future dates, and round amounts, then returning a 0–100 score with a payment link. Exposes four MCP tools over stdio and Streamable HTTP (spec 2025-11-25) plus a web UI, backed by an optional AWS Bedrock or OpenAI-compatible extraction brain that degrades gracefully to a zero-dependency offline engine.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables users to review a supplied batch of supplier invoices or vendor bills for repeated references, normalized reference variations, and identical amount-and-date candidates, returning grouped evidence and exact review reasons from local history. Supports saved reports, CSV export, and use with MCP clients such as Claude Desktop, Claude Code, and Cursor.
      8
      MIT