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 initBuilt for analysts, founders, and engineers who already do their data work inside AI agents.
.xlsx.Honest, prompt-cache-adjusted math showing how keeping raw rows out of LLM context saves real API spend per analysis and per month.
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.
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.
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.
Start free with Core Charts & Pivot up to 2,500 rows. Upgrade with a flexible subscription or pay once for Lifetime.
Zero signup, zero API key. Runs 100% locally in your AI harness.
bar, stackedBar, line, area, pie, donut)sum) & Data GridCode visual theme (Dark & Light surfaces)--open)$12.42/mo billed annually — save 35%.
.xlsx export + watermark-free UIquery_postgres with AST SQL safetyUp to 5 seats ($11.65/seat/mo) — save 26%.
Need the React or Vue DataGrid/Pivot component inside your own SaaS product? See TinyPivot UI Library perpetual licenses ($49–$399) →
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.
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"
}
}
}
}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.”
Designed so agents do the querying and orchestration while TinyPivot handles deterministic math and visual exploration.
open_tinypivotLaunch the Data IDEOpens 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 / JSONLoads 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 ToolAccepts JSON rows from Stripe, GitHub, APIs, or SQL and immediately renders a chart + matching pivot table.
configure_pivotDeterministic PivotComputes exact sums, averages, medians, and totals in TinyPivot Core — zero LLM arithmetic hallucinations.
configure_chartChart-First AnswersSwitches to Bar, Stacked Bar, Line, Area, Pie, Donut, Scatter, Heatmap, or Radar pre-configured for the question.
query_postgresPro · Read-Only SQLAST-validated SELECT queries executed inside a READ ONLY Postgres transaction with optional table allowlists.
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.