Skip to content
View cleave-protocol's full-sized avatar

Block or report cleave-protocol

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
cleave-protocol/README.md

Cleave: DEX aggregator, one-step cross-chain swaps, tools for AI agents

Cleave Protocol

Cleave is a DEX aggregator on Ethereum, Arbitrum, Base, BNB Chain, Polygon and Optimism.

  • Many pools, one trade. Cleave searches many pools and splits a trade over several pools and paths when that pays more, then rejoins the parts in one transaction.
  • One step between chains. One quote covers the swap out, the move between chains and the swap on arrival.
  • Fees are included in your quote. Costs that others charge are shown before you sign.
  • Built for AI agents. Agents get the same quotes through an MCP server, a public API and SDKs. Every plan returns unsigned calls for the user's own wallet.

Start here

App cleave.fi
Docs cleave.fi/docs
For AI agents cleave.fi/docs/agents
API cleave.fi/docs/api
Blog cleave.fi/blog

Repositories

Repository What it is
cleave-swap MCP server and agent tools: token swaps, cross-chain swaps and gas top-ups
ai-sdk @cleave-protocol/ai-sdk: Cleave tools for the Vercel AI SDK
langchain-cleave langchain-cleave: Cleave tools for LangChain

Connect an agent

mcptry

MCP, no API key:

claude mcp add --transport http cleave https://api.cleave.fi/mcp

SDKs:

npm install @cleave-protocol/ai-sdk ai zod
pip install -U langchain-cleave

Community

X · Discord · YouTube · Blog

Security reports: info@cleave.fi. Use of Cleave is subject to the Terms of Use and the Privacy Policy.

Pinned Loading

  1. cleave-swap cleave-swap Public

    MCP server and agent tools for Cleave: token swaps, cross-chain swaps and gas top-ups on 6 EVM chains

    1

  2. ai-sdk ai-sdk Public

    Cleave agent tools for the Vercel AI SDK: swaps, cross-chain swaps and gas top-ups on 6 EVM chains

    TypeScript

  3. langchain-cleave langchain-cleave Public

    Cleave agent tools for LangChain: swaps, cross-chain swaps and gas top-ups on 6 EVM chains

    Python