swap-api

MCP.Pizza Chef: Swap-API

swap-api provides quick, ready-to-sign token swap transactions for Ethereum and other blockchains. Without needing API keys or accounts, you can fetch swap quotes and transaction details to execute token swaps safely. It integrates easily with AI apps like Claude Desktop, Cursor, and Cline using a simple config or npx command, enabling your AI assistant to help with crypto swaps.

Other

Use This MCP server To

Get a ready-to-sign transaction to swap ETH for USDC Estimate how much token I will receive from a swap Get swap price and slippage info before trading Generate transaction data to sign and send on Ethereum Fetch swap quotes for multiple blockchains Prepare token swap transactions without needing an API key

README

Swap API

Executable token swap calldata in one GET request. No API keys. No accounts. No SDK bloat.

https://api.swapapi.dev

Quick Start

Swap 1 ETH for USDC on Ethereum:

curl "https://api.swapapi.dev/v1/swap/1?\
tokenIn=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE&\
tokenOut=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&\
amount=1000000000000000000&\
sender=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"

That's it. The response contains everything you need to sign and broadcast.


Example Response

swap-api FAQ

Can I use this to get token swap transactions for Ethereum and other chains?
Yes — it provides ready-to-sign swap transactions for Ethereum, Base, Arbitrum, Polygon, and more.
Do I need an API key or account to use swap-api?
No — swap-api requires no API keys or accounts, and is free to use with rate limits.
Which AI apps support swap-api?
It works with Claude Desktop, Cursor, and Cline apps that support MCP servers.
How hard is it to set up swap-api in my AI assistant?
Setup is easy — just add a small config snippet or run a simple npx command.
Can I use swap-api with Claude, OpenAI, or Gemini models?
Yes — swap-api is provider-agnostic and works with any LLM in supported clients.