Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

e-arveldaja-mcp

Latest version: v0.45.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: iseppo
40 Stars
9 Forks
35 Versions
5.5K Downloads
TypeScript Repo language

Scan summary

e-arveldaja-mcp was last scanned on 29 Nov 2026 at version 0.45.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 35 versions; the latest 3 were published within 2 days (28 and 29 Nov 2026).
  • Findings: No rules fired in version 0.45.0.
  • Downloads: 5,525 downloads.

Versions

35 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.45.0 LATEST 29 Nov 2026 No rules fired
0.44.0 29 Nov 2026 No rules fired
0.43.0 28 Nov 2026 No rules fired
0.42.1 15 Nov 2026 Not shown
0.42.0 8 Nov 2026 Not shown

No rules fired in 0.45.0

Findings

Findings for v0.45.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.45.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

e-arveldaja MCP Server

npm

MCP server for the Estonian e-arveldaja (RIK e-Financials) REST API. 130 tools on the standard profile, 16 workflow prompts, 15 resources. Works with any MCP client — Claude Code, Codex CLI, Gemini CLI, Cursor, Windsurf, Cline, and others.

Google Cloud invoice dates read from the PDF (0.43.0). The newer PDF reader (liteparse 2.21) keeps the date and number printed after a dotted line, so Google Cloud invoices no longer need the date typed; the verified-reading picture step that worked around it is removed. See the changelog for details.

Rules and company state follow the company; export and import (0.42.0). Your booking rules and saved state (statement balances, receipt checks, limited-VAT records, Lightyear USD pool) are now kept per company, identified by its registry code from the EMTA VAT register or the business register, so they survive an API key change; existing folders are copied over once, the old ones are kept. The new accounting_data_transfer tool exports a company's rules and state to one file and imports it on another computer after a preview and your approval. save_annual_report_account_rule saves a cash-flow (operating/investing/financing) or liability (current/non-current) account choice from the conversation, and rule saves now say whether the rule applies to this company only or to every company sharing the rules folder. See the changelog for details.

Cash-flow 24xx accounts, USD pool recovery, limited-VAT journal takeover (0.41.0, behaviour change). The annual cash-flow statement now bridges customer prepayments (22xx) as operating working capital, while a 24xx account (group, related-party or other short-term debt) with cash movements needs one owner decision — operating or financing — shown in a per-account review with an explanation and the rule to add. A blocked Lightyear USD pool now says truthfully how to recover, and the pool opening can be replaced, with approval, only while the pool is blocked. limited_vat can take over a monthly VAT journal you booked by hand, so later invoices become corrections. The inbox receipt preview no longer stops when your company name cannot be read. See the changelog for details.

Limited VAT taxpayers, KMD row 7 and plan-bound dividends (0.40.0, behaviour change). The server now tells a limited VAT registration (piiratud maksukohustuslane, KMS § 21) from a full one via EMTA's public VAT-number query, never deducts input VAT for a limited or unknown status, and limited_vat books the monthly self-assessed VAT (D cost / C 2511) after approval and gives the KMD rows. Reverse-charge purchases from non-EU suppliers now use the KMD row 7 option (RIK-confirmed); an EU VAT number on the invoice or supplier keeps row 6. prepare_dividend_package now starts from the approved annual report figures you supply, and dividend and year-end close execution require the preview's plan_handle. See the CHANGELOG for details.

Safer bank confirmations and stricter owner expenses (0.38.0, behaviour change). A payment whose text names exactly one invoice or order number can now be confirmed through the guided approval flow, and payments that match several invoices are reported instead of silently skipped. The guided Wise import picks an account automatically only when it is recognisably the Wise account, otherwise it asks. An owner-paid expense is refused before anything is written when its expense or owner-debt account has dimensions and none is given (pass expense_account_dimension_id / payable_account_dimension_id). Duplicate transfer rows are deleted only through a fresh reconciliation plan, and earlier Lightyear drafts are no longer offered for confirmation unseen. See the changelog for full details.

Year-end close now follows RIK's method (0.26.0, behaviour change). execute_year_end_close no longer zeroes revenue and expense accounts into 2970 (that broke e-arveldaja's own income statement). It books RIK's two entries from the guide "Äriühingu majandusaasta lõpetamiskanded e-arveldajas": D 9000 "Arvestuslik koondtulemus" / K 2970 on 31 December and D 2970 / K 2960 (optionally part to reserve capital) on 1 January. Entries you already booked by hand — under any document number, on 1 January or later in the next year, plus the old YECL-YYYY closes — are detected and never booked twice; a partial, reversed, duplicate or mismatched entry is reported for manual review. Also in 0.26.0: the month-end checklist evaluates overdue invoices as of today while the month is open, attach_document refuses to replace an existing source document unless replace_existing: true, Lightyear sells book the cash the statement shows, and Wise import no longer changes confirmed purchase invoices. See the changelog for full details.

⚠️ Action required if you used v0.22.0 (incoming transactions booked backwards). A high-severity regression in 0.22.0 forced every newly created bank transaction to the "money out" direction, so incoming entries — owner deposits, customer receipts, refunds, and incoming inter-account transfers — were booked backwards (cash on the wrong side, moving the balance by twice the amount the wrong way). The ledger still balanced, so nothing errored. It is fixed in 0.22.1. If you ran an e-arveldaja-mcp session while 0.22.0 was current (roughly Sunday 2026-07-19 22:30 – Monday 2026-07-20 04:15), any bank-statement entries created in that window are very likely wrong. Check what e-arveldaja reports as the bank-account balance against the real bank-account balance; if they differ, re-importing the affected bank statements fixes it. See the changelog for full details.

Correct standard-chart accounts (behaviour change). Every hardcoded default account was audited against the e-arveldaja RTJ standard chart and corrected — several earlier defaults pointed at the wrong account (e.g. the dividend income-tax liability at 2540 "Kogumispensioni maksed", an FX loss at an income account). More importantly, the tools now resolve each equity/liability/financial account by its Estonian name against your company's actual chart, using the standard number only as a fallback, so dividend, share-capital, reserve, FX, and Lightyear postings land on the right account even on a custom or renumbered chart. If you booked with an earlier version this year, the read-only npm run audit:legacy-accounts script flags any entries still sitting on an old default account. See the changelog for full details.

Correct dividend legality checks. prepare_dividend_package now applies ÄS § 157 clause by clause: the retained-earnings ceiling is net-based — the entire retained-earnings balance is distributable as net dividend, with the 22/78 income tax booking as a current-period expense on top — while the net-assets floor stays gross-based. Every response reports the largest lawful net dividend (maximum_distributable.max_net_dividend) and statutory compliance_notes (approved annual report + profit-distribution decision, TSD annex 7 deadline). The earveldaja://tax_rules reference now also covers profit distribution (ÄS § 157, TuMS § 50) and RPS process rules (corrections, inventory, retention). See the changelog for full details.

Guided workflow actions. recommend_workflow suggests the safest accounting flow for a natural-language goal, and key workflow/batch tools return a workflow_action_v1 envelope with recommended_next_action, review questions, and approval previews. accounting_inbox is the preferred merged entry point for workspace triage, continue_accounting_workflow is the preferred merged continuation tool, receipt_batch and process_camt053 are the preferred mode-based import/batch entry points, and bank work has reconcile_bank_transactions plus classify_bank_transactions as mode-based entry points. Older focused tools such as resolve_accounting_review_item, prepare_accounting_review_action, scan_receipt_folder, process_receipt_batch, parse_camt053, import_camt053, reconcile_transactions, and apply_transaction_classifications are hidden from the tool list by default to keep the per-session token cost down (the merged tools route to the same internals); set EARVELDAJA_EXPOSE_GRANULAR_TOOLS=1 to register them again. See the changelog for full details.

Opening balances (algbilanss). Balances and reports use the API's INITIAL journals automatically, with their original dates, clients and dimensions. No local import is needed. Draft, deleted or empty API openings are disclosed; multiple active openings require review. See the changelog for details.

Active development. This package is under active development and has not seen extensive real-world testing yet. If you encounter a bug or unexpected behaviour, please let me know via GitHub Issues or email at indrek.seppo@gmail.com.

Disclaimer

This is an experimental, unofficial project. It is not affiliated with, endorsed by, or in any way officially connected to RIK (Registrite ja Infosüsteemide Keskus) or the e-arveldaja / e-Financials service.

Use entirely at your own risk. This software interacts with live financial data and can create, modify, confirm, and delete accounting records (invoices, journal entries, transactions, etc.). The authors accept no responsibility for any data loss, incorrect bookings, or other damages resulting from the use of this software.

By using this software you acknowledge that:

  • You are solely responsible for verifying all data and operations
  • You should test thoroughly on the demo server before using with live data
  • This is experimental software with no warranty of any kind

Getting an API Key

  1. Log in to e-arveldaja
  2. Go to Seadistused → Üldised seadistused → Lisa uus juurdepääsuluba (Settings → General settings → Add new access token)
  3. Enter any name for the token
  4. Find your public IP address (e.g. at api.ipify.org) and enter it in the allowed IP field. Multiple IPs can be separated by ;
  5. Save — download the apikey.txt file and place it in the working directory where you run your AI assistant

If you don't have a static IP address, you will need to update the allowed IP in e-arveldaja settings whenever your IP changes. Alternatively, enter 0.0.0.0/0 to allow access from any IP address — convenient for laptops or changing IPs, but less secure, since then the apikey.txt file alone is enough to access your data.

If requests later start failing with 401 Unauthorized, the most common cause is that your public IP changed and no longer matches the allowed IP list. Check the current public IP yourself in a browser (for example, https://api.ipify.org) and update the whitelist in e-arveldaja if needed.

Never commit the apikey.txt file to git.

For the demo server, set the environment variable EARVELDAJA_SERVER=demo.

Setup

1. Add the MCP server

Most AI assistants can set this up for you — just ask:

"Add e-arveldaja-mcp as an MCP server to this project using npx. The package is on npm."

If you prefer to do it manually:

Claude Code:

claude mcp add e-arveldaja -- npx -y e-arveldaja-mcp

Other tools (Cursor, Windsurf, Cline, Gemini CLI, Codex CLI, Antigravity) — add to your MCP config:

{
  "mcpServers": {
    "e-arveldaja": {
      "command": "npx",
      "args": ["-y", "e-arveldaja-mcp"]
    }
  }
}
Tool Config file
Claude Code ~/.claude/settings.json or project .claude/settings.json
Codex CLI ~/.codex/config.toml (TOML format)
Gemini CLI ~/.gemini/settings.json
Google Antigravity MCP Store UI → Manage MCP Servers → raw config
Cursor .cursor/mcp.json in your project
Windsurf ~/.codeium/windsurf/mcp_config.json
Cline VS Code settings under cline.mcpServers
2. Add your API credentials

Put the downloaded apikey.txt in the working directory where you run your AI assistant. On the first start, the server detects it and offers to verify and import it into a .env file — either locally (just this folder) or globally (works from any folder).

You can also import manually at any time by asking your AI assistant:

"Import my API key from apikey.txt"

For multiple companies, place multiple files (apikey.txt, apikey-company2.txt, etc.) and use list_connections / switch_connection to switch between them. Set EARVELDAJA_DEFAULT_CONNECTION=<index or name> to choose which company a freshly started server uses (default: index 0), and pass the optional connection argument on writes to have the server refuse any call aimed at a company that is not active.

3. Optional: define company-specific accounting rules

If your company has stable booking conventions that cannot always be derived from the ledger alone, create an optional local file:

accounting-rules.md

This file is human-editable Markdown, not JSON. It is meant for:

  • counterparty-specific auto-booking defaults when supplier history is missing
  • owner-expense VAT deduction defaults or account-specific overrides
  • annual-report overrides for liability maturity and cash-flow category classification

By default these rules are stored as an Open Knowledge Format bundle — a directory of Markdown files (one concept per file). The untouched accounting-rules.md shipped with this repository is only a generic template and does not pin rules to the checkout. New stores use an opaque identity scope under the per-user config directory (~/.config/e-arveldaja-mcp/accounting-rules/<identity-digest>, or the platform equivalent), so different companies do not share generated rules. The scope is derived from the non-secret stable connection fingerprint rather than its mutable display label. Changing a connection label does not move its accounting-rule store. Existing data-bearing project stores and older unscoped global stores remain in place for backward compatibility. Two environment variables continue to override the location exactly:

  • EARVELDAJA_RULES_DIR=/path/to/bundle — point the bundle at a stable per-company path (e.g. ~/.config/e-arveldaja-mcp/<company>/accounting-rules). Recommended when you run several companies.
  • EARVELDAJA_RULES_FILE=/path/to/accounting-rules.md — opt into the legacy single-file format: rules stay in that one file (no bundle, no migration). In the default bundle mode, an existing accounting-rules.md next to the bundle is instead migrated into it non-destructively on first write.

The bundle is also browsable as MCP resources under earveldaja://accounting_knowledge. When several MCP clients share one bundle directory, concurrent rule writes are serialized with a lock file so the index never drifts out of sync with the concepts.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm e-arveldaja-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229