Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sqd.dev/llms.txt

Use this file to discover all available pages before exploring further.

The Portal MCP server is experimental. Available tools and behavior may change.
Connect the Portal MCP server to your favorite AI coding clients. MCP (Model Context Protocol) is an open-source standard for connecting AI applications to external systems. The Portal MCP server gives your agent direct access to blockchain data across 225+ datasets. Discover datasets, query transactions and logs, analyze wallets, and compare chains.

Connect Portal MCP

  • MCP endpoint: https://portal.sqd.dev/mcp
  • Authentication: Free, no API keys required
claude mcp add --transport http sqd-portal https://portal.sqd.dev/mcp
Test the connection:
claude mcp list
See the Claude Code documentation for more details.

Available tools

23 core tools across EVM, Solana, Bitcoin, Substrate, and Hyperliquid, plus experimental OHLC and debug helpers. All queryable in natural language. Every tool follows the same description style, input schema, response envelope, and routing metadata, and every response includes structured follow-up hints and optional interactive panels for MCP-aware clients.

Discovery & shared

ToolDescription
portal_list_networksFind the right network or alias across EVM, Solana, Bitcoin, Substrate, and Hyperliquid. First stop when you’re not sure which dataset to query.
portal_get_network_infoCheck if a network is indexed, fresh, caught up, or behind, and see which tables are available.
portal_get_headGet just the latest or finalized head block or slot for a network.
portal_get_recent_activityCross-VM recent-activity feed with chronological paging. Simplest answer to “what’s been happening on X lately?”.
portal_get_wallet_summaryOne-call wallet analysis across supported VMs. Overview, activity, and assets.
portal_get_time_seriesChart-ready metric buckets over time with optional compare-to-previous and EVM contract grouping.

EVM

ToolDescription
portal_evm_query_transactionsQuery raw EVM transactions with optional logs, traces, and state-diff context via include flags.
portal_evm_query_logsQuery raw EVM logs with address/topic filters and optional inline decoding.
portal_evm_query_token_transfersToken-transfer activity on EVM without needing to remember the Transfer event signature.
portal_evm_get_analyticsNetwork-wide EVM snapshot with ranked top contracts and compact overview metrics.
portal_evm_get_contract_activityContract-centric summary: recent interactions, unique callers, and optional event activity.
portal_evm_get_ohlcExperimental. DEX OHLC candles plus a recent-trade tape from Uniswap v2/v3/v4 and Aerodrome Slipstream swaps.

Solana

ToolDescription
portal_solana_query_transactionsQuery raw Solana transactions with optional balances, token balances, rewards, logs, and instruction context.
portal_solana_query_instructionsQuery raw instructions with program, account, and Anchor-discriminator filters.
portal_solana_get_analyticsSolana throughput, fee, wallet activity, and optional top-program snapshot.

Bitcoin

ToolDescription
portal_bitcoin_query_transactionsQuery raw Bitcoin transactions with optional inline inputs and outputs.
portal_bitcoin_get_analyticsBitcoin block cadence, fees, SegWit/Taproot adoption, and address activity snapshot.

Hyperliquid

ToolDescription
portal_hyperliquid_query_fillsQuery trade fills with PnL, fees, and routing.
portal_hyperliquid_get_analyticsTrading volume, top coins, and trader rankings.
portal_hyperliquid_get_ohlcOHLC candles for Hyperliquid markets.

Substrate

ToolDescription
portal_substrate_query_callsQuery Polkadot-, Kusama-, and other Substrate-style extrinsic calls with pallet and method filters.
portal_substrate_query_eventsQuery Substrate events emitted by runtime pallets.
portal_substrate_get_analyticsSubstrate network-wide snapshot: block cadence, extrinsic volume, and top pallets.

Debug

ToolDescription
portal_debug_query_blocksInspect raw blocks across VMs for schema debugging.
portal_debug_resolve_time_to_blockResolve a timestamp to a block or slot for any supported network.
portal_debug_hyperliquid_query_replica_commandsLow-level access to Hyperliquid replica commands (orders, cancels, transfers, leverage updates).

Known limitations

The MCP server may struggle with memory issues when handling large volumes of data, especially on high-TPS chains like Solana and Hyperliquid. v0.7.5 introduced chunked fetching and lower default limits to mitigate this, but large unfiltered queries can still cause timeouts or incomplete results. Always use filters and keep block ranges tight on dense chains.

Best practices

  1. Use timeframes for any query. All query tools support the timeframe parameter (e.g., "24h", "7d"). No need to calculate block ranges manually
  2. Try specialized tools first. Use high-level tools like portal_get_wallet_summary or portal_get_recent_transactions before lower-level query tools
  3. Always filter queries. Use addresses, topics, or other filters to keep responses under the 50KB cap
  4. Leverage analytics tools. Use per-chain analytics and time series tools to get summaries without fetching raw data
  5. Mind block ranges. Keep queries under 10K blocks for logs, 5K for transactions, and 1K for traces for best performance. On high-TPS chains, use even smaller ranges