Skip to main content
The ChainStream MCP server exposes 17 tools for token analytics, wallet profiling, DEX trading, market trends, and blockchain operations. The same 17 tools are available whether you use the cloud endpoint (https://mcp.chainstream.io/mcp) or the npm package (@chainstream-io/mcp).

Tools (17)

Token Tools (5)

Search tokens by name, symbol, or contract address across all supported chains. Returns top matches with name, symbol, chain, price, 24h change, and market cap. Use this as the first step when a user mentions a token by name.
ParameterTypeRequiredDefaultDescription
querystringYesSearch query: token name, symbol, or contract address
chainstringNoFilter by chain (omit to search all chains)
limitnumberNo10Maximum results (1–50)

tokens_analyze

Comprehensive token analysis combining price, volume, holder distribution, security assessment, and liquidity depth. This is the primary tool for evaluating any token — use it whenever someone asks “tell me about token X” or “is this token safe?”. For price charts, use tokens_price_history instead.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
addressstringYesToken contract address
sectionsarrayNo["overview","metrics","holders","security"]Data sections to include. Values: overview, metrics, holders, security, liquidity
This tool aggregates multiple REST API calls (token detail, stats, market data, top holders, security) into a single response.

tokens_price_history

Get OHLCV candlestick data for charting and technical analysis. Returns up to 100 candles with open, high, low, close, volume. Use 1h or 4h resolution for intraday analysis, 1d for longer trends.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
addressstringYesToken contract address
resolutionenumNo"1h"Candle resolution: 1m, 5m, 15m, 1h, 4h, 1d
limitnumberNo50Number of candles (1–100)

tokens_discover

Discover tokens by on-chain metrics. Use this to find tokens matching specific criteria like “high volume tokens on Solana” or “tokens with biggest price increase”.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
sort_byenumNo"volume"Sort metric: volume, price_change, trades, market_cap
time_frameenumNo"24h"Time window: 1h, 4h, 24h
min_volume_usdnumberNoMinimum volume in USD
limitnumberNo20Maximum results (1–50)

tokens_compare

Compare up to 5 tokens side by side. Returns standardized metrics for each: price, volume, market cap, holder count, 24h change. Use when the user asks “which token is better?” or needs to compare options.
ParameterTypeRequiredDefaultDescription
tokensarrayYesArray of { chain, address } objects (2–5 items)

Wallet Tools (2)

wallets_profile

Complete wallet profile: current token holdings with values, realized/unrealized PnL, and total net worth. Use when someone asks “what does this wallet hold?” or “how profitable is this wallet?”. For recent transactions, use wallets_activity instead.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
addressstringYesWallet address
includearrayNo["holdings","pnl"]Data sections: holdings (token balances), pnl (profit/loss), net_worth (total value)
Equivalent to wallet_get_balance + wallet_get_pnl + wallet_get_net_worth on the hosted endpoint.

wallets_activity

Recent wallet activity: token transfers and transaction history. Use when investigating “what has this wallet been doing recently?” or checking for suspicious activity. For portfolio and PnL data, use wallets_profile instead.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
addressstringYesWallet address
limitnumberNo20Number of transfers (1–50)

Market Tools (1)

Get trending tokens by category. hot = most actively traded, new = recently created tokens, migrated = tokens that moved from launchpad to DEX, graduating = tokens approaching migration threshold, stocks = stock-related meme tokens. Default chain is solana.
ParameterTypeRequiredDefaultDescription
chainstringNo"solana"Chain to query
categoryenumNo"hot"Trending category: hot, new, migrated, graduating, stocks
limitnumberNo20Maximum results (1–50)

DEX Tools (3)

dex_quote

Get a swap quote showing expected output amount, price impact, and fees. Read-only — no funds are moved. Always call this before dex_swap to show the user what they will receive and confirm before executing.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
dexstringYesDEX protocol (jupiter, raydium, pumpfun, etc.)
inputMintstringYesInput token address
outputMintstringYesOutput token address
amountstringYesInput amount in smallest unit
slippagenumberYesSlippage tolerance in percent (0–100)

dex_swap

Execute a token swap on a DEX. HIGH RISK — this creates a real transaction that moves funds. Always call dex_quote first and present the quote to the user. The user must explicitly confirm before this tool is called.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
dexstringYesDEX protocol
userAddressstringYesUser wallet address
inputMintstringYesInput token address
outputMintstringYesOutput token address
amountstringYesInput amount in smallest unit
slippagenumberYesSlippage tolerance in percent (0–100)
swapModeenumNo"ExactIn"Swap mode: ExactIn, ExactOut
poolAddressstringNoSpecific pool address
priorityFeestringNoPriority fee for Solana
Executes a real on-chain transaction. MCP clients should require explicit user confirmation.

dex_create_token

Create a new token on a launchpad DEX (PumpFun, Raydium, Moonshot, etc.). HIGH RISK — this deploys a real token contract. Requires user confirmation.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
dexenumYesLaunchpad DEX: raydium, pumpfun, moonshot, candy, launchpad
userAddressstringYesCreator wallet address
namestringYesToken name (max 32 chars)
symbolstringYesToken symbol (max 10 chars)
uristringNoToken metadata URI
imagestringNoToken image URL
priorityFeestringNoPriority fee for Solana
Creates a real on-chain token. Require explicit user confirmation.

Trading Tools (2)

trading_backtest

Backtest a trading strategy against historical data. Returns PnL curve, Sharpe ratio, max drawdown, and trade details. Currently in development — results will be delivered via progress notifications when available.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
tokenstringYesToken address
strategystringYesStrategy description or code
startTimenumberYesStart timestamp (unix seconds)
endTimenumberYesEnd timestamp (unix seconds)
initialCapitalnumberNo10000Starting capital in USD
This tool is in development and returns a placeholder response with the submitted parameters.

trading_execute

Execute a trade on a DEX based on a trading signal. HIGH RISK — this moves real funds. Requires explicit user confirmation. Consider using dex_swap directly for more control over swap parameters.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
actionenumYesTrade action: buy, sell
tokenstringYesToken address
amountstringYesTrade amount
maxSlippagenumberNo3.0Max slippage percent
userAddressstringYesUser wallet address
Executes a real on-chain transaction. MCP clients should require explicit user confirmation.
This tool is in development and returns a placeholder response.

Trade Tools (1)

trades_recent

Get recent on-chain trades with optional token or wallet filter. Returns trade details including price, amount, buyer/seller, and timestamp.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
tokenAddressstringNoFilter trades for a specific token
walletAddressstringNoFilter trades for a specific wallet
limitnumberNo20Number of trades (1–50)

Infrastructure Tools (3)

webhooks_manage

Manage webhook endpoints for real-time event notifications. Use list to see existing webhooks, create to set up new event subscriptions, delete to remove an endpoint.
ParameterTypeRequiredDefaultDescription
actionenumYesAction: list, create, delete
endpoint_idstringNoRequired for delete action
urlstringNoWebhook URL (required for create)
eventsarrayNoEvent types to subscribe (required for create)

blockchain_info

Get information about supported blockchains and available DEX protocols. Use when the agent needs to know what chains or DEXes are available.
ParameterTypeRequiredDefaultDescription
chainstringNoSpecific chain to query (omit for all chains)

transaction_send

Broadcast a signed transaction to the blockchain. HIGH RISK — this submits a real transaction that cannot be reversed. The transaction must already be signed by the user’s wallet.
ParameterTypeRequiredDefaultDescription
chainstringYesBlockchain identifier
signedTransactionstringYesSigned transaction data (base64 or hex)
Irreversible on-chain transaction. Ensure proper signing and review.

REST API Coverage

The 17 MCP tools aggregate multiple REST API endpoints into higher-level operations. Below is the mapping to the underlying REST API for reference.

Token API (27 endpoints)

ToolDescription
token_searchSearch tokens by name/symbol/address
token_getDetailed token information
token_get_metadataToken metadata (name, symbol, logo)
token_get_statsTrading statistics
token_get_priceCurrent price
token_get_pricesHistorical price data
token_get_candlesCandlestick chart data
token_get_holdersHolder count
token_get_top_holdersTop holders list
token_get_poolsLiquidity pools
token_get_securitySecurity/audit check
token_get_creationCreation details (deployer, tx, time)
token_get_mint_and_burnMint/burn history
token_listPaginated token list with filters
token_get_traders_tagTrader type distribution
token_get_liquidity_snapshotsHistorical liquidity
token_dev_get_tokensAll tokens by a developer

Wallet (5 tools)

ToolDescription
wallet_get_balanceToken balances
wallet_get_balance_updatesBalance change history
wallet_get_pnlProfit and loss metrics
wallet_calculate_pnlPnL for specific periods
wallet_get_statsTrading patterns and activity

Trade (3 tools)

ToolDescription
trade_getTrade records
trade_get_activitiesTrading activity stream
trade_get_top_tradersTop performers

DexPool (2 tools)

ToolDescription
dexpool_getPool information
dexpool_get_snapshotsHistorical pool state

Ranking (5 tools)

ToolDescription
ranking_get_hot_tokensTrending tokens
ranking_get_new_tokensNewly created tokens
ranking_get_stocksBonding curve tokens
ranking_get_final_stretchNear-graduation tokens
ranking_get_migratedRecently graduated tokens

Blockchain (2 tools)

ToolDescription
blockchain_listSupported blockchains
blockchain_get_latest_blockCurrent block info

DEX (5 tools)

ToolDescription
dex_listSupported DEXs
dex_get_quoteSwap quote
dex_get_routeOptimal route
dex_swapExecute swap
dex_createCreate unsigned swap tx

DeFi / Token Creation (3 tools)

ToolDescription
pumpfun_createCreate token on Pump.fun
moonshot_createCreate token on Moonshot
moonshot_submit_create_tokenSubmit Moonshot creation tx

Transaction (3 tools)

ToolDescription
transaction_sendSend signed transaction
transaction_get_gas_priceCurrent gas prices
transaction_estimate_gas_limitGas estimation

RedPacket (4 tools)

ToolDescription
redpacket_createCreate red packets
redpacket_claimClaim rewards
redpacket_getRed packet details
redpacket_get_claimsClaim records

KYT Compliance (7 tools)

ToolDescription
kyt_register_transferRegister tx for risk assessment
kyt_get_transfer_summaryTransaction risk summary
kyt_get_transfer_exposuresRisk entities in transaction
kyt_get_transfer_alertsRisk alerts
kyt_register_withdrawalRegister withdrawal for screening
kyt_register_addressRegister address for monitoring
kyt_get_address_riskAddress risk assessment

Webhook (6 tools)

ToolDescription
webhook_list_endpointsList endpoints
webhook_create_endpointCreate subscription
webhook_update_endpointModify config
webhook_delete_endpointRemove endpoint
webhook_get_secretGet signing secret
webhook_rotate_secretRegenerate secret

Connection Options

ModeEndpointDescription
Cloudhttps://mcp.chainstream.io/mcpZero setup, same 17 tools
npm stdionpx @chainstream-io/mcpLocal process for IDE integration
npm HTTPchainstream-mcp --transport httpTeam servers, cloud deployment