Tinypivot logo

Tinypivot

Connect AI agents to interactive grids, pivots, charts, terminal views, and local data analysis.

Install Tinypivot

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp@latest"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 11 tools correctly ().

Overview

tinypivot MCP server gives AI agents an interactive data workspace with charts, pivot tables, data grids, drill-through views, and terminal output. It accepts data from files, standard input, MCP/API pipelines, and optionally read-only PostgreSQL queries, while rendering results in supported agent interfaces or a companion local UI. Use it when an agent needs to inspect and visualize tabular data without sending row data to a remote service. The package also provides a live terminal TUI and setup commands for several AI harnesses.

Use cases

  • Visualize CLI-exported database results inside an AI agent
  • Build pivot tables from local CSV, JSON, or query output
  • Inspect source rows behind aggregated results
  • Run read-only PostgreSQL analysis with an allowlisted table set

Key features

  • Interactive charts and pivot tables
  • Local data grids with filtering, sorting, and search
  • Terminal Cards and a live Ghostty-compatible TUI
  • CLI, stdin, file, and MCP/API data ingestion
  • Optional read-only PostgreSQL querying
  • React and Vue 3 data-grid packages

Tools11

What Tinypivot lets your agent do. Expand a tool for its parameters.

Verified live~2.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

What it can do

From the 11 tools this server returned when we ran it.

Makes changes · 3Read-only tools · 8
Network at startup4 connections
Files written at startup1
Install scriptsNone
npm provenanceSigned build
Package age0 days
Maintainers1

Observed 2026-11-25 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · @smallwebco/tinypivot-mcp@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars19Stargazers on the source repository.
npm downloads8.8kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed11Callable tools this server registers over MCP.

How Tinypivot works

What tinypivot does

tinypivot turns tabular data into interactive charts, pivot tables, data grids, and drill-through views for AI-assisted analysis. Its MCP package is aimed at data analysts and AI users, while the broader project also includes React and Vue 3 data-grid packages.

The MCP experience can show results inside compatible agent interfaces and provides terminal-friendly output for command-line workflows. Supported visualizations include bar, stacked bar, line, area, pie, and donut charts. Pivot functionality includes sum aggregation in the free tier, with additional aggregations available through the paid tier.

How it works

Data can reach tinypivot through a file loaded with load_file, rows sent through load_data, standard-input pipelines, or CLI exports from systems such as BigQuery, Snowflake, MySQL, DuckDB, Databricks, SQLite, ClickHouse, and PostgreSQL. A DuckDB CSV query, for example, can pipe its output into the package and open the resulting analysis view.

For local analysis, the agent receives a compact schema and summary while full rows are streamed to the local interface. Charts, sorting, filtering, pivoting, and drill-through actions then happen locally. The project states that row data, column names, SQL, and file paths remain on the user's machine.

An optional query_postgres capability provides direct, read-only PostgreSQL access with AST validation. It requires the Pro feature set and uses a database connection URL plus an optional table allowlist.

Terminal users can run the TUI command to open a live, split-pane interface with SSE updates. Terminal Cards print Unicode charts and sparkline-style pivot tables in supported terminal harnesses, and a localhost Companion Data IDE is also available.

Setup and configuration

The package can initialize detected harnesses with:

Terminal
npx @smallwebco/tinypivot-mcp@latest init

The initialization flow is described for Claude Code, Claude Desktop, Cursor, Antigravity, OpenCode, Codex CLI, and pi. A bundled Claude plugin can also be installed from the package directory. To run the live terminal interface, use:

Terminal
npx @smallwebco/tinypivot-mcp@latest tui

Data can be piped directly into the server, for example:

Dockerfile
duckdb -csv -c "SELECT * FROM 'sales.parquet'" | npx @smallwebco/tinypivot-mcp@latest --open

Set TINYPIVOT_LICENSE_KEY to unlock Pro or Team features. DATABASE_URL and TINYPIVOT_ALLOWED_TABLES configure the optional direct PostgreSQL connector. Anonymous telemetry can be disabled with TINYPIVOT_TELEMETRY=0 or DO_NOT_TRACK=1.

Tools and capabilities

  • Load files with load_file, including a compact schema and summary for the agent.
  • Send in-memory rows through load_data without requiring an intermediate CSV for smaller datasets.
  • Query PostgreSQL directly with the optional read-only query_postgres connector.
  • Render bar, stacked bar, line, area, pie, and donut charts.
  • Build pivots with totals, calculated fields, expandable groups, and value filters.
  • Use local sorting, filtering, search, pagination, drill-through, and data-grid views.
  • Export CSV in the available grid workflow; styled XLSX export is a paid feature.

Limitations and notes

The free tier limits datasets to 2,500 rows and includes core charts, basic sum pivots, Terminal Cards, the live TUI, and the Companion Data IDE. Larger datasets produce visible interface and agent warnings rather than being silently truncated. Pro and Team features add unlimited rows, more aggregations, additional themes, drill-through, styled XLSX export, and the AI Data Analyst.

The direct PostgreSQL connector is optional and read-only; other databases are accessed through CLI exports, standard input, or data-pipeline methods. The embedded AI Data Analyst is a paid feature and uses a bring-your-own-key model for OpenAI or Anthropic access. React and Vue 3 integrations are separate packages from the MCP package.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Tinypivot

tinypivot is an MCP server that connects AI agents to local files, piped query results, MCP data, and optional read-only PostgreSQL. Its main tools and workflows load data, render charts and pivot tables, show interactive grids, and support drill-through analysis in compatible agent interfaces or a local terminal and companion UI.

Run `npx @smallwebco/tinypivot-mcp@latest init` to detect and configure supported AI harnesses. You can also install the bundled Claude plugin or run the package directly for terminal workflows.

Yes, tinypivot lists Cursor among the harnesses configured by its initialization command. The same setup also covers Claude Code, Claude Desktop, Antigravity, OpenCode, Codex CLI, and pi.

Yes, the optional Pro `query_postgres` connector performs AST-validated, read-only PostgreSQL queries. Configure it with `DATABASE_URL`, and use `TINYPIVOT_ALLOWED_TABLES` when you want to restrict accessible tables.

Pipe DuckDB's CSV output into the package with `duckdb -csv -c "SELECT ..." | npx @smallwebco/tinypivot-mcp@latest --open`. Standard input can also accept other CLI-generated CSV or JSON data.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTinypivot AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/tinypivot?style=directory)](https://allmcps.com/mcp/tinypivot)
HTML Embed
<a href="https://allmcps.com/mcp/tinypivot"><img src="https://allmcps.com/api/badge/tinypivot?style=directory" alt="Tinypivot on AllMCPs" /></a>