Overview
Use the Explorer MCP server when an agent needs live chain context from the explorer without scraping pages or guessing from stale context.
Use This When
Section titled “Use This When”- you want an agent to inspect a block, transaction, account, or program ABI
- you want to debug deployed behavior against a specific network
- you want recent chain activity or account transaction history
- you want a tool-friendly way to search unknown
ta...,ts..., or slot values
Choose another interface when:
- you need to send transactions or mutate chain state: use CLI Reference or the relevant SDK
- you need a typed application integration: use the gRPC API or the appropriate SDK
- you are still deciding which docs to read: start with Build with LLMs
Installation
Section titled “Installation”Use the public Explorer MCP endpoint:
https://scan.thru.org/api/mcpClaude Code
Section titled “Claude Code”claude mcp add --transport http thru-explorer https://scan.thru.org/api/mcpclaude mcp listcodex mcp add thruExplorer --url https://scan.thru.org/api/mcpcodex mcp listWhat It Exposes
Section titled “What It Exposes”The explorer app hosts an MCP server at /api/mcp and exposes these tools:
On the public explorer, the MCP endpoint is:
https://scan.thru.org/api/mcpget_blockget_transactionget_accountlist_account_transactionslist_recent_blockslist_recent_transactionssearchget_program_abi
Every tool ultimately calls the explorer API with format=toon, which means the returned content is optimized for LLM consumption instead of browser rendering.
RPC Override
Section titled “RPC Override”The MCP endpoint accepts an optional ?rpc=<url> query parameter.
Use that when:
- you are debugging a non-default network
- you want the same agent workflow against devnet, staging, or another explorer-compatible RPC endpoint
If the rpc value is missing or invalid, the explorer falls back to its default network.