Skip to main content
Query TON blockchain through natural language in Claude Code. Execute API calls directly or generate SDK code.

Installation

In Claude Code:
/plugin marketplace add nessshon/claude-plugins
/plugin install tonapi@nessshon-plugins
Or install locally:
git clone https://github.com/nessshon/tonapi.git
claude --plugin-dir ./tonapi

Configuration

Create .env in the project root:
VariableDescriptionDefault
TONAPI_API_KEYAPI key from tonconsole.comOptional
TONAPI_NETWORKmainnet, testnet, or tetramainnet
TONAPI_BASE_URLCustom base URL (overrides network)auto
TONAPI_RPS_LIMITMax requests per period0
TONAPI_RPS_PERIODRate limit period in seconds1.0

Usage Examples

"What is the balance of ness.ton?"
"What is the current TON price in USD?"
"Show jetton balances for ness.ton as a table"
Simple data queries are executed directly. For apps, streaming, or webhooks — the plugin generates SDK code.

Plugin Source

Skill definition, reference files, and CLI runner.