Skip to content
Canton Venues logo
MCP server
RegistryRemote

Canton Venues MCP Server

Live Canton Network DEX data: prices, best execution across venues, exit cost, premiums. No key.

Canton Venues scores 66 (Good), licensed Apache-2.0 and written in Python. It can be reached as a remote MCP endpoint. It declares 4 tools. Filed under Finance. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by olevasylievApache-2.0Python0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: No sign-in detected. Our check reached the endpoint without being asked for credentials. Some servers only check keys after connecting, so follow the provider's setup notes. Security tips

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "olevasyliev-canton-venues-sdk": {      "url": "https://cantonvenues.com/mcp"    }  }}

Environment variables

This server does not declare environment variables.

Tools4Tool docs quality grade D

All capabilities

About

Canton Venues SDK

The Canton Algorithmic Trading Toolkit: an open-source Python SDK for trading and reading every venue on the Canton Network. It powers cantonvenues.com. Install and import it as cantonvenues.

The core (cantonvenues.core) is venue-agnostic: a small typed domain model and four adapter interfaces, all with a shared VenueError hierarchy.

  • PoolDataAdapter — read and price an AMM: Instrument, Pool, Quote.
  • VenueAdapter — a PoolDataAdapter you can also trade: Balance, SwapResult.
  • MarketDataAdapter — read-only market state for venues shaped as a symbol and a book rather than a pool and a swap: Market, OrderBook, Trade, Ticker, FundingRate.
  • OrderTradingAdapter — a MarketDataAdapter you can also trade: limit orders (post-only, with expiry), cancels, open orders, balances. Trading is off unless the adapter is built with trading=True, so a market-data reader holding the same key can never place an order.

Eight venues, four market structures, one client:

AdapterVenueShapeSurface
TempleAdapterTemplespot order booksettled volume without a key; ticker, book and trades with an account key; limit orders and cancels, opt-in (order path awaiting its first live run)
CantexAdapterCantexspot AMMread + swap, mainnet
CantexPublicDataCantexspot AMMkeyless reserves, volume, candles and tickers, mainnet
RockyAdapterRockyspot and perp order booksmarket data, mainnet, no key
TradecraftAdapterTradecraftspot AMMread + pricing, mainnet
OneSwapPublicDataOneSwapspot AMMkeyless reserves, mainnet
PoolPartyPublicDataPool Partyspot AMMkeyless reserves and volume, mainnet
EkidenAdapterEkidenperpetual futuresmarket data, mainnet (testnet available)
CanborsaPublicDataCanborsaperpetual futureskeyless markets, funding, prices and execution depth, mainnet (web app routes, undocumented)
DexRefAdapterCanton DEX reference implementationspot order book + RFQread + swap, its hosted testnet

CantexAdapter wraps the official cantex_sdk async client, so auth, signing and transport live in the SDK and the adapter only translates its models and exceptions. The other venues ship no Python SDK (or, like Temple, only a JavaScript one) and are called directly over HTTP. Every integration point is mapped to the source or the live response it came from in SOURCES.md.

Install

cantex_sdk is not published on PyPI, so it is declared as a git dependency and pulled directly from GitHub:

pip install "cantonvenues @ git+https://github.com/olevasyliev/canton-venues-sdk"
# or, from a checkout:
pip install -e ".[dev]"

Environment variables

Credentials are read only from the environment (never hard-coded). The names are the SDK's own:

VariableRequiredDescription
CANTEX_OPERATOR_KEYyesOperator Ed25519 private key (hex). Used for challenge-response auth and ledger signing.
CANTEX_TRADING_KEYfor swapsIntent-trading secp256k1 private key (hex). Required for swap().
CANTEX_BASE_URLnoAPI base URL. Defaults to https://api.testnet.cantex.io.
TRADECRAFT_BASE_URLnoTradecraft API base. Defaults to mainnet, https://api.tradecraft.fi/v1. Reading it needs no credentials.
TEMPLE_API_KEYfor Temple booksAccount key from the Temple app (Settings > API Keys). Settled volume needs none.
EKIDEN_BASE_URLnoEkiden gateway. Defaults to mainnet, https://api.ekiden.fi.

Usage

import asyncio
from decimal import Decimal
from cantonvenues import CantexAdapter, Instrument

async def main():
    async with CantexAdapter() as venue:  # reads keys from the environment
        pools = await venue.pools()
        quote = await venue.quote(
            Decimal("1"),
            pools[0].token_a,
            pools[0].token_b,
        )
        print(quote.returned_amount, quote.trade_price)

asyncio.run(main())

Market data from an order-book venue, no key needed:

from cantonvenues import RockyAdapter

async def top_of_book():
    async with RockyAdapter() as rocky:          # RockyAdapter("perp") for perpetuals
        book = await rocky.order_book("CBTC-USDCX", 20)
        print(book.best_bid, book.best_ask, book.mid_price)

Live showcase

Canton Venues runs on this toolkit (examples/canton_venues): prices for every token across the venues above, Canton's premium to outside markets, best execution by trade size across pools and order books, a cross-venue spread scanner, a daily study of how fast spreads close, an open JSON API and an MCP server for AI agents.

Run tests

pip install -e ".[dev]"
pytest        # fully offline; the SDK client is mocked at its method boundary
ruff check .

Live smoke

scripts/live_smoke.py is a read-only check against the real Cantex API: it authenticates (connect()), lists pools, and prices one small quote. It never calls swap() or transfer().

Create (or fill) a .env at the toolkit root with the real keys (same names as the Environment variables table above):

CANTEX_OPERATOR_KEY=...
CANTEX_TRADING_KEY=...
CANTEX_BASE_URL=...

Then run:

python scripts/live_smoke.py

The script never prints credential values, only step results and, on failure, whether it was an auth error or a request error (exit code 1 either way).

Status

Live-validated on every venue. Tests are fully offline and run against the real response shapes captured from each venue.

  • Temple (mainnet, 2026-10-04) — settled volume per market without a key; ticker, order book (up to 200 levels) and trades with an account key. The live payloads differ from the types in Temple's own JavaScript SDK, and the adapter follows the live ones; see SOURCES.md. Trading: balances, open orders and trading_status (linked wallet, delegation, fee balance) are verified live; placing and cancelling are implemented from the SDK and scripts/temple_order_smoke.py (dry run unless --execute; a post-only order priced never to fill, cancelled at once) is the check that will close them, on Temple's testnet first.

  • Rocky (mainnet, 2026-10-03) — spot and perp markets, 24h tickers, depth and trades over its public Binance-style API. The ticker reports bid and ask as 0, so top of book comes from depth.

  • OneSwap and Pool Party (mainnet, 2026-10-03) — pool reserves (and, for Pool Party, per-pool volume) without a key, priced locally as constant product.

  • Ekiden moved to mainnet as the default on 2026-10-03 (live since 2026-09-08); the same routes answer there as on testnet.

  • Canborsa (mainnet, 2026-10-28) — perp markets, funding, 30-day volume, and prices and execution depth from the socket its web app reads; no documented API yet.

  • Cantex (mainnet, 2026-07-17) — challenge-response auth, pools, quoting, and an executed swap with real funds: 10 CC sold for 1.2981357151 USDCx on the CC-USDC market.

  • Reference DEX (hosted testnet, 2026-07-29) — swaps in both directions through the adapter, with balance deltas and pool reserves reconciling exactly. Two swap routes are supported: the documented wallet-authored allocation path, and deployments that host the trader's party themselves. scripts/dexref_testnet_report.py additionally exercises the venue's own hosted routes end to end: multi-level two-sided quoting from one party, the RFQ lifecycle with its best-execution receipt, and liquidity provision with the LP token.

  • Ekiden (Canton testnet gateway, 2026-07-27) — markets, tickers, order book, recent trades and funding history across all three of its perpetual markets. Trading needs an Ed25519-signed session and is not implemented.

  • Tradecraft (mainnet, 2026-08-11) — 23 pools across 13 tokens, read and priced end to end. scripts/tradecraft_market_smoke.py prices 45 of 45 directions and reproduces the venue's own quote to ~1e-16 relative from pool state alone, which is how the fee model in SOURCES.md was established rather than assumed: the engine charges half the pool's total fee on each leg, so the realized fee is 0.299775% where 0.3% is published. Orders settle through Daml choices on the venue's package and need a validator node, so the adapter reads and prices but cannot trade.

Run the live checks with scripts/live_swap_smoke.py (Cantex, dry-run by default), scripts/dexref_testnet_smoke.py and scripts/dexref_testnet_report.py (reference DEX, read-only unless given --execute), scripts/ekiden_market_smoke.py (Ekiden) and scripts/tradecraft_market_smoke.py (Tradecraft) — the last two are read-only by construction.

Frequently asked questions

What is Canton Venues MCP Server?

Live Canton Network DEX data: prices, best execution across venues, exit cost, premiums. No key.

How do I install Canton Venues MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Canton Venues MCP Server connects to the remote endpoint https://cantonvenues.com/mcp, so there is nothing to install locally.

Is Canton Venues MCP Server free and open source?

Yes. Canton Venues MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Canton Venues MCP Server support remote (HTTP) connections?

Yes. Canton Venues MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

What tools does Canton Venues MCP Server provide?

Canton Venues MCP Server provides 4 tools: MarketDataAdapter, OrderTradingAdapter, PoolDataAdapter, and VenueAdapter. See the full tool list for descriptions and parameters.

How is Canton Venues MCP Server's trust score calculated?

Canton Venues MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server