Labsco
MCP SERVER

TON BLOCKCHAIN MCP

by devonmojito

Ask questions about the TON blockchain in plain English — an address's behaviour, a transaction's detail, a wallet's trading pattern, or what is trending right now.

DeFi Positions & On-Chain Analytics
Summary
Chain analysis without the block explorer.

The questions people actually take to an explorer — is this address a scam, did this wallet make money, what is moving right now — are the ones this answers directly, so an investigation stays in one thread instead of twenty tabs.

What it is

A Python MCP server over the TON API. It takes natural-language blockchain questions and resolves them against live TON data: addresses, transactions, trading behaviour and network activity.

What you get
  • An address analysed — what it is and what it has been doing
  • The full detail of a specific transaction by hash
  • Trading patterns analysed, including profitability and strategy
  • Trending tokens, active pools and high-activity accounts surfaced
  • A deeper investigation pass for forensics and compliance work
Requirements

Python 3.10 or newer and a TON API key, which you register for at tonconsole.com — put it in a `.env` file in the project root, where the server picks it up automatically. Install with `pip install -r requirements.txt`. The client config runs it as `python -m tonmcp.mcp_server` with `PYTHONPATH` pointing at the repository's `src` directory; get that path wrong and the server will not start.