Skip to main content
The ChainStream MCP Server exposes the full data catalog and DeFi primitives as Model Context Protocol tools. This page is the authoritative reference — for how to register the server with Claude, Cursor or other clients see MCP Server Setup.

Endpoint

  • URL: https://mcp.chainstream.io/mcp
  • Transport: Streamable HTTP (horizontal scaling + progress reporting)
  • Auth: Bearer token (X-API-KEY) or x402 micropayment (USDC on Base / Solana)

Two tool surfaces

ChainStream ships the MCP server in two flavours. Pick the one that matches your agent’s workflow.
SurfaceNamingWhen to use
Outcome-oriented toolstokens_search, dex_swap (underscore)Agents doing user-facing tasks — each tool orchestrates several REST calls and returns a curated result. This is what the Agent Skills reference.
Playground toolsgetToken, createEndpoint (camelCase)1:1 coverage of the REST API for programmatic use — same inputs/outputs as REST, ideal for testing and low-level automation
The 17 outcome-oriented tools below are what you see in the production MCP catalog. Playground tools are the full REST surface re-exposed as MCP tools — listed at the bottom.

Resources

URIContent
chainstream://chainsSupported chains and status
chainstream://chains/{chain}/dexesDEX protocols for a chain
chainstream://docs/api_referenceFull REST API reference (all /v2/* endpoints)
chainstream://docs/query_examplesCommon query patterns for agents

Risk model

Each tool is tagged with a risk level. Clients should surface tools with level ≥ L2 behind explicit confirmation UI.
LevelMeaning
L0Read-only, stateless — safe to call automatically
L1Read-only, user-scoped (wallet profile, webhook list) — safe but personal
L2Read-only but computationally expensive (backtest) — may incur cost
L3Writes / signs / broadcasts — always requires explicit user confirmation

Outcome-oriented tools (17)

Token intelligence

ToolDescriptionKey paramsRisk
tokens_searchSearch tokens by name, symbol or address across every supported chainquery, chain?L0
tokens_analyzeComprehensive token analysis: price, volume, holders, security, liquiditychain, addressL0
tokens_price_historyOHLCV candlestick data for charting and technical analysischain, address, resolution, from?, to?L0
tokens_discoverFind tokens by on-chain metrics (volume, price change, trade count)chain, filtersL0
tokens_compareSide-by-side comparison of up to 5 tokenschain, addresses[]L0

Wallet intelligence

ToolDescriptionKey paramsRisk
wallets_profileComplete wallet profile — holdings, PnL and net worth in one callchain, addressL1
wallets_activityRecent wallet transfers and balance changeschain, address, limit?L1

Market discovery

ToolDescriptionKey paramsRisk
market_trendingTrending tokens by category (hot, new, migrated, graduating, stocks)chain, category, durationL0
trades_recentRecent on-chain trades for a token or walletchain, token?, wallet?, limit?L0

DEX and trading

ToolDescriptionKey paramsRisk
dex_quoteSwap quote with expected output, price impact and fees (read-only)chain, from, to, amountL0
dex_swapExecute a token swap on a DEXchain, from, to, amount, slippageL3
dex_create_tokenCreate a token on a launchpadchain, name, symbol, dex, uriL3
trading_backtestBacktest a strategy against historical datastrategy specL2
trading_executeExecute a strategy tradechain, strategy, paramsL3
transaction_sendBroadcast a signed transactionchain, signed_txL3

Ops

ToolDescriptionKey paramsRisk
webhooks_manageManage webhook endpoints (list, create, delete)action, endpoint specL1
blockchain_infoSupported chains and DEX protocolsL0
KYT / compliance is not wrapped as an outcome tool — call the REST API directly under /v1/kyt/*. See KYT concepts.

Playground tools (REST-parity)

The Playground surface mirrors the REST API 1:1 as MCP tools. Every tool accepts the same JSON parameters as the corresponding REST endpoint and returns a content[0].text JSON string with the raw response. Use these when you want programmatic parity with REST but routed through MCP.
getBlockchainList, getBlockchainLatestBlock
getToken, getTokens, searchTokens, getTokenMetadata, getTokensMetadata, getTokenLiquidityPools, getTokenStats, getTokensStats, getTokenHolders, getTokenHoldersMulti, getTokenCandles, getTokenTopHolders, getTokenMarketData, getTokensMarketData, getTokenPrices, getTokenPriceByTime, getTokenCreation, getTokenMintBurn, getTokenSecurity, getTokenListFiltered, getDevTokens, getTokenTraders, getTokenLiquiditySnapshots, getTokenTransfers, getTokenTransferTotal, getPairCandles, getPoolCandles
getTokensBalance, getPnl, getPnlDetails, getPnlByToken, getPnlByWallet, calculatePnl, getNetWorth, getNetWorthDetails, getNetWorthChart, getNetWorthByTokens, getNetWorthSummary, getBalanceUpdates, getWalletTransfers, getWalletTransferTotal, getWalletFirstTx
getTradeList, getTradeTopTraders, getTradeGainersLosers, getTradeActivityList
getHotTokens, getRankingNewTokens, getRankingStocksTokens, getRankingFinalStretchTokens, getRankingMigratedTokens
getDexpoolDetail, getDexpoolSnapshots
getDexList, getQuote, getRoute, swap, createToken
pumpfunCreateToken, moonshotCreateToken
sendTransaction, getGasPrice, estimateGasLimit
registerTransfer, getTransferSummary, getTransferAlerts, getTransferDirectExposure, getTransferNetworkIdentifications, registerWithdrawal, getWithdrawalSummary, getWithdrawalAlerts, getWithdrawalDirectExposure, getWithdrawalFraudAssessment, getWithdrawalAddressIdentifications, getWithdrawalNetworkIdentifications, registerAddress, getAddressRisk
listEndpoints, createEndpoint, getEndpoint, updateEndpoint, deleteEndpoint, getEndpointSecret, rotateEndpointSecret
getRedpacketCreate, getRedpacketClaim, getRedpacketGet, getRedpacketGetClaims, getRedpacketGetList, getRedpacketGetClaimsByAddress, getRedpacketGetByAddress, getRedpacketSend
watchlistAdd
presign
For the canonical input/output schema of each Playground tool, see the matching REST endpoint in the API Reference — the JSON shapes are identical.

Example client config

{
  "mcpServers": {
    "chainstream": {
      "url": "https://mcp.chainstream.io/mcp",
      "headers": { "X-API-KEY": "<your-api-key>" }
    }
  }
}

Next

MCP Server introduction

What MCP is and how ChainStream exposes it.

MCP Server setup

Wiring the server into Cursor, Claude Desktop and others.

x402 Payments

Pay-per-call authentication for autonomous agents.

Agent Skills

Higher-level SKILL.md packages layered on top of MCP and the CLI.