Skip to main content
Glama
Automation TCO & Hidden-Tax Studio

Automation TCO & Hidden-Tax Studio

README.md
# Automation TCO & Hidden-Tax Studio (`automation-tco-mcp`)

Open-source deterministic automation TCO calculator, browser-isolated workflow JSON redactor/inspector, static GEO benchmark generator, and zero-network local stdio MCP server for comparing **Zapier**, **Make.com**, **n8n Cloud**, **n8n Self-Hosted (VPS + maintenance labor)**, **Apify**, **ElevenLabs**, and **LLM APIs**.

- **Live 10-Second TCO Simulator & Free Print Proposal**: [https://tco.jhyangstudio.com/](https://tco.jhyangstudio.com/)
- **Browser-Isolated JSON Inspector & IP Redactor (`connect-src 'none'`)**: [https://tco.jhyangstudio.com/audit.html](https://tco.jhyangstudio.com/audit.html)
- **10 Deterministic Benchmark Scenarios**: [https://tco.jhyangstudio.com/scenarios/](https://tco.jhyangstudio.com/scenarios/index.html)

---

## Why Use Deterministic Math Before Building?

General LLM chats guess tiered overages and miss subtle billing rules; execution logs only tell you after the bill spikes. `automation-tco-mcp` uses exact vendor tier brackets (`core/data/pricing_rules.json`) to surface hidden costs **before** deployment:

- **Zapier MCP Jan 5, 2027 Cliff**: Tracks the `0 tasks` promo window (through `2027-01-05 12 PM ET`) vs post-promo `1 task/call` billing + Pay-Per-Task overage (`1.25x` annual / `2.5x` monthly / `3x` auto-halt ceiling).
- **Make.com Credits & Loop Multipliers**: Models credit brackets, `+25%` extra-credit packs, 1-credit empty polling triggers, and array iterator steps (`N=1 / N=current / N=100` sensitivity).
- **n8n Cloud vs Self-Hosted Loaded TCO**: Compares `EUR` execution brackets (native trigger empty polls = `0` vs `Schedule + HTTP Request` = `1/tick`) against `$6/mo VPS + maintenance hours × hourly rate`.
- **Browser-Side Business-IP Redaction**: `sanitizeWorkflowJson` uses schema-whitelist projection to strip `pinData`, API tokens, webhook URLs, LLM system prompts, Code node scripts, sticky notes, and custom node names locally.

---

## Quick Setup (Claude Desktop / Claude Code / Cursor)

Run over local `stdio` (`Node.js >= 20`, zero outbound network calls from the MCP server process):

### Claude Desktop / Cursor (`mcpServers`)

```json
{
  "mcpServers": {
    "automation-tco": {
      "command": "npx",
      "args": ["-y", "automation-tco-mcp"]
    }
  }
}
```

### Claude Code (`claude mcp add`)

```bash
claude mcp add automation-tco -- npx -y automation-tco-mcp
```

---

## MCP Tools (3 Tools)

| Tool | Purpose | Key Output |
| :--- | :--- | :--- |
| `estimate_automation_tco` | Compute monthly & 12-month TCO across Zapier, Make, n8n Cloud, Self-Hosted + add-ons | Tier recommendation, unit math, hidden-tax warnings, `web_report_url` |
| `audit_workflow_json` | Locally inspect & redact Make `blueprint.json` or n8n `workflow.json` | Sanitization counts, structural IR traps (`LOOP_TRAP`, `POLLING_TAX`), `web_report_url` |
| `get_pricing_changelog` | Query tracked vendor pricing/metric shifts (`pricing_history.jsonl`) | Filtered change log + scenario links |

---

## Architecture & Development

```text
core/       Shared TypeScript pricing engine, sanitizer, Make/n8n parsers, pricing_rules.json
web/        100% static Vite UI (/, /audit.html, /legal.html, 10 GEO benchmark scenario pages)
mcp/        Zero-network stdio MCP server sharing core/ math 1:1
tests/      Vitest regression suite (calculator, parsers, sanitizer, MCP, static CSP audit)
```

```bash
npm install
npm run build
npm test
```

---

## Security, Privacy & Legal Notices

- **License**: MIT License ([LICENSE](./LICENSE)). Uses `@modelcontextprotocol/sdk` (MIT) and `zod` (MIT).
- **Redactor Limitations & MCP Host Privacy**: `sanitizeWorkflowJson` applies strict schema-whitelist projection and best-effort secret pattern masking; always inspect redacted files manually before sharing externally. **Note:** While this local stdio MCP process makes zero outbound network calls, cloud-hosted AI/MCP clients (such as Claude Desktop or Cursor) send tool arguments to your LLM provider before invoking this server. For confidential workflows, use the browser-isolated sandbox (`connect-src 'none'`) at [https://tco.jhyangstudio.com/audit.html](https://tco.jhyangstudio.com/audit.html).
- **Informational Estimate Only ("AS IS")**: Pricing figures are illustrative snapshots subject to vendor changes. Verify live vendor pricing before signing client contracts.
- **Non-Affiliation & Trademarks**: Independent software operated by JHYang Studio (Republic of Korea, `support@jhyangstudio.com`). All product names and trademarks (including Zapier, Make, n8n, Apify, ElevenLabs, DigitalOcean, Shopify, Google Sheets, Slack, OpenAI, Anthropic, and Gemini) belong to their respective owners and are used strictly for nominative comparison. Not affiliated with, endorsed by, or sponsored by any listed vendor.

TDQS

A3.6/5.0

Scored across 3 tools

Disambiguation4/5

Each tool has a distinct verb-target: estimating TCO, auditing a workflow file, and querying a pricing changelog. The only mild overlap is between estimate_automation_tco and get_pricing_changelog, since both touch pricing data, but one computes a total and the other retrieves change history, so an agent can tell them apart.

Naming Consistency5/5

All three names use the same snake_case verb_noun convention (estimate_..., audit_..., get_...) with descriptive objects. No mixed styles or vague verbs; the pattern is predictable throughout.

Tool Count4/5

Three tools is on the thin side but each maps to a clear stage of the workflow: price history, cost estimation, and workflow auditing. Nothing looks padded, though the surface is narrow enough that a fourth scenario-comparison tool would not feel excessive.

Completeness4/5

The core loop of querying pricing changes, estimating TCO, and auditing a workflow for hidden costs is covered, and the estimator returns a report URL. Gaps are minor: there is no way to compare multiple scenarios side by side or persist/re-export audit findings as a report.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues