# LI.FI

LI.FI finds cross-chain swap routes across 58 networks, checks DeFi yield vaults, and generates unsigned transaction payloads for an agent wallet.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 3589 installs
- Author: li-fi
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/li-fi/lifi-mcp
- Updated: 2026-05-11
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/lifi

## What it does

This server connects coding agents to the LI.FI liquidity aggregator. It provides tooling to inspect token balances across EVM and Solana, pull exchange quotes across 27+ bridges and 31+ DEXes, check ERC20 allowances, and monitor pending cross-chain transactions.

Because the server runs strictly read-only, it generates raw unsigned transaction payloads rather than submitting funds itself. An active external wallet must handle signing and broadcasting. An API key is not mandatory, but missing credentials mean lower rate limits on requests.

## Requirements
- Remote server: `https://lifi-mcp--li-fi.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http lifi-mcp https://lifi-mcp--li-fi.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add lifi --url https://lifi-mcp--li-fi.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "lifi": {
            "url": "https://lifi-mcp--li-fi.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "lifi": {
            "type": "http",
            "url": "https://lifi-mcp--li-fi.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http lifi https://lifi-mcp--li-fi.run.tools
```

## When to use it
- discover low-cost bridging routes across multiple blockchain networks
- prepare unsigned transactions for yield vault deposits or token swaps
- inspect ERC20 spender approvals before attempting a token exchange
- track transaction progress across network bridges

## Example prompts
- Find the cheapest bridge route to swap USDC on Polygon for ETH on Optimism
- Check current APY across lending protocols on Arbitrum
- Inspect my wallet balance and ERC20 allowance for DAI on Ethereum

## Similar
- [RAVN](https://affpapa.org/en/nevibecode/mcp/ravn.md) — MCP server
- [zeta-chain-cli](https://affpapa.org/en/nevibecode/mcp/zeta-chain-cli.md) — MCP server · ★ 6 repo stars
- [Zerion API](https://affpapa.org/en/nevibecode/mcp/zerion-api.md) — MCP server · 502 installs
- [AnyGas](https://affpapa.org/en/nevibecode/mcp/anygas.md) — MCP server · 448 installs
- [emblem-token-swap](https://affpapa.org/en/nevibecode/skills/emblem-token-swap.md) — skill · 8600 installs
- [SODAX Builders MCP](https://affpapa.org/en/nevibecode/mcp/sodax-builders-mcp.md) — MCP server · ★ 9 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
