canton-mcp
An MCP server that enables AI agents to query the Canton Network for balances, rewards, classified transactions, CC prices, and directory information using natural language.
README
<p align="center"> <a href="https://noves.fi"> <picture> <source media="(prefers-color-scheme: dark)" srcset="assets/noves-logo-white.svg"> <img src="assets/noves-logo-primary.svg" alt="Noves" width="260"> </picture> </a> </p>
<h1 align="center">canton-mcp</h1>
<p align="center"><strong>Ask your AI about the Canton Network.</strong></p>
<p align="center"> <a href="https://www.npmjs.com/package/@noves/canton-mcp"><img src="https://img.shields.io/npm/v/%40noves%2Fcanton-mcp?label=npm&color=cb3837" alt="npm version"></a> <a href="https://github.com/Noves-Inc/canton-mcp/actions/workflows/ci.yml"><img src="https://github.com/Noves-Inc/canton-mcp/actions/workflows/ci.yml/badge.svg" alt="CI"></a> <a href="https://registry.modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP_Registry-listed-6e56cf" alt="MCP Registry"></a> <a href="LICENSE"><img src="https://img.shields.io/npm/l/%40noves%2Fcanton-mcp?color=blue" alt="MIT license"></a> </p>
An MCP server for the Noves Canton API — balances, rewards, classified transactions, CC prices, identity, and the network directory, queryable from Claude Code, Claude Desktop, Cursor, or any MCP-capable agent.
You: How has the CC price moved over the last 7 days? Chart it.
AI: → get_price(startDate, endDate, interval: "daily")
CC closed at $0.1462 today, up 4.2% on the week (low $0.1402, high $0.1521).
[renders an interactive price chart]
Quick start
Get your free API key at https://app.noves.fi/register/free.
Claude Desktop — one click
Download canton-mcp.mcpb from the
latest release,
double-click it (or drag into Claude Desktop), and paste your API key in the
settings form that appears. The key is stored in your OS keychain. Done.
Claude Code
npx -y @noves/canton-mcp init # one-time: prompts for your key, validates it, saves it
claude mcp add canton -- npx -y @noves/canton-mcp
Or in one line, passing the key explicitly:
claude mcp add canton --env NOVES_API_KEY=<your-key> -- npx -y @noves/canton-mcp
Cursor / other MCP clients
After npx -y @noves/canton-mcp init, no env var is needed:
{
"mcpServers": {
"canton": {
"command": "npx",
"args": ["-y", "@noves/canton-mcp"]
}
}
}
(Or skip init and add "env": { "NOVES_API_KEY": "<your-key>" }.)
Key resolution order: NOVES_API_KEY env var → --api-key flag →
~/.config/canton-mcp/config.json. The key is sent only to
api.canton.noves.fi and never logged.
Tools
Every tool that takes a party accepts an ANS name, a display name, or a
raw party ID (name::hash) — resolution is automatic, and ambiguous names
return a candidate list to choose from.
Examples:
- "Who are the super validators on Canton?" →
search_directory(orgType: "sv") - "What's Noves' current CC balance?" →
get_balance(party: "noves.unverified.cns") - "Chart Noves' balance over the last 30 days." →
get_balance_history(party, startDate, endDate) - "Show recent traffic purchases for this validator." →
get_transactions(party, txType: "buyTraffic")
| Tool | What it answers |
|---|---|
resolve_party |
"Who is this party?" — canonical party ID, org type, balance, ANS names |
search_directory |
"Who are the super validators?" — browse/filter the network directory |
get_balance |
"What's this party's balance?" — current or at any point in time (date) |
get_balance_history |
"Chart its balance over last month" — daily end-of-day snapshots |
get_rewards |
"What did it earn?" — summary metrics, per-day totals, or individual payouts |
get_transactions |
"Show its recent traffic purchases" — classified history (transfer, buyTraffic, …) |
get_transfer_stats |
"How active is it?" — counts, volumes, unique counterparties |
get_price |
"CC price trend this month?" — spot, historical spot, hourly/daily OHLC |
get_transaction |
Full classified payload of one update by ID |
See examples/PROMPTS.md for questions to try.
Notes & limits
- Read-only. The server only reads data; it can't change anything on the network or in your account.
- Date inputs accept ISO dates (
2026-06-01), ISO datetimes, or unix timestamps. - Daily rewards are fetched in ≤30-day windows upstream; the server merges up to 90 days per call.
- List outputs are capped (default 25 rows) with
hasMorehints to keep agent context lean. get_transactionsreturns 25 rows by default and acceptslimitup to 100; useincludeCountfor the total count in a date window, andget_transactionfor one full update.- Chains/txTypes (1h), directory & identity lookups (5m), and spot price (60s) are cached in-process, keeping typical agent sessions comfortably inside the free tier.
License
MIT © Noves Inc.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。