- MONITOR
- CONTROL
- AUDIT
- HUMAN
Short answer
Can my AI stop running Dune queries?
Yes. Your AI can check the status of any active execution and cancel it immediately. This prevents long-running queries from wasting your credits. You'll see how the agent handles these tasks below.
The outcomes
Where your control lands.
Managing Dune workloads becomes a direct conversation with your agent.
MONITOR
Track active queries
Your AI checks the current state of your Dune executions. You'll know exactly which queries are still processing or have finished.
CONTROL
Kill runaway tasks
If a query is taking too long, tell your AI to stop it. It sends the signal to Dune to terminate the execution.
AUDIT
Review execution history
The AI looks at the status of past runs. This helps you identify patterns in query performance or credit usage.
HUMAN
Manual oversight
The AI handles the technical commands, but you decide which queries are worth stopping. You stay in control of all budget decisions.
The workflow
What your AI does when a query is running.
The AI acts as a bridge between your chat interface and the Dune API.
Check status
The AI looks up the current state of a specific execution to see if it is still processing.
get_execution_statusIdentify issues
The agent compares the status against your instructions to see if a query is stuck or over budget.
get_execution_statusStop execution
Once you confirm, the AI tells Dune to kill the specific query ID.
cancel_executionConfirm completion
The AI verifies that the cancellation was successful so you don't get billed for the full run.
get_execution_status
Try it
Copy these to start.
Use these prompts to trigger actions in Dune.
Starting points
Replace the specific execution IDs or query names with your actual Dune data.
Dune Analytics Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_eJSVmM35oPb3EQRWNnqipzpD87HbivFnslURw8ia/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Dune Analytics capabilities are ready to use.
{
"mcpServers": {
"dune-analytics-web3-sql-analytics-api-mcp": {
"url": "https://edge.vinkius.com/vk_preview_eJSVmM35oPb3EQRWNnqipzpD87HbivFnslURw8ia/mcp"
}
}
}Check the status of my latest Dune query execution.
Is query execution 88291 still running in Dune?
Stop the Dune query execution with ID 44521 right now.
List all my currently running Dune executions and tell me if any are stuck.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Dune Analytics once, then ask.
Just link your account once. Your credentials stay encrypted and secure, and you can immediately start managing queries through your favorite AI client.
Connect Dune Analytics to your AIFAQ
How this task behaves.
- 01
Can the AI write new SQL queries for me?
No. This specific connector is for managing the execution and status of queries, not for writing or editing the SQL code itself.
- 02
Will the AI automatically stop queries to save money?
No. The AI only stops a query when you explicitly tell it to. It won't make autonomous budget decisions without your input.
- 03
Can I use this to create new Dune dashboards?
No. The available tools are limited to checking and canceling executions.
- 04
Does the AI see my private Dune data?
The AI only accesses the specific execution data required to perform the status checks and cancellations you request.
- 05
Can the AI delete my saved queries?
No. There is no tool provided to delete or modify saved queries in Dune.
More questions about Dune Analytics? See everything the Dune Analytics Connector can do
Connect Dune Analytics to Claude, Cursor, ChatGPT & more
