Skip to main content
MCP server CX Codex

LI.FI — Claude Code MCP server: what it does, how to install

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

no license 3,589 installs updated 2026-05-11

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http lifi-mcp https://lifi-mcp--li-fi.run.tools
Open on GitHub

What LI.FI 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.

What it helps with

  • 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 for the agent

  • 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

How to install LI.FI

Platform CLI: remote server

claude mcp add --transport http lifi-mcp https://lifi-mcp--li-fi.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about LI.FI

How do I install LI.FI in Claude Code?

Run claude mcp add --transport http lifi https://lifi-mcp--li-fi.run.tools in your terminal to register the remote HTTP endpoint.

What does the LI.FI MCP server do?

It queries liquidity routes across supported networks, inspects DeFi yield opportunities, and prepares raw transaction data for external wallet execution.

Can this server execute transactions autonomously?

No, the integration is read-only and builds unsigned transaction payloads, requiring your own wallet to sign and broadcast each call.

Similar MCP servers

All MCP servers for Finance and business →

Project sponsors

Companies that keep this analytics open