get_token_priceLABSCO SUMMARY
An agent can trade and settle on EDUCHAIN without a front end.
Prices, pools and balances arrive in one place, and the swap or transfer goes out from the same conversation. EDU is a native token that the DEX cannot swap directly, so the wrapping into WEDU happens for you unless you ask to do it by hand.
What it is
A server for EDUCHAIN and the SailFish DEX running on it. Read calls cover token prices, pools, TVL, volume and wallet holdings; write calls send tokens and execute swaps, wrapping and unwrapping EDU as the DEX requires.
What you get
- Token prices and token detail, and the top tokens and pools by TVL
- Pool detail, total value locked, and trading volume
- Historical series for a token or a pool
- EDU and ERC-20 balances for an address, several at once, plus NFT holdings and a whole-wallet overview
- Swap quotes with price impact and route, then swaps token-to-token or between EDU and tokens with WEDU handled underneath
- EDU and ERC-20 transfers, and manual wrap and unwrap when you want the control
- External exchange market data for EDU, and an arbitrage check against the DEX price with a threshold you set
Requirements
Network access to EDUCHAIN, with RPC_URL in the config pointing at an RPC endpoint. Calls that sign a transaction take the wallet's private key as a privateKey argument on that call, not from the config; the read calls need only an address.
Setup effort
Build from source
USE CASES
Checking what a wallet is actually holding
Read the whole-wallet view, then the individual token balances and NFTs, without opening an explorer.
Pricing a swap before you sign it
Get the quote with its price impact and route alongside the current token price, so a bad route shows up before the transaction does.
Making the swap once the quote looks right
Execute token-to-token, or between EDU and a token, with the WEDU step handled as part of the call.
Paying someone in EDU or a token
Check the balance covers it, then send — native EDU or an ERC-20 from its contract.
Finding where the liquidity actually is
Read the top pools by TVL, open the one you care about, and set it against the total locked across the DEX.
Spotting a price gap between exchange and DEX
Pull the centralised-exchange price for EDU and run the arbitrage check against the DEX at the threshold you choose.
29 tools
Listed in project docs. Your client may show a different list.
get_token_infoget_pool_infoget_top_tokensget_top_poolsget_total_tvlget_24h_volumeget_token_historical_dataget_pool_historical_dataget_edu_balanceget_token_balanceget_multiple_token_balancesget_nft_balanceget_wallet_overviewget_wallet_address_from_private_keysend_edusend_erc20_tokenget_swap_quoteswap_tokensswap_edu_for_tokensswap_tokens_for_eduwrap_eduunwrap_weduget_external_market_datacheck_arbitrage_opportunitiesupdate_external_market_configget_external_market_configset_rpc_urlget_rpc_urlBEFORE YOU INSTALL
What to know first
Tools you get
29 tools named in the project's documentation.
Requires
- Node.js, with npm to build it
- An EDUCHAIN RPC endpoint for RPC_URL
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
You clone and build this one yourself.
Server setup
git clone https://github.com/SailFish-Finance/educhain-ai-agent-kit
cd educhain-ai-agent-kit
npm install
npm run buildMCP Clients
Claude Desktop
{
"mcpServers": {
"sailfish": {
"command": "node",
"args": [
"<YOUR_PATH_TO_EDUCHAIN_AI_AGENT_KIT>/build/index.js"
],
"env": {
"RPC_URL": "<YOUR_RPC_URL>"
}
}
}
}