Dune mcp

From jiayaoqijia/cryptoskill · View interactive version

Dune mcp is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Use Dune MCP through UXC for blockchain table discovery, SQL query creation/execution, execution result retrieval, and visualization with help-first schema inspection, explicit auth binding, and guarded credit-consuming operations.

How to use this skill

Skill file

Dune MCP Skill

Use this skill to run Dune MCP operations through uxc.

Reuse the uxc skill for shared protocol discovery, output parsing, and generic auth/binding flows.

Prerequisites

Core Workflow

  1. Confirm endpoint and protocol with help-first probing:
  1. Configure credential/binding for repeatable auth:
  1. Use fixed link command by default:
  1. Inspect operation schema before execution:
  1. Prefer read/discovery operations first, then query creation or credit-consuming execution.

Capability Map

Recommended Usage Pattern

  1. Find the right table first:
  1. Prefer higher-level spell tables when they already expose the metrics you need.
  2. Keep SQL partition-aware:
  1. Create a temporary query only after confirming table choice and date range.
  2. Execute and fetch results by execution ID.

Guardrails

Tested Real Scenario

The following flow was exercised successfully through uxc:

The successful SQL shape was:

SELECT block_date,
       ROUND(SUM(amount_usd), 2) AS daily_volume_usd,
       COUNT(*) AS trades
FROM uniswap.uniswapx_trades
WHERE blockchain = 'base'
  AND block_date >= date_add('day', -7, CURRENT_DATE)
GROUP BY 1
ORDER BY 1 DESC
LIMIT 7

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.