Ton Blockchain MCP Server

A Model Context Protocol (MCP) server for natural language interaction with the [TON blockchain](http://ton.org/).

Local serverstdioPython

What is the Ton Blockchain MCP MCP server?

If you already use Ton Blockchain MCP, the ton blockchain mcp mcp server is the piece that lets your assistant work with it directly. A Model Context Protocol (MCP) server for natural language interaction with the TON blockchain.

What the server does

  • Natural Language Processing — Understand complex blockchain queries in plain English
  • Trading Analysis — Analyze trading patterns, profitability, and strategies
  • Hot Trends Detection — Find trending tokens, active pools, and high-activity accounts
  • Forensics & Compliance — Conduct blockchain investigations and compliance checks
  • Real-time Data — Access live TON blockchain data through TON API

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Prerequisites — The Prerequisites tool exposed by this server
  • Installation — 1. Clone the repository: bash git clone https://github.com/devonmojito/ton-blockchain-mcp.git cd ton-blockchain-mcp
  • Tools — The Tools tool exposed by this server
  • analyze_address — Analyze a TON address for its balance, jetton holdings, NFTs, and recent activity. Optionally performs deep forensic analysis if deep_analysis is
  • get_transaction_details — Get details and analysis for a specific TON blockchain transaction by its hash. Use for questions about a particular transaction, its participants
  • find_hot_trends — Find trending tokens, pools, or accounts on the TON blockchain for a given timeframe and category. Use for questions about what's hot, trending, or
  • analyze_trading_patterns — Analyze trading patterns for a TON address over a specified timeframe. Use for questions about trading activity, frequency, jetton transfers, or DEX
  • get_ton_price — Get the current real-time TON price in the specified currency (default: USD) and recent price changes. Use this tool whenever you need the latest TON
  • get_jetton_price — Get the current price and recent changes for specified jetton tokens (not TON) in the given currency. Provide a list of jetton master addresses as

Credentials and setup notes

Configuration is passed through the environment: PYTHONPATH, TON_API_KEY, YOUR_TON_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Python 3.10+ - TON API key from TONAPI

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Where it fits

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Ton Blockchain MCP's toolset — Prerequisites, Installation, Tools and 6 more — is a fair guide to whether it matches your workflow. It is maintained by devonmojito; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Ton Blockchain MCP.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
Installation1. Clone the repository: bash git clone https://github.com/devonmojito/ton-blockchain-mcp.git cd ton-blockchain-mcp
ToolsThe Tools tool exposed by this server.
analyze_addressAnalyze a TON address for its balance, jetton holdings, NFTs, and recent activity. Optionally performs deep forensic analysis if deep_analysis is True. Use for questions about account overview, holdings, or activity.
get_transaction_detailsGet details and analysis for a specific TON blockchain transaction by its hash. Use for questions about a particular transaction, its participants, value, or type.
find_hot_trendsFind trending tokens, pools, or accounts on the TON blockchain for a given timeframe and category. Use for questions about what's hot, trending, or popular on TON.
analyze_trading_patternsAnalyze trading patterns for a TON address over a specified timeframe. Use for questions about trading activity, frequency, jetton transfers, or DEX swaps for an account.
get_ton_priceGet the current real-time TON price in the specified currency (default: USD) and recent price changes. Use this tool whenever you need the latest TON price for calculations, analysis, or reporting.
get_jetton_priceGet the current price and recent changes for specified jetton tokens (not TON) in the given currency. Provide a list of jetton master addresses as tokens. Use this tool to fetch real-time prices for any token except TON.

How to install the Ton Blockchain MCP MCP server

{
    "mcpServers":
    {
        "ton-mcp-server":
        {
            "command": "/Users/devon/ton-mcp/ton-blockchain-mcp/venv/bin/python",
            "args":
            [
                "-m",
                "tonmcp.mcp_server"
            ],
            "cwd": "/Users/devon/ton-mcp/ton-blockchain-mcp/src",
            "env":
            {
                "PYTHONPATH": "/Users/devon/ton-mcp/ton-blockchain-mcp/src"
            },
            "stdio": true
        }
    }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.10+ - TON API key from TONAPI
VariableDescriptionRequired
PYTHONPATHFilesystem location the server is allowed to use.Optional
TON_API_KEYCredential the server authenticates with.Yes
YOUR_TON_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Ton Blockchain MCP to Prerequisites.
  • Use Ton Blockchain MCP to Installation.
  • Use Ton Blockchain MCP to Tools.

Frequently asked questions

It connects Ton Blockchain MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (Prerequisites, Installation, Tools, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Ton Blockchain MCP directly.