canton-mcp
v0.2.3Query Canton Network balances, rewards, transactions, prices, and identity from any AI agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
resolve_party Resolve a Canton party
Resolve a human-friendly query (ANS name, display name, or raw party ID) to a canonical Canton party. Returns the party ID, display name, org type (validator / app / sv / unknown), current CC balance, ANS names, and update count. If the query is ambiguous, returns a candidate list to choose from. Use this first whenever the user refers to a party by name.
| Parameter | Type | Description |
|---|---|---|
query * | string | ANS name (e.g. noves.unverified.cns), display name fragment (e.g. Cumberland), or raw party ID (name::hash). |
chain | string | Chain to query. Defaults to "canton" (currently the only supported chain). |
search_directory Search the Canton network directory
Browse or search the Canton network directory of known parties (validators, apps, super validators). Filter by orgType and/or a free-text query. Returns party ID, display name, org type, and current CC balance. Ask "who are the super validators?" → orgType: "sv".
| Parameter | Type | Description |
|---|---|---|
chain | string | Chain to query. Defaults to "canton" (currently the only supported chain). |
limit | integer | Max results to return (default 25, max 100). |
orgType | string | Filter by organization type. sv = super validator. |
query | string | Free-text search over names. |
get_balance Get a party's balance
Get a Canton party's CC balance (total, locked, unlocked) with USD values — current, or at any point in time via the optional date. "What was X's balance on January 1?" → date: "2026-01-01".
| Parameter | Type | Description |
|---|---|---|
party * | string | The party to query — accepts an ANS name (e.g. noves.unverified.cns), a display name (e.g. Cumberland), or a raw Canton party ID (name::hash). |
chain | string | Chain to query. Defaults to "canton" (currently the only supported chain). |
date | string | Point-in-time balance: ISO date (2026-01-01), ISO datetime, or unix timestamp. Omit for current. |
get_balance_history Get a party's balance history
Get a Canton party's daily CC balance series. Each row is the end-of-day (UTC) snapshot for that date. Defaults to the last 30 days when no range is given.
| Parameter | Type | Description |
|---|---|---|
party * | string | The party to query — accepts an ANS name (e.g. noves.unverified.cns), a display name (e.g. Cumberland), or a raw Canton party ID (name::hash). |
chain | string | Chain to query. Defaults to "canton" (currently the only supported chain). |
endDate | string | Range end (inclusive): ISO date, ISO datetime, or unix timestamp. |
startDate | string | Range start: ISO date, ISO datetime, or unix timestamp. |
get_rewards Get a party's rewards
Get a Canton party's mining/validator rewards. Three granularities: "summary" (default) — current earnings metrics (latest round, 1h avg, 24h avg, incl. post-traffic-cost CC/USD); "daily" — per-day totals over a date range (max 90 days per call); "transfers" — individual reward transfers. Optionally filter by rewardType.
| Parameter | Type | Description |
|---|---|---|
party * | string | The party to query — accepts an ANS name (e.g. noves.unverified.cns), a display name (e.g. Cumberland), or a raw Canton party ID (name::hash). |
chain | string | Chain to query. Defaults to "canton" (currently the only supported chain). |
endDate | string | Range end (inclusive): ISO date, ISO datetime, or unix timestamp. |
granularity | string | summary = current earnings metrics; daily = per-day totals; transfers = individual reward payouts. |
limit | integer | Max transfer rows when granularity is transfers (default 25, max 100). |
rewardType | string | Filter to one reward type (transfers granularity only). |
startDate | string | Range start: ISO date, ISO datetime, or unix timestamp. |
get_transactions Get a party's classified transactions
Get a Canton party's transaction history, classified into human-readable types (transfer, mergeSplit, validatorRewards, appRewards, svRewards, buyTraffic, issueCoupon, redeemCoupon, paySubscription, validatorLicenseActivityReport, …). Returns compact rows (id, time, type, roles, transfer summary) sorted newest-first. Use get_transaction for the full payload of one update. Set includeCount: true to also get the total update count for the window.
| Parameter | Type | Description |
|---|---|---|
party * | string | The party to query — accepts an ANS name (e.g. noves.unverified.cns), a display name (e.g. Cumberland), or a raw Canton party ID (name::hash). |
chain | string | Chain to query. Defaults to "canton" (currently the only supported chain). |
endDate | string | Range end (inclusive): ISO date, ISO datetime, or unix timestamp. |
includeCount | boolean | Also return the total number of updates in the window (one extra API call). |
limit | integer | Max rows (default 25, max 100). |
startDate | string | Range start: ISO date, ISO datetime, or unix timestamp. |
txType | string | Filter to one classification type (e.g. transfer, buyTraffic, validatorRewards). Filtered client-side over recent pages. |
get_transfer_stats Get a party's transfer statistics
Get aggregate CC transfer statistics for a Canton party: total/sent/received counts, volumes, and unique counterparty count — optionally over a date range.
| Parameter | Type | Description |
|---|---|---|
party * | string | The party to query — accepts an ANS name (e.g. noves.unverified.cns), a display name (e.g. Cumberland), or a raw Canton party ID (name::hash). |
chain | string | Chain to query. Defaults to "canton" (currently the only supported chain). |
endDate | string | Range end (inclusive): ISO date, ISO datetime, or unix timestamp. |
startDate | string | Range start: ISO date, ISO datetime, or unix timestamp. |
get_price Get the Canton Coin (CC) price
Get the Canton Coin (CC) USD price. No arguments → current spot price. timestamp → historical spot at that moment. startDate+endDate → OHLC series (interval: "hourly" or "daily", default daily). Good for "what's the CC price trend over the past month?".
| Parameter | Type | Description |
|---|---|---|
chain | string | Chain to query. Defaults to "canton" (currently the only supported chain). |
endDate | string | History range end. |
interval | string | OHLC bucket size for range queries. |
startDate | string | History range start (use with endDate). |
timestamp | string | Historical spot price at this moment: ISO date, ISO datetime, or unix timestamp. |
get_transaction Get one transaction in full detail
Get the full classified detail of a single Canton update (transaction) by its update ID, including the complete payload: classification, all parties and roles, transfers, values, and raw transaction data. Use after get_transactions when you need everything about one update.
| Parameter | Type | Description |
|---|---|---|
updateId * | string | The update ID (from get_transactions rows). |
chain | string | Chain to query. Defaults to "canton" (currently the only supported chain). |