• DATA MODIFICATION
  • SCHEMA CONTROL
  • DATA ANALYSIS
  • HUMAN REVIEW

How to run SQL queries with your AI client

Connect QuestDB to your AI client once. From then on, you can manage your time-series data using plain English.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

Can I run SQL through my AI?

Yes. You can use your agent to send DDL and DML commands straight to QuestDB. This lets you create tables, insert data, or query records without writing manual scripts. You'll see exactly how the data is handled.

The outcomes

What your agent delivers

Your agent handles the syntax so you can focus on the data.

DATA MODIFICATION

Update your tables

Your agent uses execute_sql to run DML commands. You can add new time-series points or update existing records through chat.

SCHEMA CONTROL

Manage database structure

Use DDL commands to create or alter tables. Your agent handles the table definitions for you.

DATA ANALYSIS

Query time-series data

Ask questions about your metrics. Your agent translates your words into SQL to pull specific data points from QuestDB.

HUMAN REVIEW

Verify query logic

Your agent shows you the SQL it intends to run. You decide if the command is safe before it hits your database.

The workflow

What your agent does when a command arrives.

Your agent acts as the bridge between your intent and the database engine.

  1. Translate intent

    Your agent interprets your request for a specific time-series operation. It maps your words to the correct SQL syntax.

    execute_sql
  2. Generate SQL

    Your agent builds the exact DDL or DML statement needed for QuestDB. It ensures the syntax matches your specific table schema.

    execute_sql
  3. Execute command

    The command is sent to the database to perform the requested action. This happens through the direct connection to your time-series instance.

    execute_sql
  4. Return results

    Your agent receives the data or the success confirmation. It presents the rows or the status update in a readable format.

    execute_sql

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute QuestDB tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to test the connection.

Starting points

Swap out the table names and column names for your actual QuestDB schema.

QuestDB Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_2JOk1hTa0Hc7TZSrk9PX0JHkHMR9yGZEnj7dIpoE/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, QuestDB capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "questdb-time-series-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_2JOk1hTa0Hc7TZSrk9PX0JHkHMR9yGZEnj7dIpoE/mcp"
    }
  }
}
Copy into chat04
  • 01

    Create a new table named sensor_data with columns for timestamp, device_id, and temperature.

  • 02

    Insert a new record into the telemetry table with a timestamp from five minutes ago.

  • 03

    Show me the average temperature from the weather_logs table for the last hour.

  • 04

    Drop the old_test_metrics table from the database.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect QuestDB once, then ask.

Follow the link to link your instance. Your credentials stay encrypted, and you can immediately start chatting with your data.

Connect QuestDB to your agent

FAQ

How the SQL execution works

  • 01

    Can your agent delete my entire database?

    No. Your agent only executes the specific SQL commands you request through the tool.

  • 02

    Does your agent write the SQL for me?

    Yes. It translates your natural language instructions into valid SQL statements.

  • 03

    Can I review the SQL before it runs?

    Yes. You should always check the generated SQL in your AI client before confirming the execution.

  • 04

    Can your agent create new tables?

    Yes. It can run DDL commands to create or modify your database schema.

  • 05

    Does your agent manage my database users?

    No. This connector is for executing SQL commands, not for managing database user permissions or roles.

  • More questions about QuestDB? The Connector page answers them. See everything the QuestDB Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from QuestDB to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    QuestDB plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect QuestDB to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.