Compatible with every major AI agent and IDE
What is the QuestDB (Time-Series) MCP Server?
Connect your QuestDB instance to any AI agent to perform high-speed time-series analysis and data management using natural language.
What you can do
- SQL Execution — Run complex SQL queries, DDL, and DML operations optimized for time-series data.
- High-Speed Ingestion — Import tabular data (CSV/TSV) directly into tables with automatic schema creation and partitioning.
- Data Export — Extract large datasets in CSV or Parquet formats for external analysis or reporting.
- Health Monitoring — Instantly check server status and version information to ensure your database is operational.
How it works
- Subscribe to this server
- Provide your QuestDB URL and optional credentials (Username/Password or Token)
- Start querying and managing your time-series data from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Data Engineers — Quickly inspect table schemas, run migrations, and verify data ingestion pipelines.
- Analysts — Perform ad-hoc time-series analysis and export results without writing complex scripts.
- DevOps Teams — Monitor database health and perform maintenance tasks through a conversational interface.
Built-in capabilities (4)
Use this for standard SELECT, INSERT, or DDL operations. Execute SQL statements (queries, DDL, DML) on QuestDB
Useful for extracting large datasets. Export query results as CSV or Parquet
Automatically creates tables and columns if they do not exist. Import tabular data (CSV, TSV) into a table
Health check and version information
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and QuestDB (Time-Series) tool infrastructure. Connect 4 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add QuestDB (Time-Series) without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every QuestDB (Time-Series) tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
QuestDB (Time-Series) in Mastra AI
QuestDB (Time-Series) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect QuestDB (Time-Series) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for QuestDB (Time-Series) in Mastra AI
The QuestDB (Time-Series) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 4 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
QuestDB (Time-Series) for Mastra AI
Every tool call from Mastra AI to the QuestDB (Time-Series) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I execute standard SQL queries and DDL commands like creating tables?
Yes! Use the execute_sql tool to run any valid QuestDB SQL statement, including SELECT, INSERT, and table definitions. You can also include parameters like explain to see the execution plan.
How do I import a CSV file into a new or existing table?
Use the import_data tool. Provide the target table name and the raw CSV data. The tool can automatically create the table structure and handle partitioning if specified.
Is there a way to export large query results for use in other tools?
Absolutely. The export_data tool allows you to run a query and receive the output in CSV or Parquet format, which is ideal for large-scale data extraction.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
CoderPad
8 toolsManage technical interviews and assessments via CoderPad — create pads, track interview events, and audit the question bank directly from any AI agent.

USAJOBS (OPM)
4 toolsSearch and analyze federal job opportunities directly from USAJOBS. Access active listings, historic data, and detailed job requirements.

Treinta App
12 toolsEmpower Latin American SMBs automating Treinta app. Access ledgers, manage client debt, and review store inventories actively from chat.

CB Insights
13 toolsResearch emerging technologies, track venture capital deals, and analyze market trends with AI-powered business intelligence.
