The Portal MCP server is experimental. Available tools and behavior may change.
portal_list_networks for current network availability.
Connect Portal MCP
- MCP endpoint:
https://portal.sqd.dev/mcp - Server version:
0.8.6 - Authentication: none on the public server
- Claude Code
- Claude
- Grok
- Cursor
- VS Code
Coverage and evidence
Portal MCP reports the data behind an answer and whether it covers the full request.- Verified time windows. Timestamp boundaries are checked against indexed block timestamps across live datasets. The response shows the requested and analyzed window and rejects a future start time instead of silently moving it to the indexed head.
- Stable evidence identities. Normalized transactions, logs, calls, events, instructions, inputs, outputs, fills, and actions have stable row identifiers. Missing or duplicate identifiers fail the request rather than producing ambiguous evidence.
- Exact continuation. Cursor pages preserve every accepted row without duplicates or gaps, including multiple matching records in one block, and an oldest-first scan on logs, token transfers, and traces returns a working cursor too.
- Reconciled totals. Wallet quantities, transaction counts, aggregates, and OHLC summaries use the returned evidence and exact integer units. Token transfers use the token’s own decimals. Hyperliquid fees stay signed and grouped by fee token; USD totals are unavailable when amounts or units are missing, invalid, or require conversion.
- Disclosed partial reads. A scan that stops before the start of the requested window reports
_coverage.window_complete: falseand names the blocks it searched, instead of a result that looks complete. - Interrupted scans. Adaptive scans resume after the last completed block when delivery is interrupted. If the server cannot recover safely, it returns an error instead of replaying records and inflating totals.
- Bounded, honest failures. Response limits are measured on the actual MCP payload. Upstream overloads, timeouts, and incomplete results return structured retry guidance instead of partial data presented as complete.
- Current MCP protocol. Stateless HTTP supports MCP
2026-07-28, including server discovery, request metadata, routing headers, and cache hints. Older clients continue through the SDK compatibility path.
SQD Explorer (beta)
SQD Explorer is an optional MCP App, in beta and off by default. To enable it for your connection, usehttps://portal.sqd.dev/mcp?app=1 in a client that supports MCP Apps.
Compatible clients show metrics, charts, price candles, evidence tables, coverage, and pagination controls for supported data tools. You can inspect chart values, filter evidence, request the next page, and export received records as JSON or CSV. Missing time buckets appear as gaps; display limits are separate from result completeness.
Tron queries return data through portal_tron_query_transactions and portal_tron_query_logs; the Explorer does not yet render Tron charts. Clients without MCP App support receive the same structured result and text fallback.
Reproducible investigations
Three built-in MCP prompts provide guided starting points without adding more query tools:investigate-walletfor a wallet’s bounded activity and evidence trailinvestigate-contractfor interactions, callers, and emitted eventsinvestigate-marketfor fills, candles, volume, and market context
_evidence receipt. It records the canonical tool arguments, argument and exact-data digests, source and analyzed windows, row reconciliation, completeness, and whether replay uses a pinned evidence window or a moving semantic window. Use the receipt together with _coverage, _freshness, _ordering, and _pagination before treating an answer as complete.
Available tools
The server exposes 31 read-only tools: 28 query and analytics tools plus 3 low-level diagnostic tools. They cover EVM, Solana, Bitcoin, Substrate, Hyperliquid, and Tron data. Every tool uses the same pagination, error, and coverage format so the client can tell whether a result is complete or partial.Discovery & shared
EVM
Solana
Bitcoin
Hyperliquid
Substrate
Substrate data is historical only, with no real-time tail.Tron
Debug
Analytics limits
- Hyperliquid volume is per-account fill notional, not deduplicated market volume. Liquidation metrics are unavailable because Portal fills do not expose a liquidation marker.
- If an optional Solana instruction scan fails, program rankings are marked unavailable. Transaction analytics remain available.
Response size and pagination
The MCP query tools return a bounded page of results plus a_pagination.next_cursor when more matching rows are available. The page is sized to fit an AI context window, so one call may return a preview rather than the whole range. Pass next_cursor back until _coverage.result_complete is true, or tighten the filters.
Check _coverage.window_complete separately. A complete result page can still cover only the scanned part of a wider requested window. The server keeps this distinction explicit and never silently removes rows to fit a response.
Raw query tools can return capped results for wide ranges. portal_get_time_series rejects windows over 12,000 blocks, so use shorter windows on fast chains. Time-series requests for Base mainnet and Sepolia default to 15 minutes.
The underlying Stream API behaves differently: it has no per-response page cap and streams the full result at HTTP 200 (bounded only server-side), and you paginate it by resuming from lastBlock + 1 rather than a cursor. The MCP’s paging is a separate convenience layer for AI clients, not a limit on the HTTP API.
Known limitations
Portal MCP is designed for bounded answers inside an AI conversation. Broad, unfiltered scans on dense networks can return partial coverage or reach the request timeout. Check the coverage and pagination fields, narrow the filters, or request the next page. Use the raw Portal Stream API or an indexer for complete exports and recurring workloads.Related
- Claude Code Plugin. One-command plugin install for Claude Code
- Codex Plugin. One-command plugin install for Codex
- Grok Plugin. Install SQD in Grok Build or connect Grok on the web
- Gemini CLI Extension. Install SQD in Gemini CLI
- Cursor Plugin. Install SQD in Cursor
- AI Development Overview. Resources for building AI agents with SQD
- Portal API Reference. HTTP API for blockchain data
- Documentation MCP Server. Search SQD documentation
- Pipes SDK. TypeScript SDK for custom pipelines
- llms.txt. Documentation index for LLMs