← All projects
Agent

NetSuite MCP Agents

Agentic workflows that eliminate manual analysis in the month-end close — revenue leakage, unrecorded liabilities, and variance (flux) analysis, powered by NetSuite's MCP connector and Claude.

type
Agent
date
2026-02-01
stack
Claude · NetSuite MCP · SuiteQL · SuiteScript · Python · Agent Skills

The problem

Month-end close is still, for most finance teams, a manual archaeology project. An accountant pulls a P&L and Balance Sheet for the current and prior period, eyeballs every line for anything that moved, and opens a half-dozen tabs to trace the ones that look off. Multiply that across subsidiaries and a controller can lose days of the close cycle to work that is repetitive and hard to onboard new staff into. The same pattern shows up twice more outside flux review: revenue that quietly slips through the cracks of a subscription book, and liabilities that exist in the business but haven't made it into the general ledger yet.

The approach

NetSuite MCP Agents bundles three agent-powered financial-analysis skills into a single client-side toolkit. It consumes NetSuite's native MCP APIs — read-only, never writing back to the ledger — and orchestrates Claude to reason over the data the way a senior accountant would. The same skill set deploys as a Claude Code Agent Skill, a Claude Project, or a Custom GPT, so it fits wherever a finance team already works.

Three use cases share the same underlying architecture:

  • Revenue leakage — scans recurring and ASC 606 revenue-recognition schedules for missed, delayed, or eroded revenue before it becomes a quarter-end surprise.
  • Unrecorded liabilities — cross-references vendor billing gaps, pending bills, open purchase orders, and journal-entry gaps to produce a close-ready accrual report.
  • Variance (flux) analysis — compares P&L and Balance Sheet activity period-over-period, flags what matters, and writes a plain-English narrative for each flagged account.

Underneath, the toolkit combines SuiteQL for targeted retrieval, custom SuiteScript tools built on N/API 2.1, and a deterministic Python + openpyxl export step — Claude drives the analysis and narrative, but the final workbook is generated in code, not by the model, so the numbers are always reproducible.

How a flux analysis run works

The demo below mirrors the actual seven-phase flow, with every subsidiary, account, and dollar figure invented for illustration:

Live mock · flux analysis agent

Run a month-end flux analysis

  1. Discovery

    Listing subsidiaries, accounting books, and available reports via MCP…

  2. Retrieve

    Pulling P&L and Balance Sheet for Jun 2026 vs May 2026…

  3. Flag by materiality

    Applying thresholds (P&L ≥ $50K & ≥10%, BS ≥ $100K & ≥10%) + anomaly rules…

  4. Drill down

    Running targeted SuiteQL against the top flagged accounts…

  5. AI narrative

    Classifying each variance as Timing, Permanent, Classification, or Unknown…

  6. Excel export

    Building a 10-tab workbook with drill-down detail and narratives…

  7. Summary

    Assembling KPI tiles and the top variances for review…

  1. Discovery — list the subsidiaries, accounting books, and reports available.
  2. Retrieve — pull the P&L and Balance Sheet for the current and prior month.
  3. Flag by materiality — apply thresholds (P&L moves ≥$50K and ≥10%; Balance Sheet moves ≥$100K and ≥10%) plus anomaly rules.
  4. Drill down — run targeted SuiteQL against the accounts that cleared the bar.
  5. AI narrative — classify each variance as Timing, Permanent, Classification, or Unknown, with a confidence score.
  6. Excel export — assemble a ten-tab workbook with drill-down detail and narratives, generated deterministically rather than by the model.
  7. Summary — surface KPI tiles and the top variances for a controller's final review.

The impact

Across pilot portfolio companies, the flux, leakage, and liabilities skills have compressed the analytical portion of month-end close from a multi-day effort to a same-day review pass — the agent produces the first read of every account, so staff spend their time validating narratives rather than writing them from scratch. For smaller finance teams, that has meaningfully deferred the need to add close-cycle headcount even as transaction volume grows, and because every export regenerates deterministically from the same source data, it has held up to audit scrutiny as well as a manually built workbook.