# SwapChan

> SwapChan is an MCP server for finance and payments. MCP server for best-price EVM swap quotes and unsigned swap transactions. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API, CLI, Web
- **Website:** https://swapchan.com
- **Repository:** https://github.com/tsavo/swapcha.in/tree/HEAD/apps/mcp
- **MCP Registry name:** io.github.TSavo/swapchan
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-23

## About

Aimed at agents that need to move tokens between chains without holding keys. The server never signs or takes custody; it returns quotes and unsigned transactions, and the one relay tool only forwards a transaction the user already signed locally.

The SwapChan site compares aggregators and bridges such as 0x, CoW, Velora, LI.FI, Across and Relay and shows net amounts after gas and fees. The MCP tools cover supported chains and tokens, a single best quote, ranked route comparison (including same-chain against cross-chain destinations), building the swap transaction with an exact-amount ERC-20 approval, and checking route status. Contract helpers read ABIs, call view functions and encode unsigned calls.

Amounts can be passed as decimal strings or base units, and slippage is set in basis points with a default of 50 and a configurable hard cap. Failures come back as error results with a readable reason. The remote endpoint uses API-key auth with per-key rate limits, and a local stdio mode is also available.

## Features

- **Route comparison:** Ranks all available routes by net USD after gas and fees.
- **Unsigned transactions:** Builds swap and approval transactions for the user's own wallet to sign.
- **Cross-chain quotes:** Compares same-chain and cross-chain destinations in one call.
- **Contract helpers:** Reads ABIs, runs view calls and encodes unsigned calls.
- **Slippage cap:** Defaults to 50 bps and is capped by a server setting.
- **Remote and stdio:** Streamable HTTP with API keys, or a local stdio mode.

## Good for

- Get the best USDC route from Ethereum to Base
- Prepare an unsigned swap for a wallet to sign
- Check whether a cross-chain route is pending, done or failed
- Read a verified contract ABI before interacting with it

## Install

### Claude Code: Add with the CLI (Terminal)

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

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "swapchan": {
      "type": "http",
      "url": "https://mcp.swapchan.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.swapchan.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "swapchan": {
      "url": "https://mcp.swapchan.com/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "swapchan": {
      "type": "http",
      "url": "https://mcp.swapchan.com/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.swapchan.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add swapchan --url https://mcp.swapchan.com/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.swapchan]
url = "https://mcp.swapchan.com/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "swapchan": {
      "httpUrl": "https://mcp.swapchan.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http swapchan https://mcp.swapchan.com/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "swapchan": {
      "serverUrl": "https://mcp.swapchan.com/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "swapchan": {
      "url": "https://mcp.swapchan.com/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "swapchan": {
      "type": "streamableHttp",
      "url": "https://mcp.swapchan.com/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "swapchan": {
      "url": "https://mcp.swapchan.com/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "swapchan": {
      "url": "https://mcp.swapchan.com/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "swapchan": {
      "url": "https://mcp.swapchan.com/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "swapchan": {
      "url": "https://mcp.swapchan.com/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.swapchan.com/mcp
```

Enter a Name (for example "SwapChan"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "swapchan": {
      "type": "http",
      "url": "https://mcp.swapchan.com/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 11 tools changes data; 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `get_supported_chains` (name suggests: reads): Chains and their mascots.
- `contract_abi`: Contract ABI from Sourcify or Etherscan, following proxies.
- `contract_read` (name suggests: reads): Call a view function and decode the result.
- `contract_encode_call`: Unsigned call data plus a decoded view.
- `contract_approve_call` (name suggests: changes): Pre-signing verdict for a transaction.
- `contract_build_creation`: Unsigned contract creation with predicted address.
- `get_supported_tokens` (name suggests: reads): Token list, optionally filtered by chain or search.
- `get_quote` (name suggests: reads): Single best route, net USD after gas and fees.
- `compare_routes`: All routes ranked.
- `build_swap_tx`: Unsigned swap transaction plus approval if needed.
- `get_route_status` (name suggests: reads): Route status and destination transaction hash.

## FAQ

### Does SwapChan hold keys or sign transactions?

No. The README says there are no chain keys, signing or custody; it only relays a transaction already signed locally, unchanged.

### How do I authenticate?

The remote Streamable HTTP endpoint uses API-key auth with per-key rate limits.

### Can I run SwapChan locally?

Yes, with the --stdio flag or by running the HTTP server from the repository.

### What happens when a call fails?

Failures return as error results with a readable reason.

### How do I add SwapChan to Claude Code?

Run this command in your terminal: claude mcp add --transport http swapchan https://mcp.swapchan.com/mcp

### What are the best alternatives to SwapChan?

The closest alternatives to SwapChan are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, NostrPulse, Australian Economic Data (ABS, RBA & APRA) and Crypto Perp Pulse & Outage Radar (x402).

## Where this comes from

- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [Australian Economic Data (ABS, RBA & APRA)](https://ai-powered.com/mcp/australian-economic-data-abs-rba-and-apra): Australian Economic Data (ABS, RBA & APRA) is an open-source MCP server for analytics and data.
- [Crypto Perp Pulse & Outage Radar (x402)](https://ai-powered.com/mcp/crypto-perp-pulse-and-outage-radar-x402): Crypto Perp Pulse & Outage Radar (x402) is a paid MCP server for finance and payments.
- [LATAM Business, Fiscal & FX (x402)](https://ai-powered.com/mcp/latam-business-fiscal-and-fx-x402): LATAM Business, Fiscal & FX (x402) is a paid MCP server for finance and payments.
- [Base & EVM DeFi Pre-Trade Shield (x402)](https://ai-powered.com/mcp/base-and-evm-defi-pre-trade-shield-x402): Base & EVM DeFi Pre-Trade Shield (x402) is a paid MCP server for finance and payments.
- [x402 Micropayments MCP](https://ai-powered.com/mcp/x402-micropayments-mcp): x402 Micropayments MCP is a paid MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/swapchan
