Tarka

PostgreSQL · Snowflake · macOS

tarka

The query tool built for agents.

A fresh, fluid, AI-native query tool for PostgreSQL and Snowflake on your Mac. Your agent runs the queries. You see each one and approve what writes.

Tarka with an agent session open: a SQL query, its result rows and the agent's reasoning timeline alongside
A Claude Code investigation, live in Tarka

01

Hand-written SQL is gone. Judgment isn't.

Your agent writes the query now. Reading the plan, checking the rows, deciding it is right: still you. A coding harness gives you nowhere to do that. Tarka does: one MCP server, every database you have connected.

MCP tools

  • list_connections
  • execute_query
  • analyze_query
  • profile_table
  • get_table_ddl
  • diff_schema
  • diff_query
  • list_sessions
  • rename_session

02

You watch it think.

Each investigation is its own tab in Tarka. The agent's reasoning, each query, its plan and its rows appear there as they happen, never in the tab you are working in.

A reasoning timeline in Tarka: four agent steps with row counts and timings, one corrected after an error

03

Nothing ships without you.

On production, a write runs only after you approve that exact statement, and the agent sees column names and counts while the rows stay on your screen.

An approval card in Tarka asking whether to run an UPDATE on a production connection, with Deny and Approve buttons

Guardrails

Safe by default.

  • Explain by default

    A query runs as EXPLAIN unless the agent asks to execute it.

  • Read-only until confirmed

    On PostgreSQL, unconfirmed statements run in a read-only transaction. A write hidden in a function fails.

  • Writes wait for you

    On staging and production, a write runs only after you approve it in Tarka.

  • No WHERE, no run

    DELETE and UPDATE without a WHERE clause never execute.

  • Metadata on production

    The agent gets column names, types and counts. The rows stay on your screen.

  • Privileged functions by name

    pg_terminate_backend, dblink and the like need confirmation.

  • A cap on runtime

    You set how long one statement may run.

  • No AI inside

    Tarka has no model and needs no API keys. You bring the agent.

Built for builders

Tired of clunky database clients?

No clutter, no wall of toolbars. Query plans, a table inspector, charts and in-place editing sit where you would reach for them.

Tarka in focus mode: the SQL editor and the result grid, nothing else
Focus mode · editor and results, nothing else
Tarka's table inspector showing the columns of public.orders with types, defaults, keys and comments
Inspector · columns, indexes, constraints, dependencies, stats
A line chart drawn from a query result in Tarka, bucketed by created_at
Charts · any numeric column, one click

Bring your agent.