Chord

io.github.getchordlabs由 GitHub 账号 getchordlabs 发布v1.2.0更新于 Oct 24, 2026

Swap quotes + unsigned txs on 8 EVM chains, plus Solana data: boards, candles, wallet PnL. No key.

已验证Streamable HTTP可网页运行金融数据与分析

概览

AI 生成的概览

Chord 让助手在八条 EVM 链和 Solana 上获取 DEX 兑换报价、未签名兑换交易以及链上交易数据。

可以做什么
  • 查询支持的链、各链能力与索引健康状态
  • 搜索代币,查看代币榜单、单币详情、成交记录与 K 线
  • 查看钱包:已实现与未实现盈亏、近期兑换,以及按利润排名的聪明钱钱包
  • 查看持有者与流动性:持有者账本、LP 池排名和钱包的 LP 仓位
  • 获取最优路由兑换报价,以及未签名兑换交易、所需授权和以交易者身份运行的模拟
  • 用自然语言向分析师提问市场、代币、钱包、永续合约或宏观问题
适用场景
适合助手需要研究支持链上的代币、钱包或流动性,或为用户自己的钱包准备待签名兑换交易时使用。它更像只读与报价层,而不是交易机器人,因为不会签名或广播任何交易。
运行要求
远程 Streamable HTTP 端点,无需安装;数据与兑换工具无需 API 密钥。自然语言分析师工具需要 API 密钥。每次调用需传入链参数,也可在端点地址中固定默认链。
安装前请注意
兑换交易工具返回未签名交易、授权和模拟结果,需由用户钱包签名并广播,签名前应仔细核对。分析师工具需要 API 密钥,耗时 10 至 60 秒。报价两分钟后失效。代币搜索可能返回相似代码,应比对合约地址。数据仅覆盖 Chord 索引的链和交易场所。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Chord,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.getchordlabs%2Fchord/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "chord": {
      "type": "http",
      "url": "https://api.getchord.xyz/v1/mcp"
    }
  }
}

README

Chord

Non-custodial trading API and AI agent. One quote call finds the best route across the DEXs of eight EVM chains (Ethereum, Monad, Robinhood Chain, Arc, Avalanche, Base, BNB Chain and Arbitrum One), and one router contract executes it in a single transaction. On Solana, Chord quotes swaps through its own Solana router and Jupiter and returns an unsigned transaction for the user's wallet. Next to trading, Chord keeps a live index of swaps, holders, LP positions and wallet PnL on all nine chains, which apps and AI agents can query.

Chord started as NullTerminal, a DEX aggregator on Monad. Contract and package names that start with Null come from that period; the Chord* contracts in contracts/src/chord/ are the current builds of the same code.

The app

Chord is also a trading app, live on iOS (TestFlight) and the web at https://getchord.xyz. The app's code is closed; it trades through the same API and contracts as everything in this repository.

  • Cash: one dollar balance, held as USDG on Robinhood Chain. USDC or USDG can be added from other networks; from Arbitrum it takes one signature.
  • Stocks: 192 of the 195 tokenized stocks on Robinhood Chain, bought and sold from Cash with no gas and no wallet pop-up.
  • Cross-chain trading: the same Cash buys tokens on Arbitrum. The app moves the money; the user never bridges.
  • Perps: long or short from Cash on Lighter's Robinhood Chain exchange, up to 10x, where Lighter offers perps.
  • Earn: Cash into the Morpho USDG vault on Robinhood Chain. Chord takes no fee on it.
  • AI Copilot: a chat pinned to the token on the trading screen. It reads the news, X and on-chain trades, and answers with dated sources (copilot on POST /v1/ask).

Use it from an AI agent

The hosted MCP server needs no key and no install (Streamable HTTP). ?chain=<key> pins a default chain.

bash
claude mcp add --transport http chord https://api.getchord.xyz/v1/mcpgemini extensions install https://github.com/getchordlabs/chord   # Gemini CLI, reads gemini-extension.json

17 tools, each taking a chain: chord_chains, chord_status, chord_overview, chord_tokens, chord_search, chord_token, chord_trades, chord_candles, chord_wallet, chord_wallet_trades, chord_smart_money, chord_holders, chord_lp_pools, chord_lp_positions, chord_quote, chord_swap_tx and chord_ask. Nothing signs or sends: chord_swap_tx returns an unsigned transaction, the approval it needs and a simulation run as the taker.

Listed in the official MCP Registry as io.github.getchordlabs/chord (server.json in this repository) and on Smithery as tuantqse90/chord. Other ways in: the REST API with its OpenAPI spec (openapi/), the Agent Skill (skills/chord/), the Docs MCP at https://getchord.xyz/docs/mcp and the function-calling manifest at https://api.getchord.xyz/v1/mcp/tools.json.

Chains

ChainChain idSwaps (quote + unsigned transaction)Data
Ethereum1yestokens, trades, candles, wallet PnL
Monad143yestokens, trades, candles, wallet PnL, smart money, LP
Robinhood Chain4663yestokens, trades, candles, wallet PnL, smart money, holders, LP
Arc5042yestokens, trades, candles, wallet PnL, smart money, holders, LP
Avalanche C-Chain43114yestokens, trades, candles, wallet PnL
Base8453yestokens, trades, candles, wallet PnL
BNB Chain56yestokens, trades, candles, wallet PnL
Arbitrum One42161yestokens, trades, candles, wallet PnL
Solananoneyes, through /v1/sol/trade/* (not in the MCP tools yet)tokens, trades, candles, wallet PnL, smart traders, LP

GET /v1/chains answers the same table with the route behind each capability (Solana swaps live under /v1/sol/trade/*, outside that table).

What is in this repository

FolderContents
contracts/Foundry project: ChordRouter (UUPS), AdapterRegistry, FeeCollector, one adapter per venue family (Uniswap V2/V3/V4, Algebra and Algebra Integral, Solidly, Liquidity Book, PancakeSwap Infinity, Metric, WOOFi, DODO V2, ERC-4626 deposit, Curve, Balancer and more), RhStockZap / RhTokenZap for cross-chain buys on Robinhood Chain, SwapAndBridgeCCTP, deploy scripts and fork tests per chain
agent/chord-agent: a stdio bridge to the hosted MCP server for clients that only speak stdio, and the function-calling manifest (tools.json)
skills/chord/Agent Skill for Claude Code, Codex and other agents: SKILL.md, references with live API output, chord.py client
docs-mcp/Docs MCP server (stdio, and hosted at https://getchord.xyz/docs/mcp)
openapi/OpenAPI spec of the public API (openapi.json) and the script that builds it
sdk/The original TypeScript SDK from the Monad period

The iOS app, the web app, the API server (TypeScript) and the routing engine (Rust) are not in this repository. They run behind getchord.xyz and api.getchord.xyz.

Contracts

The three proxies sit at the same addresses on all eight EVM chains (aligned deployer nonces):

ContractAddress
ChordRouter (UUPS proxy)0x1b1fee89a381e595fe6536b99ba91f3e16e9601a
AdapterRegistry (UUPS proxy)0x6cf25d2af1a58d7094b0ac253ae616a8e1f2ea3f
FeeCollector (UUPS proxy)0x6c66229675fd9ceda9a9b2ea2bd983b3d8255834

Every adapter pins the router as an immutable and reverts NotRouter for any other caller. The router only calls adapters the registry approves. Fees are set on-chain by FeeCollector.feeBpsFor(outputToken): 5 bps by default on every chain, 0 bps for stablecoins, majors and the listed tokenized stocks on Robinhood Chain.

Robinhood Chain (chain id 4663)

ContractAddress
ChordRouter implementation (upgraded 2026-10-02)0x209e38890533469337488588cB9e4A44943EE8FE
Uniswap V4 adapter0x3622116c527896Ab9C1510A45f3344AaBD03973a
V3 any-fork adapter (Uniswap V3, Ramses and other V3 forks)0x3A7D13a420c8FBC29Bf4A1feDB22A5Dae3A8913E
V2 adapter0xC4b930D9E5d20cc8b4C67f2118FE0cD8E6e36b72
Algebra adapter0x63bd5402aCC3129c9b38c7d52f327b82f24B497D
RhStockZap0x66627Ce32af8801525930B7C2a1Db4905193bb51

Router upgrade on Robinhood Chain: tx 0x9111f311319d778d2b53cce16fe7d471a15e61b8e00bdd08de074a5bcc571aa3.

Arbitrum One (chain id 42161, deployed 2026-10-14)

ContractAddress
ChordRouter implementation0x1cd8CeED960dE0c9787295c8F1BF278D4A36698c
ChordV3Adapter (Uniswap V3, PancakeSwap V3, SushiSwap V3)0xd55fe37e30435cF15fe2C7fcAAF1aBf19d13b195
ChordV2Adapter (Uniswap V2, SushiSwap V2)0xa61C202C4c989a1724E1B432C96A9f064856574d
ChordV4Adapter0xFE82b7714c36083AB518067f03680C59ac57840a
ChordMetricV1Adapter0x4e48D8bEDB4A781493e6193776FDa37e57Ce07b1
ChordAlgebraIntegralAdapter (Camelot V3)0x3D26860E5d5ddE28FDcd11e14573CE7b103fA081
ChordWooFiAdapter0xfdC2e11793197B9D16Ae1eDBa8049dcc9Fc15748
ChordDodoV2Adapter0x3E46e23C171aAC3124D85BbCa33A2C0422342fA4

All verified on Sourcify. Each venue was swapped both ways on mainnet through the router before the engine routed it.

Ethereum (chain id 1, deployed 2026-10-15)

Same addresses as on Arbitrum One for the router implementation and the three core adapters:

ContractAddress
ChordRouter implementation0x1cd8CeED960dE0c9787295c8F1BF278D4A36698c
ChordV3Adapter (Uniswap V3, PancakeSwap V3, SushiSwap V3)0xd55fe37e30435cF15fe2C7fcAAF1aBf19d13b195
ChordV2Adapter (Uniswap V2, SushiSwap V2)0xa61C202C4c989a1724E1B432C96A9f064856574d
ChordV4Adapter0xFE82b7714c36083AB518067f03680C59ac57840a

All 9 contracts of the stack match on Sourcify; every venue was swapped both ways on mainnet before going public.

Build and test

bash
git submodule update --init --recursivecd contractsforge buildforge test --no-match-contract 'ForkTest$'

Since Oct 16, 2026

  • Ask Portfolio: one wallet page over the eight EVM chains and Solana, with 24h / 7d / 30d PnL on one rule and the wallet's activity: GET /v1/portfolio/{wallet} and /activity (a50ab85); the average buy and past exits of every token held, over all indexed history: /positions (38c7020, 4d0d6de).
  • Safety: GET /v1/security/token/{chain}/{address} answers whether a token is safe, and Ask research cites numbered sources (88775a8).
  • AI Copilot: POST /v1/ask takes copilot {chain, token}, a turn about the token on the trading screen (e5a52cb); Robinhood's own stock facts on GET /v1/rh/token/{address} (multiplier, halts, market hours, reference bid and ask, fee) (002c6e5) and the next earnings date (f639c56).
  • Data: one top-traders PnL rule on every chain and a token's LP adds and removes (59f0c87), Markets search over every token traded in 24 h (2911041), hourly candles of a pool's own swaps on every LP chain (5f8e575), open LP positions valued from the chain (584a063), market caps (baad4a3), one wallet's swaps through the router (a4b8811).
  • Docs MCP: words like "to" and "over" no longer decide a search (c8cffad).

Since the buildathon (Oct 5 to Oct 15, 2026)

  • Arbitrum One: aligned Chord stack, deploy script and fork test (edd957a), swaps and the Ask side (c28203c), public on Oct 15 (ca79736).
  • Ethereum: aligned Chord stack, deploy script and fork test (79233bc), swaps and the Ask side (8a46f39), tokens that need approve(0) first such as USDT (69a06af), public on Oct 15 (38b466e).
  • New venues: Metric v1 on Monad and Avalanche (80daf2c, 23bfe8c), ERC-4626 deposit on Monad, which mints aprMON, shMON and gMON at the vault's rate when pools price below it (a41a703), WOOFi (83283af), Camelot V3 through the Algebra Integral adapter (454091c), DODO V2 on Avalanche and Arbitrum (1975d08), LFJ Liquidity Book v2.1 (147f862), and two concentrated-liquidity factories on Arc through ChordV3Adapter r3 (95e65be).
  • Agents: the stdio agent became a bridge to the hosted MCP server (02f7201), wallet trades on every chain (5256c20), Solana data, smart traders and LP routes in the OpenAPI spec and the skill (710b14d, 74957c2, d13d3ef), a docs page per network (0306a08).
  • Solana swaps: Chord's own Solana router and Jupiter in the public docs and the skill (ee2d912), open to everyone on Oct 15 (41b3fdc).

Work done during the Arbitrum Open House Singapore Buildathon (Sep 13 to Oct 4, 2026)

Chord existed before the buildathon. This repository was extracted from our monorepo with its real commit history for these folders, so every commit dated 2026-09-13 or later was made during or after the buildathon (git log --since=2026-09-13). Highlights:

  • ChordRouter: Chord-named implementations of router, registry and fee collector (08dcb96), and a script that upgrades only the router proxy, used on Robinhood Chain, Monad and Arc on Oct 2 (dfb5386).
  • Robinhood Chain cross-chain buys: RhTokenZap, a generic destination zap through the router, and SwapAndBridgeCCTP, swap plus Circle CCTP burn in one call (9814cba).
  • New adapters: UniV2TaxSafeAdapter, priced from what the pair actually received (0dc387b); Uniswap V4 with native USDC on Arc (0cc5ff3); ChordSolidlyAdapter (3775c10, f9a6fae); ChordLBPairAdapter (b3136f1); ChordAlgebraIntegralAdapter (b20d1de); ChordInfinityCLAdapter (95db92d).
  • Agent surfaces: Agent Skill (014875e), Docs MCP (54ffb71), agent tools for Arc, LP and the meta-aggregator (98cd499, d751aeb, ad9f222), OpenAPI spec kept in line with the API (3c4ea54, 5130d2a).
  • Ask wallet on Robinhood Chain (mostly in the closed API and web app, partly here): USDC on Arbitrum converts to USDG on Robinhood Chain with one signature (609f37a), explicit Convert and multi-chain wallet (f2b4244).

License

MIT, see LICENSE. It covers everything in this repository: contracts, agent, skill, Docs MCP, OpenAPI spec and SDK. The submodules in contracts/lib/ keep their own licenses (OpenZeppelin MIT, forge-std MIT or Apache-2.0). Sources verified on-chain before 2026-10-15 still read SPDX-License-Identifier: UNLICENSED; the code is the same and is MIT from that date.

来源:README.md,提交 00c4106

工具

17

chord_chains

Chains and capabilities

The chains Chord serves, with their native asset, anchors and which capabilities each one has (overview, tokens, trades, candles, wallet PnL, smart money, holders, LP, quote, swap). Call this first when unsure what a chain supports.

无需输入参数。

chord_status

Chain status

Live health of every chain: routing engine state, how old the newest indexed trade is, and the public status page link.

无需输入参数。

chord_overview

Chain overview (24h)

A chain's last 24 hours on the venues Chord indexes: volume, swaps, venue share, hourly buckets.

输入参数chain必填

chord_tokens

Token board

The chain's 24h token board: price, volume, trades, change. Sort names differ by chain; a wrong one is answered with the allowed list.

输入参数sortchain必填limit

chord_token

Token details

One token on one chain: price, 24h volume and trades, pools or venues, and what the index knows about it.

输入参数chain必填address必填

chord_trades

Token trades

The newest swaps of a token, with side, size in USD, price, venue and the wallet where it is known.

输入参数chain必填limitaddress必填

chord_candles

Token candles

OHLCV candles of a token from Chord's own index.

输入参数tfchain必填limitaddress必填

chord_wallet

Wallet PnL

A wallet's trading result on one chain: realised and open PnL per token. Windows differ by chain and are stated in the answer.

输入参数chain必填wallet必填

chord_wallet_trades

Wallet trades

A wallet's recent swaps on one chain. Not every chain has this; chord_chains says which.

输入参数chain必填wallet必填

chord_smart_money

Smart money board

Wallets ranked by profit on one chain, bots removed. Not every chain has this board.

输入参数dayschain必填limit

chord_holders

Token holders

Holder ledger of a token (balances by address) on the chains that keep one.

输入参数chain必填limitaddress必填

chord_lp_pools

LP pools

Pools ranked for a liquidity provider: volume, fees, TVL, fee/TVL.

输入参数chain必填limit

chord_lp_positions

LP positions

A wallet's liquidity positions on one chain: range, value, fees, in or out of range.

输入参数chain必填wallet必填

chord_quote

Swap quote

Best swap quote on an EVM chain. Chord's own router answers first; another aggregator only when Chord cannot route. Amounts are integer strings in the token's smallest unit; the zero address is the native asset. Returns a quoteId valid for 2 minutes.

输入参数chain必填takeramount必填tokenIn必填tokenOut必填slippageBps

chord_swap_tx

Build swap transaction

The UNSIGNED transaction for a swap, plus the approval it needs and a simulation run as the taker. Nothing is sent: the taker's own wallet signs and broadcasts. Pass a quoteId from chord_quote, or the full parameters.

输入参数chaintaker必填amountquoteIdtokenIntokenOutslippageBps

chord_ask

Ask Chord

Ask Chord's analyst a question in plain language (markets, tokens, wallets, perps, macro). Uses many data sources and takes 10 to 60 seconds. Needs an API key.

输入参数walletquestion必填

版本历史

1
  1. v1.2.0最新Oct 15, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分