TinyPivot — Interactive Data IDE for AI Agents
Local DuckDB data analysis with charts, pivots and checked numbers inside AI agents
TinyPivot — Interactive Data IDE for AI Agents is a freemium MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- CLI, API, macOS
- Runs
- Locally
- Version
- 0.8.3
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add tinypivot --env TINYPIVOT_LICENSE_KEY='<TINYPIVOT_LICENSE_KEY>' --env DATABASE_URL='<DATABASE_URL>' -- npx -y @smallwebco/tinypivot-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"tinypivot": {
"command": "npx",
"args": [
"-y",
"@smallwebco/tinypivot-mcp"
],
"env": {
"TINYPIVOT_LICENSE_KEY": "<TINYPIVOT_LICENSE_KEY>",
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}Add to claude_desktop_config.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.
Add to ~/.cursor/mcp.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.
Add to ~/.copilot/mcp-config.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.
Add with the CLI
Run in a terminal
codex mcp add tinypivot --env TINYPIVOT_LICENSE_KEY='<TINYPIVOT_LICENSE_KEY>' --env DATABASE_URL='<DATABASE_URL>' -- npx -y @smallwebco/tinypivot-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.tinypivot]
command = "npx"
args = ["-y", "@smallwebco/tinypivot-mcp"]
env = { TINYPIVOT_LICENSE_KEY = "<TINYPIVOT_LICENSE_KEY>", DATABASE_URL = "<DATABASE_URL>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"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
Add to ~/.gemini/settings.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
Antigravity
Add to ~/.gemini/config/mcp_config.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 (formerly Windsurf)
Add to ~/.config/devin/mcp_config.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
Add to cline_mcp_settings.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
Add to Zed settings.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
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "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.
Junie
Add to ~/.junie/mcp/mcp.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
Add to ~/.kiro/settings/mcp.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.
Using several servers? Build one config file with the MCP config generator.
Configuration
TINYPIVOT_LICENSE_KEYOptional TinyPivot MCP Pro/Team license key (TP-MCPP-* or TP-MCPT-*) unlocking deep SQL & statistical guardrails, full Data Science shelf (SRM/Holm, regression, cohorts, anomalies), Recursive Data Memory, 10 editorial themes, drill-through, Excel export, and query_postgres. Free tier works out of the box with unlimited local rows.DATABASE_URLOptional PostgreSQL connection string for direct AST-validated read-only query_postgres (Pro). Any other database (BigQuery, Snowflake, MySQL, DuckDB, Databricks) works without this via load_file or load_data.TINYPIVOT_TELEMETRYSet to 0 to disable anonymous zero-PII usage telemetry (DO_NOT_TRACK=1 is also respected).
About TinyPivot — Interactive Data IDE for AI Agents
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.
Tools this server provides (10)
Taken from the project documentation; the running server may differ.
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.
- queryName 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_postgresName suggests: reads
- Runs AST-validated read-only SELECT queries against DATABASE_URL (Pro).
- list_datasetsName 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.
What it does
- 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
Pricing
Freemium, from $12.42 a month
Free tier with unlimited local rows; Pro $149/year; Team $699/year for up to 5 seats
Prices change. Check tiny-pivot.com before you buy.
TinyPivot — Interactive Data IDE for AI Agents 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.
