In-Agent Analytics · MCP Apps (SEP-1865) · Free Core Charts

The Data IDE Inside Your AI Workflows

Stop squinting at truncated markdown tables and burning 30k+ tokens pasting CSVs into chat. TinyPivot MCP gives Claude, Antigravity, Cursor, OpenCode, and pi an interactive Chart, Pivot Table, Drill-Through, and Excel workspace right inside your workflow.

npx @smallwebco/tinypivot-mcp init

Why In-Agent Analytics Changes Everything

Built for analysts, founders, and engineers who already do their data work inside AI agents.

Without TinyPivot MCP
  • AI dumps a truncated 15-row markdown table you can't sort, filter, or pivot.
  • Stuffing 5,000 CSV rows into chat burns 20k–50k tokens and hits context limits.
  • Every follow-up slice ("now group by country") costs another round-trip prompt.
  • LLM arithmetic silently drifts on sums, medians, and percentages.
  • No way to double-click a total to inspect underlying rows or export a clean .xlsx.
With TinyPivot MCP App
  • Chart-first answers: Clean, full-bleed interactive chart renders in 1 tool call — core charts & basic pivot included free.
  • ~90% fewer tokens: Rows stream directly from your local MCP server to the UI via app-only tools (0 LLM tokens spent on raw rows).
  • 1-click Pivot & Data exploration: Re-slice rows/columns, filter, expand groups, and drill through locally in milliseconds.
  • Deterministic math & high trust: Exact aggregations computed locally. Free tier caps at 2,500 rows with an explicit warning banner — never silent truncation.
  • Works everywhere: Native MCP App inline in Antigravity/Claude/Cursor + live SSE Companion Data IDE for terminal agents.

Token & API Spend Savings Calculator

Honest, prompt-cache-adjusted math showing how keeping raw rows out of LLM context saves real API spend per analysis and per month.

Saved / Analysis
$0.36
~112k in + 2k out (Gemini 4 Neon)
Est. Monthly Savings
$31/mo
~9.8M tok across 87 analyses
Payback vs Pro ($19/mo)
1.7×
$377/yr saved vs $149/yr Pro
Estimated Monthly Savings by LLM Model (with 90% prompt caching)Pro $19/moTeam $79/mo
GPT-5$0.21/analysis · $1.75 in / $10 out
$18/mo$222/yr
Claude Sonnet 5.5$0.24/analysis · $2.00 in / $10 out
$21/mo$251/yr
Gemini 4 Neon$0.36/analysis · $3.00 in / $15 out
$31/mo$377/yr
Claude Opus 5.5$0.48/analysis · $4.00 in / $20 out
$42/mo$502/yr
Frontier / Reasoning$0.95/analysis · $8.00 in / $32 out
$82/mo$989/yr
1. Raw rows bypass the LLM

load_file and query_postgres send only a ~200-token schema & summary to the model; the full rows stream locally from the MCP server straight to the UI.

2. Local clicks cost $0

Switching Chart ↔ Pivot ↔ Data, sorting, filtering, and drilling into rows run in local JS instead of burning output tokens rewriting markdown tables or Python scripts.

3. Works with any database today

Export any BigQuery, Snowflake, MySQL, DuckDB, or Databricks query to CSV/JSON and pass the file to load_file — or query Postgres directly. Native multi-DB + Parquet adapters arrive in v0.2.

Methodology: assumes ~5 tokens/cell (~20 bytes/cell) for raw tabular rows passed into context, 10% cached read cost on follow-up turns when prompt caching is enabled, and ~600 output tokens avoided per local follow-up exploration. Note: if you already aggregate in SQL/Python down to <20 summary rows before showing the LLM, raw-row savings are smaller — your win is mainly avoiding follow-up chart/table re-prompts and instant interactive exploration.

Choose How You Pay

Start free with Core Charts & Pivot up to 2,500 rows. Upgrade with a flexible subscription or pay once for Lifetime.

Free
$0forever

Zero signup, zero API key. Runs 100% locally in your AI harness.

  • Core Charts (bar, stackedBar, line, area, pie, donut)
  • Interactive Pivot Table (sum) & Data Grid
  • Code visual theme (Dark & Light surfaces)
  • Live Terminal Companion Data IDE (--open)
  • Up to 2,500 rows per dataset (clearly bannered if exceeded)
MCP Team (5 Seats)
$699/year

Up to 5 seats ($11.65/seat/mo) — save 26%.

  • Everything in MCP Pro for up to 5 developers/analysts
  • Single shared offline-verifiable team key (no SSO wall)
  • Read-only Postgres + CSV/JSON across all team AI harnesses
  • Priority email support & Stripe tax invoices
  • Early access to team token-spend analytics

Need the React or Vue DataGrid/Pivot component inside your own SaaS product? See TinyPivot UI Library perpetual licenses ($49–$399) →

Add TinyPivot to Your AI Harness in 10 Seconds

Run npx @smallwebco/tinypivot-mcp init to auto-configure Claude Code, Claude Desktop, Cursor, Antigravity, OpenCode, Codex CLI, and pi — or copy a manual config below.

~/.gemini/antigravity/mcp_config.json

Side pane ("+"), sidebar global view, and inline interactive charts/pivots directly inside chat.

{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": ["-y", "@smallwebco/tinypivot-mcp"],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "optional-pro-key"
      }
    }
  }
}

Prompts to Try Right Away

Pipe local files, database queries, or outputs from other MCP servers (like Stripe) straight into TinyPivot.

“Open TinyPivot and show me a chart of sample SaaS revenue by quarter and region.”

“Load ./exports/q3_orders.csv into TinyPivot and chart net revenue by category and channel.”

“Pull our last 100 Stripe charges and load them into TinyPivot so I can pivot revenue by month and country.”

“Query Postgres for monthly active accounts by plan over the last 12 months and open it in TinyPivot.”

Included MCP Tools

Designed so agents do the querying and orchestration while TinyPivot handles deterministic math and visual exploration.

open_tinypivotLaunch the Data IDE

Opens the interactive Chart / Pivot / Data view in the side pane, sidebar, or inline. Works zero-arg with built-in sample data.

load_fileLocal CSV / TSV / JSON

Loads local data files directly on disk and renders a chart in 1 tool call without stuffing raw rows into LLM context.

load_dataPipe Any MCP Tool

Accepts JSON rows from Stripe, GitHub, APIs, or SQL and immediately renders a chart + matching pivot table.

configure_pivotDeterministic Pivot

Computes exact sums, averages, medians, and totals in TinyPivot Core — zero LLM arithmetic hallucinations.

configure_chartChart-First Answers

Switches to Bar, Stacked Bar, Line, Area, Pie, Donut, Scatter, Heatmap, or Radar pre-configured for the question.

query_postgresPro · Read-Only SQL

AST-validated SELECT queries executed inside a READ ONLY Postgres transaction with optional table allowlists.

Local-First Data & Transparent Telemetry

Your CSVs, JSON rows, column names, SQL queries, and file paths never leave your machine. TinyPivot MCP sends only minimal anonymous usage pings (tool name, row-count bucket, harness client name, OS, and a random local UUID) to guide compatibility work. Opt out anytime by setting TINYPIVOT_TELEMETRY=0 or DO_NOT_TRACK=1.