Access the Portal MCP server
Server URL:https://portal.sqd.workers.dev/mcp
Use the Portal MCP server
Connect the Portal MCP server to your preferred AI tools.- Claude
- Claude Code
- Cursor
- VS Code
Add the Portal MCP server to Claude
- Navigate to the Connectors page in Claude settings.
- Select Add custom connector.
- Add the Portal MCP server:
- Name:
Portal - URL:
https://portal.sqd.workers.dev/mcp
- Name:
- Select Add.
Available tools
The Portal MCP server provides 27 blockchain data query tools across 225+ datasets, organized into 6 categories.Dataset Management (5 tools)
portal_list_datasets- Browse accessible blockchain datasetsportal_search_datasets- Locate chains by name or criteriaportal_get_dataset_info- Retrieve metadata and block rangesportal_get_block_number- Obtain current block heightportal_validate_dataset- Verify dataset existence with suggestions
EVM Queries (8 tools)
portal_query_blocks- Access block details and transactionsportal_query_logs- Retrieve smart contract eventsportal_query_transactions- Examine transaction informationportal_get_transactions_by_date- Query transactions using a specific dateportal_query_traces- Investigate internal callsportal_query_state_diffs- Monitor storage modificationsportal_get_erc20_transfers- Follow token movementsportal_get_nft_transfers- Track NFT activity
Solana Queries (5 tools)
portal_query_solana_instructions- Examine program executionportal_query_solana_balances- Monitor SOL movementsportal_query_solana_token_balances- Track SPL holdingsportal_query_solana_logs- Access program messagesportal_query_solana_rewards- Analyze validator incentives
Time-Range Queries (2 tools)
portal_query_by_custom_dates- Calendar-based queriesportal_query_by_date_range- Predefined time windows
Advanced Features (7 tools)
portal_stream- Custom low-level data accessportal_query_paginated- Handle large datasets with cursor-based paginationportal_block_at_timestamp- Convert time to block numbersportal_batch_query- Parallel multi-chain operationsportal_decode_logs- Parse events using ABIportal_get_address_activity- Comprehensive wallet analysisportal_get_token_transfers_for_address- Track holdings
Best practices
When using the Portal MCP server, follow these guidelines:- Retrieve current block height before querying to establish valid ranges
- Always filter queries by addresses or topics to avoid memory limits
- Keep date ranges narrow (1-2 days maximum for logs/transactions)
- Leverage pagination for results exceeding single-request limits
- Batch operations across multiple blockchains simultaneously
Related
- AI Agent Guide - Decision framework for selecting tools
- 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

