npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tegroton/tegro-finance-mcp

v0.1.0

Published

Model Context Protocol server for the Tegro Finance DEX on TON — let an AI assistant read pools, token prices, swap quotes and liquid-staking (stgTON) rates. Read-only, no keys, no signing. Built on @tegroton/tegro-finance.

Readme

Tegro Finance DEX — MCP server

Tegro Finance DEX MCP

npm npm downloads CI MCP License: MIT Telegram X

Tegro Finance MCP — a TON DeFi / DEX Model Context Protocol server. It lets an AI assistant (Claude, Cursor, ChatGPT, …) read live Tegro Finance DEX data on TONpools, token prices, swap quotes and liquid‑staking (stgTON) rates — in plain language. AI access to live Tegro TON DEX data, with no wallet permissions.

Read‑only & non‑custodial. No API keys, no wallet, no signing — nothing that can move funds. It only reads the public Tegro Finance API. Just run it.

Tools

| Tool | What it does | |---|---| | tegro_dex_pools | All liquidity pools — reserves, fees, TVL, APYs | | tegro_dex_pools_for_token | Pools that contain a given token | | tegro_dex_assets | The tradable‑token registry | | tegro_dex_token | Price / holders / liquidity / trust score for a token | | tegro_dex_quote_swap | Quote an exact‑in swap (read‑only; no tx built) | | tegro_staking_pools | Liquid‑staking pools (stgTON & others) + APY | | tegro_staking_rate | Live stgTON→TON rate for a pool |

Install

Requires Node.js ≥ 18. No account, no keys, no env — the whole command is just:

npx -y @tegroton/tegro-finance-mcp

Wire that into any MCP client:

Claude Desktop

claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "tegro-finance": { "command": "npx", "args": ["-y", "@tegroton/tegro-finance-mcp"] }
  }
}

Claude Code

claude mcp add tegro-finance -- npx -y @tegroton/tegro-finance-mcp

Cursor

.cursor/mcp.json (project) or Settings → MCP → Add:

{
  "mcpServers": {
    "tegro-finance": { "command": "npx", "args": ["-y", "@tegroton/tegro-finance-mcp"] }
  }
}

Windsurf · VS Code (Cline) · ChatGPT · any MCP client

Same entry — command: "npx", args: ["-y", "@tegroton/tegro-finance-mcp"], no env. Add it to the client's MCP-servers list (Windsurf: Cascade MCP config; VS Code: Cline → MCP Servers; ChatGPT: Developer mode / MCP). For a ChatGPT custom GPT instead, see integrations/chatgpt-gpt.md.

What you can ask

  • "What are the top Tegro Finance pools by TVL right now?"
  • "Quote 100 TON → USDT on Tegro and show the price impact."
  • "What's the current stgTON liquid-staking APY and rate?"
  • "Show price, holders and liquidity for token <address>."
  • "Which Tegro pools include <token>?"

How it works

Thin wrapper over the official @tegroton/tegro-finance SDK, which reads the public Tegro Finance API. The SDK is non‑custodial: building or signing a real swap happens in the user's own wallet and is intentionally not part of this read‑only server.

Tegro Finance ecosystem

Other AI surfaces

Same read-only API, every assistant — see integrations/: llms.txt, an agent guide, a curated OpenAPI, a ChatGPT custom-GPT recipe, and Hermes/function-calling tools. llms.txt is live at https://tegro.finance/llms.txt.

Community

Telegram @tegrofinance · X @TegroDEX

Security

Read‑only. No keys, no signing, no funds. Outbound HTTPS only to the Tegro Finance API. See SECURITY.md.

Develop

npm install
npm run build
node dist/index.js   # stdio MCP server

MIT © TegroTON