The rq command-line interface
Your terminal agent can run the data workflow.
Give Claude Code or Codex the rawquery skill. Ask it to inspect your data, write and run queries, save calculations, create charts, and publish the result. You can also run every rq command yourself.
No credit card·Free plan includedInstall rq. Connect your agent.
Install your chosen terminal agent separately. Then install rq, sign in, and check the active workspace:
rq login
rq configClaude Code
rq claude-initRun in your project directory. Start Claude Code there, invoke /rq, and describe the task.
Codex
rq codex-initRun in your project directory. Start Codex there, invoke $rq, and describe the task.
Your agent uses rq with your credentials and workspace. Its subscription and usage charges are separate from rawquery.
Ask for the complete result.
With Stripe invoices synced, give either agent this task:
Count my paid invoices by creation month. Show me the query and results. Save the calculation and build a bar chart. Let me review it before publishing.
The agent can carry out that sequence through rq. The query and chart persist in the workspace; you can inspect or edit them later. This website's invoice chart was built and published that way.
The same tools work directly.
Inspect your workspace, then use the column names returned by your source. This query uses a connection named my_stripe:
rq tables
rq describe my_stripe.invoices
rq query "SELECT strftime(created, '%Y-%m') AS month,
COUNT(*) AS invoice_count FROM my_stripe.invoices
WHERE paid = true GROUP BY 1 ORDER BY 1"Sources and syncs
Connect databases and business tools, configure custom APIs, and inspect sync runs.
Read the guide →Queries and transforms
Save reusable SQL, add parameters, and schedule dependent transformations.
Read the guide →Charts and dashboards
Create charts from saved queries, assemble pages, and manage public access.
Read the guide →Recorded workflows and browser access
For Claude in your browser, follow the connector setup. This earlier recording demonstrates operating rawquery from Claude Desktop.