# TinyPivot — Interactive Data IDE for AI Agents

> TinyPivot — Interactive Data IDE for AI Agents is a freemium MCP server for developer tools. Local DuckDB data analysis with charts, pivots and checked numbers inside AI agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $12.42 a month
- **Platforms:** CLI, API, macOS, Windows, Linux, VS Code, Web
- **Website:** https://tiny-pivot.com
- **Repository:** https://github.com/small-web-co/tinypivot/tree/HEAD/packages/mcp
- **MCP Registry name:** io.github.Small-Web-Co/tinypivot
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-27

## About

TinyPivot gives an AI agent a workspace for working with tabular data on your own machine. The agent loads CSV, TSV, JSON, JSONL or Parquet files, or rows from other tools, runs read-only DuckDB SQL over them, and returns charts, pivot tables and a data grid as compact cards in the chat.

Each step the agent takes appears live in TinyPivot Studio, a local page in your browser. It shows the reason the agent gave, the SQL behind the result and the row count. You can edit that SQL and rerun it, reopen earlier pulls from history for 30 days, or send the agent a note about a specific row or pivot cell so it can pick up from there on its next step.

It suits analysts and developers who already work in Claude Code, Cursor, Codex, pi or OpenCode and want to see how a number was produced before acting on it. The free tier has no signup or API key and no row cap on local data; the paid Pro and Team tiers add deeper SQL audits, a statistics shelf, Excel export and a read-only PostgreSQL connector.

## Features

- **Live Studio trace:** Every agent step is logged in a local browser page with its reason, SQL and row count.
- **Editable SQL over local files:** Change a step's read-only DuckDB query and rerun it without asking the agent again.
- **Charts and pivot tables in chat:** Bar, line, pie, map and other chart types, plus pivot tables, rendered as terminal or inline cards.
- **Terminal TUI pane:** A split-pane view that follows the agent's queries in terminals such as Ghostty or tmux.
- **Pull history:** Earlier query results are kept locally for 30 days and can be reopened without rerunning.
- **Offline HTML export:** Save a chart or table view as a standalone HTML file that opens without a network connection.

## Good for

- Asking an agent to chart monthly revenue or churn from a local CSV or Parquet file
- Building a pivot table by region and product without writing pandas code
- Checking the SQL behind an agent's figure before sharing it
- Loading output from another CLI or database export and exploring it in the Studio
- Running a quick A/B test or cohort check from a single prompt on the Pro tier

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add tinypivot --env TINYPIVOT_LICENSE_KEY='<TINYPIVOT_LICENSE_KEY>' --env DATABASE_URL='<DATABASE_URL>' -- npx -y @smallwebco/tinypivot-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "tinypivot": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add tinypivot --env TINYPIVOT_LICENSE_KEY='<TINYPIVOT_LICENSE_KEY>' --env DATABASE_URL='<DATABASE_URL>' -- npx -y @smallwebco/tinypivot-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.tinypivot]
command = "npx"
args = ["-y", "@smallwebco/tinypivot-mcp"]
env = { TINYPIVOT_LICENSE_KEY = "<TINYPIVOT_LICENSE_KEY>", DATABASE_URL = "<DATABASE_URL>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e TINYPIVOT_LICENSE_KEY='<TINYPIVOT_LICENSE_KEY>' -e DATABASE_URL='<DATABASE_URL>' tinypivot npx -- -y @smallwebco/tinypivot-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "tinypivot": {
      "command": "npx",
      "args": [
        "-y",
        "@smallwebco/tinypivot-mcp"
      ],
      "env": {
        "TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 3 of 10 tools read data; 7 names don't say. From the server's own tool labels and tool names; not verified by us.

- `open_tinypivot`: Opens TinyPivot in a side pane, sidebar or inline view.
- `load_file`: Loads a local CSV, TSV, JSON or JSONL file, optionally filtered, and renders a chart or pivot.
- `query` (name suggests: reads): Runs one read-only DuckDB SELECT over local files and loaded datasets and charts or pivots the result.
- `load_data`: Loads up to about 50 flat JSON rows already in memory and renders a chart and pivot in one call.
- `configure_pivot`: Computes a deterministic pivot table.
- `configure_chart`: Configures and opens the interactive Chart Builder.
- `query_postgres` (name suggests: reads): Runs AST-validated read-only SELECT queries against DATABASE_URL (Pro).
- `list_datasets` (name suggests: reads): Lists loaded datasets, row counts and inferred schemas.
- `profile`: Describes each column of a loaded dataset.
- `history`: Lists or reopens earlier pulls by id.

## FAQ

### Does my data leave my machine?

Rows are read and queried locally with DuckDB, and the Studio only answers on the local machine. Anonymous usage pings exclude row data, column names, SQL and file paths, and can be turned off with TINYPIVOT_TELEMETRY=0.

### Which agents does TinyPivot — Interactive Data IDE for AI Agents work with?

The package lists Antigravity, Claude Code, Claude Desktop, Cursor, OpenCode, Codex CLI and pi, and says it works with any MCP Apps host. An init command detects installed harnesses and wires them up.

### Is there a row limit on the free tier?

The free tier offers unlimited local rows. Pro and Team add deeper guardrails, the full statistics shelf, themes, drill-through, Excel export and query_postgres.

### How much does Pro cost?

Pro is listed at $149 per year, and Team at $699 per year for up to five seats. Both use an offline license key.

### Which databases can TinyPivot — Interactive Data IDE for AI Agents read?

Direct PostgreSQL access needs the Pro DATABASE_URL setting. Other databases such as BigQuery, Snowflake, MySQL, DuckDB and Databricks work by exporting query output to a file or piping it in.

### How do I add TinyPivot — Interactive Data IDE for AI Agents to Claude Code?

Run this command in your terminal: claude mcp add tinypivot --env TINYPIVOT_LICENSE_KEY='<TINYPIVOT_LICENSE_KEY>' --env DATABASE_URL='<DATABASE_URL>' -- npx -y @smallwebco/tinypivot-mcp

### What are the best alternatives to TinyPivot — Interactive Data IDE for AI Agents?

The closest alternatives to TinyPivot — Interactive Data IDE for AI Agents are Pipetable, Ranuk DataCanvas BI, jDataMunch MCP, Dataset Explorer and Chart Canvas.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Pipetable](https://ai-powered.com/mcp/pipetable): Pipetable is an open-source MCP server for files and documents.
- [Ranuk DataCanvas BI](https://ai-powered.com/mcp/ranuk-datacanvas-bi): Ranuk DataCanvas BI is a freemium MCP server for analytics and data.
- [jDataMunch MCP](https://ai-powered.com/mcp/jdatamunch-mcp): jDataMunch MCP is a freemium MCP server for files and documents.
- [Dataset Explorer](https://ai-powered.com/mcp/dataset-explorer): Dataset Explorer is an open-source MCP server for files and documents.
- [Chart Canvas](https://ai-powered.com/mcp/chart-canvas): Chart Canvas is an open-source MCP server for developer tools.
- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [nimbo: a Jupyter-style notebook for JavaScript and TypeScript](https://ai-powered.com/mcp/nimbo-a-jupyter-style-notebook-for-javascript-and-typescript): nimbo: a Jupyter-style notebook for JavaScript and TypeScript is an open-source MCP server for analytics and data.
- [Dataloupe](https://ai-powered.com/mcp/dataloupe): Dataloupe is an open-source MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/tinypivot-interactive-data-ide-for-ai-agents
