SwapChan

السجل الرسمي المالية والمدفوعات

Find money in any wallet, best-price swaps, simulate, PnL, pools, whales, contract and bridge tools.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http swapchan 'https://mcp.swapchan.com/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "swapchan": {
            "type": "http",
            "url": "https://mcp.swapchan.com/mcp"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. SwapChan
  2. See it work
  3. Use it as an MCP server
  4. Develop

SwapChan

Best-price same-chain and cross-chain crypto swap routing — as an MCP server, with an anime cast. 🎌

SwapChan fans out a single swap request to 0x, CoW, LI.FI, Across and Relay at once, ranks every route by net USD after gas and fees, and returns an unsigned transaction for the winner. It never holds keys and never signs or broadcasts — your wallet does. 12 networks, same-chain and cross-chain.

swapchan.com · MCP endpoint https://mcp.swapchan.com/mcp · Official MCP Registry io.github.TSavo/swapchan

See it work

Your agent asks in plain English → SwapChan fans out to every router, ranks by net USD after gas, and hands back an unsigned transaction. Your wallet signs.

Use it as an MCP server

Hosted, keyless, zero setup:

claude mcp add --transport http swapchan https://mcp.swapchan.com/mcp

Any MCP client, via stdio bridge:

{
  "mcpServers": {
    "swapchan": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.swapchan.com/mcp"]
    }
  }
}
Earn 5 bp as an agent builder

Register a partner id with your payout address and pass partner to get_quote / compare_routes (REST: &partner=<id>). You earn half of SwapChan's 0.1% fee on every swap with a verified fee:

curl -X POST https://api.swapchan.com/partners -H 'content-type: application/json' \
  -d '{"name":"My Agent","siteUrl":"https://github.com/me/my-agent","evmAddress":"0xYourPayoutAddress"}'

Returns id, a private dashboard token and dashboardUrl. Sites can embed the widget or use ?ref=<id> links. Details: swapchan.com/partners.

Tools
ToolWhat it does
get_supported_chainsNetworks SwapChan routes across (each with its own chan)
get_supported_tokensTokens available per chain
get_quoteBest single route for a swap
compare_routesEvery provider ranked by net USD after gas + fees
build_swap_txThe unsigned transaction for a chosen route — your wallet signs
get_route_statusTrack a cross-chain swap to completion
scan_new_tokens / scan_trending / scan_moversMemecoin scanner: new pairs, trending and big movers on Solana, Base, BNB, Ethereum, with risk badges and swap links
token_riskMint/freeze authority, holder concentration, LP, honeypot and tax checks for one token
get_wallet_balancesToken balances + USD value for any EVM, Solana, Bitcoin or Tron address.
check_approvalsOpen ERC-20 allowances with risk flags; build_revoke_tx makes the approve(0) tx.
explain_transactionPlain-English summary of any EVM, Solana, Bitcoin or Tron transaction.
get_gasLive gas/fee prices across chains, cheapest first.
token_infoPrice, liquidity, supply, holders and risk checks for one token.
resolve_nameENS, Basenames and .sol names to addresses, and back.
watch_tokenPrice watches with list_watches / check_watches (pull, no push).
get_yieldsTop DefiLlama yield pools for an asset, with a swap-in link.
Networks

Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche, Linea, Scroll — plus Bitcoin, Solana and Tron. Same-chain and cross-chain.

Open by design

SwapChan's MCP server is keyless on purpose. It's per-IP rate-limited, slippage-capped, and build_swap_tx only ever returns an unsigned transaction — the server has no keys, never signs, and never moves funds. Try it with zero setup.


Develop

Monorepo (pnpm + turbo):

apps/api      Hono quote service (fan-out to providers, rank, build tx, status)
apps/web      Next.js App Router + wagmi/viem + Reown AppKit + Tailwind
apps/mcp      MCP server (get_quote etc.) on top of apps/api
packages/shared  zod types + HTTP contract (see packages/shared/README.md)
Run
nvm use            # Node 24 LTS
corepack enable    # pnpm 10
pnpm install
cp .env.example .env   # fill keys
pnpm dev           # api :8787, web :3000, mcp :8788/mcp (anonymous in dev)
pnpm -F @swapchan/mcp e2e   # live MCP smoke against the running stack
pnpm typecheck && pnpm lint && pnpm test && pnpm build

الأسئلة الشائعة

ما هو SwapChan؟

Find money in any wallet, best-price swaps, simulate, PnL, pools, whales, contract and bridge tools.

كيف أثبّت SwapChan؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http swapchan 'https://mcp.swapchan.com/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج SwapChan إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل SwapChan مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون SwapChan؟

ينشره TSavo. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.