How do I get swap transaction data?
Call the `swap_tokens` tool with required parameters (chainId, tokenIn, tokenOut, amountIn, sender). It returns the calldata and other transaction details.
@Swap-API
Basic information
Free token swaps for AI agents. No API keys. Returns executable transaction calldata for 40+ EVM chains.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"swapapi": {
"command": "npx",
"args": [
"@swapapi/mcp"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Swap Api is a Model Context Protocol (MCP) server that provides AI agents with executable token swap calldata for any EVM chain. It is designed for developers building AI‑powered trading or DeFi assistants.
Install the package globally with npm install -g @swapapi/mcp or run it on the fly with npx @swapapi/mcp. Configure the server in any MCP‑compatible client (e.g., Claude Desktop, Cursor) using the command npx @swapapi/mcp. The server exposes a single tool, swap_tokens, which accepts parameters such as chain ID, token addresses, amount, sender address, and optional slippage.
swap_tokens for swap calldataCall the `swap_tokens` tool with required parameters (chainId, tokenIn, tokenOut, amountIn, sender). It returns the calldata and other transaction details.
The README explicitly lists chain ID 1 (Ethereum), 8453 (Base), and 42161 (Arbitrum), and states “etc.” implying additional EVM chains.
Check ERC‑20 approval for non‑native tokens, verify sender balance, estimate gas with a 20% buffer, simulate the transaction with `eth_call`, and submit within 30 seconds of fetching the quote.
No, the README does not mention any authentication or API key requirement for the MCP server.
Use `0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE` as the token address for native tokens (ETH, MATIC, etc.).

Catch intent conflicts before code conflicts. The open-source coordination protocol for coding agents, built above Git.
Gives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.
OrangePro local-first CLI + MCP server for behavior mapping, grounded test generation, and dynamic proof.
Query your team's drift, vulnerability, and migration data from any AI assistant. Vibgrate MCP connects Cursor, Claude, ChatGPT, Windsurf, or VS Code to Vibgrate Cloud: 51 tools for DriftScores, CVEs and EOL runtimes, up

Verified distributed compute for humans, applications, and agents. Submit Blender, Octane, and video workloads, route them across qualified GPUs, track asynchronous execution, download finished artifacts, and verify FARP
Comments