Repository navigation
AI Assistant and AI Clients
ParVu works with AI in two ways:
- the built-in assistant: a panel in ParVu that uses your own API key, or a model running on your computer;
- AI clients such as Claude Desktop and Claude Code, which can work with the tables in your ParVu window using your own subscription.
Both follow the same rules. The AI can read your open tables freely: their columns, sample rows, statistics, and the results of read-only SQL queries. Any change it wants to make appears as a card in ParVu. The card shows the change, the AI's reason, the row count before and after, a preview of the result and the SQL (or the formula). Nothing changes until you click Apply, and every applied change is an ordinary step that Ctrl+Z undoes. Opening and saving files always stays with you.
-
AI → AI providers… → choose a provider → Add → paste your API key → Save and test.
-
Anthropic (Claude): suggests
claude-opus-5-5,claude-sonnet-5-5(cheaper) andclaude-haiku-5-5(cheapest). - OpenAI, Gemini, OpenRouter, Groq: enter a model id your account offers.
- Ollama or LM Studio: start the local server and enter a model you've downloaded. No key is needed and nothing leaves your computer. Small local models may not handle tools well.

-
Anthropic (Claude): suggests
-
AI → AI assistant (
Ctrl+Shift+A) opens the panel next to the table. -
Ask, for example:
- "Which region sold the most last quarter?"
- "Are there duplicate customer ids?"
- "Group by month and sum revenue."
- "Add a column with each order's share of total revenue." This becomes a live formula column.

Enter sends, Shift+Enter starts a new line, Stop cancels. Each tab has its own conversation; ↺ starts a new one. The panel shows the tokens used and, for Claude models, an estimate of the cost.
Each query the assistant runs is listed above its answer. Click one to see its SQL and result, with buttons to Copy SQL, Open in new tab, Edit in SQL editor and Copy result. SQL code blocks in an answer have Copy SQL, Open in new tab and Edit in SQL editor.
![]() |
![]() |
Open in new tab opens the result as a tab of its own, ai_result, made from the table the assistant queried:

What is sent to the provider: your question, the active table's name, columns and first three rows, the names of the other open tabs, and the results of the queries the assistant runs. Whole files are never sent. API keys are kept in your system's keychain.
AI → Connect an AI client lets an MCP client (Claude Desktop, Claude Code, VS Code…) work with the tables open in your window, using your own Claude subscription:
- Tick Allow AI clients to connect.
- Add ParVu to the client once. The dialog shows the exact command and configuration, with Copy buttons. For Claude Code it is:
For Claude Desktop, paste the snippet into
claude mcp add -s user parvu-app -- parvu mcp --attach
claude_desktop_config.json(Settings → Developer → Edit Config) and restart it. - Keep ParVu open and ask the client about "my sales tab". With several windows open, the client works with the one you used last.
When the client wants to change a table, ParVu shows a card with the change, the client's reason, the row counts and a preview:

The client doesn't start ParVu when it starts; ParVu opens the first time the client uses one of its tools.
| Tool | What it does |
|---|---|
list_tables, describe_table, sample_rows
|
see the open tables, their columns and rows |
column_stats, value_counts
|
statistics and the most frequent values of a column |
query |
one read-only DuckDB SELECT over the open tables |
apply_operation |
filter, sort, group by, pivot, add a column, fill missing values… (approval card) |
set_formula |
add or change a live formula column (approval card) |
undo |
undo the last step (approval card) |
Queries can't change anything or read files on your disk; ParVu refuses file-reading functions such as read_csv.
parvu mcp --allow-dir ~/data runs ParVu as a standalone MCP server with its own tables, for clients that should open files themselves. Only the folders you allow can be opened, queries are read-only, and nothing is written unless you add --allow-write. See MCP.md for every option.
Start
Work with data
- SQL and Expressions
- Transforming Data
- Column Types
- Formulas
- Excel Functions
- Editing and Filling Cells
- Saving and Exporting
Go further

