SQD
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
SQD provides read-only blockchain data from SQD Portal. Start with portal_list_networks to resolve a network, then use portal_get_network_info to check availability and freshness. Check _coverage and _pagination before claiming completeness, and reuse _pagination.next_cursor when present. Chain-specific MCP query tools cover Ethereum-compatible networks, Solana, Bitcoin, Polkadot and other Substrate networks, Hyperliquid, and Tron (native TRX transfers, TRC-10 transfers, contract calls, and TRC-20 event logs through portal_tron_query_transactions and portal_tron_query_logs; addresses may be given as Base58 or hex). Prefer timeframe for recent windows and from_block/to_block for exact evidence. No authentication is required.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
| extensions | {
"io.modelcontextprotocol/skills": {
"directoryRead": true
}
} |
| completions | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| portal_list_networksA | Find the right network or chain name to use across EVM, Solana, Bitcoin, Substrate, and Hyperliquid. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_get_network_infoA | Answer "is this network caught up?" with indexing freshness, lag, heads, and available tables. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_get_headA | Get just the latest indexed head block or slot for a network. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_resolve_entityA | Resolve user-facing blockchain entities into query-ready identifiers, with ambiguity kept explicit. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_get_recent_activityA | Get a simple recent-activity feed across EVM, Solana, Bitcoin, or Hyperliquid with chronological paging and investigation pivots. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_get_wallet_summaryA | Summarize wallet activity and fund flow with shared overview, asset movement, counterparties, evidence pivots, and follow-up filters across supported networks. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_get_time_seriesA | Build simple activity charts and other time-series views across supported VMs, including compare-previous windows and grouped EVM contract trends. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_evm_query_logsA | Query raw EVM logs with address/topic filters, common event aliases, earliest/latest scanning, and optional inline decoding. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_evm_query_transactionsA | Query raw EVM transactions with optional logs, traces, state-diff context, and evidence pivots for transaction-level investigations. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_evm_query_tracesA | Query raw EVM traces: internal calls, contract creations, self-destructs, and block rewards, filtered by caller, callee, method, deployer, or one transaction, with the parent transaction hash on every row. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_evm_query_token_transfersA | Query token-transfer activity on EVM without needing to remember Transfer event signatures. Best for "did token X move?" and asset-tracing questions. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_evm_get_contract_deploymentA | Locate the create trace and parent transaction that deployed a specific EVM contract address within a bounded window. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_evm_get_contract_activityA | Summarize what one specific contract has been doing lately, including recent interactions, unique callers, and optional event activity. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_evm_get_analyticsA | Get the big picture for network-wide EVM activity with ranked contracts and compact overview metrics. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_evm_get_ohlcA | Build chart-ready EVM OHLC candles plus a recent trade tape from supported DEX event sources, including Uniswap v2-style swaps, Uniswap v3/v4, and Aerodrome Slipstream. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_solana_query_instructionsA | Query raw Solana instructions with program and account filters. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_solana_query_transactionsA | Query raw Solana transactions with optional balances, rewards, logs, and instruction context. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_solana_get_analyticsA | Get the big picture for Solana throughput, fees, wallet activity, and optional top-program usage. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_bitcoin_query_transactionsA | Query raw Bitcoin transactions and optionally attach inputs and outputs inline. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_bitcoin_get_analyticsA | Get the big picture for Bitcoin block, fee, and address activity over a recent or explicit window. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_substrate_query_eventsA | Query raw Substrate or Polkadot event rows with pallet/event-name filters and optional parent call or extrinsic context. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_substrate_query_callsA | Query raw Substrate or Polkadot calls with pallet/call-name filters and optional child-call, emitted-event, or extrinsic context. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_substrate_get_analyticsA | Analytics snapshot for Substrate or Polkadot activity in an indexed window, with event, call, and extrinsic counts plus top event and call names. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_hyperliquid_query_fillsA | Query raw individual Hyperliquid fills with trader, coin, fee, PnL, and builder context. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_hyperliquid_get_analyticsA | Get the big-picture Hyperliquid fill analytics with top traders, volume by coin, fees, and PnL. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_hyperliquid_get_ohlcA | Build chart-ready Hyperliquid trade OHLC candles with fixed buckets and auto intervals. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_tron_query_transactionsA | Query raw Tron transactions: native TRX transfers, TRC-10 asset transfers, TriggerSmartContract calls by contract and method, or any contract type, with optional inline logs and internal transactions. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_tron_query_logsA | Query raw Tron (TVM) event logs by contract address and topics with common event aliases, the parent transaction hash on every row, and optional inline decoding. COMMON USER ASKS:
FIRST CHOICE FOR:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_debug_query_blocksA | ADVANCED: Query raw block records directly for EVM, Solana, or Bitcoin. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_debug_resolve_time_to_blockA | ADVANCED: Resolve a timestamp to the nearest indexed block or slot. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
| portal_debug_hyperliquid_query_replica_commandsA | ADVANCED: Query Hyperliquid replica-command actions such as orders, cancels, and leverage updates. COMMON USER ASKS:
WHEN TO USE:
DON'T USE:
EXAMPLES:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| investigate-wallet | Trace wallet activity, token flows, counterparties, and exact blockchain evidence. |
| investigate-contract | Explain deployment, calls, events, token flows, actors, and changes over time. |
| investigate-market | Analyze Hyperliquid or onchain price, volume, fills, swaps, and exact market evidence. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| tool-guide | |
| datasets | |
| schema-evm | |
| schema-solana | |
| schema-bitcoin | |
| schema-substrate | |
| schema-hyperliquid | |
| schema-tron | |
| investigation-guide | |
| sqd-blockchain-activity-explorer | Beta. Interactive evidence views for blockchain activity, wallets, contracts, token flows, markets, and network analytics. Activates automatically for MCP Apps hosts; override per deployment with MCP_APP_ENABLED=true|false or per connection with ?app=1|?app=0. |
| sqd-blockchain-activity-explorer-compat-1 | Retained SQD Explorer URI for installed-client compatibility. |
| sqd-blockchain-activity-explorer-compat-2 | Retained SQD Explorer URI for installed-client compatibility. |
| migrate-to-portal | Migrate a Squid SDK indexer (EVM or Solana) from the v2 gateway to the Portal data source. Use when a squid still calls setGateway, setDataSource, lookupArchive or v2.archive.subsquid.io, when a self-hosted squid gets 401 from the v2 gateway, or when TypeScript breaks on EvmBatchProcessor, evmLog, SolanaRpcClient, block.height or block.header.slot after a @subsquid/* upgrade. |
| pipes-sdk | Build and run blockchain indexers with the SQD Pipes SDK (EVM, Solana, Tron, Bitcoin, Hyperliquid) that write to ClickHouse, PostgreSQL, BigQuery, Parquet or Pub/Sub. Use when the user wants a new indexer scaffolded, a Portal query or pipes_handoff recipe turned into a maintained pipeline (backfill, recurring sync, joins, stored tables), a Pipes indexer that crashes, stalls, syncs slowly or writes wrong data fixed, or one validated and deployed. |
| portal | Query on-chain data through SQD Portal: EVM logs, transactions and traces, Solana instructions, Substrate events and calls, Bitcoin, Tron, and Hyperliquid fills. Use when the user wants blockchain data answered in chat, a Portal dataset name, a reproducible curl or NDJSON export, the Portal MCP server or a Portal API key set up, or a decision on whether a query should become an indexer. |
| squid-perf | Measure how long Squid SDK deployments took to sync, from their sqd logs, as an HTML report plus a Markdown summary. Use when the user invokes /squid-perf, asks how long a squid took to sync or whether one deployment synced faster than another, or wants downtime or restart metrics for an SQD Cloud deployment. |
TDQS
Scored across 31 tools
Each tool targets a fairly distinct resource+action, and the explicit 'FIRST CHOICE FOR' / 'DON'T USE' blocks make boundaries clear even among the many EVM query variants (logs vs. token transfers vs. traces vs. transactions). A few pairs still invite misselection — e.g. portal_evm_query_logs vs. portal_evm_query_token_transfers, or portal_get_time_series vs. the per-VM *_get_analytics tools — but the descriptions largely resolve these.
Every tool follows the same portal_[vm_]verb_noun snake_case pattern (portal_evm_query_logs, portal_solana_query_instructions, portal_hyperliquid_get_ohlc), with cross-cutting tools cleanly dropping the VM segment (portal_get_head, portal_list_networks). The verb choice (get/query/list/resolve) is meaningful per operation, not arbitrary, and the debug_ prefix clearly groups advanced tools.
31 tools is on the heavy side, but the surface is the sum of six VM families plus debugging utilities, so most tools do earn their place. It nonetheless requires the agent to navigate a large matrix of per-VM query/analytics/OHLC variants, which is more surface than a single-purpose server would justify.
Coverage is broad and lifecycle-like across VMs: raw queries plus analytics plus chart/OHLC outputs for EVM, Solana, Bitcoin, Substrate, Hyperliquid, and Tron, with cross-cutting network discovery, entity resolution, and wallet summary tools. Minor gaps exist (e.g. no dedicated Substrate extrinsics/transaction query, no Solana or Tron native token-transfer convenience tool), but agents can work around these via the generic raw query tools.