HelmSwap
v0.2.5Swap quotes and unsigned swap transactions on 9 chains.
stdio MCP server so AI agents can quote and build unsigned HelmSwap transactions. Helm never holds keys, never signs, and never broadcasts. The user's wallet signs. get_swap_quote accepts inputMint, outputMint, amount (an integer in the token's smallest unit), slippageBps and an optional chain (inferred as Solana from a mint address; otherwise Base). Also accepted: tokenIn / tokenOut / amountIn, sellToken / buyToken / sellAmount, fromToken / toToken. Only exact-input quotes are supported.
Summary extracted from the README.
helmswap-mcp — HelmSwap MCP server
stdio MCP server so AI agents can quote and build unsigned HelmSwap transactions. Helm never holds keys, never signs, and never broadcasts. The user's wallet signs.
Default API: https://helmswap.com.
Tools
get_quote— disclosed quote + short-lived quote ticketbuild_swap— unsigned EVM calldata or a Solana v0 transaction for the user's walletget_swap_quoteandbuild_swap_transaction— the same two steps for agents that already use theinputMint,outputMint,amount,slippageBpsanduserPublicKeyconvention
get_swap_quote accepts inputMint, outputMint, amount (an integer in the token's smallest unit), slippageBps and an optional chain (inferred as Solana from a mint address; otherwise Base). Also accepted: tokenIn / tokenOut / amountIn, sellToken / buyToken / sellAmount, fromToken / toToken. Only exact-input quotes are supported. It returns inAmount, outAmount (after the disclosed fee, before slippage), otherAmountThreshold (the minimum after slippage), swapMode, slippageBps, platformFee, priceImpactPct (a decimal string: 0.01 is one percent) and routePlan, plus the fields get_quote returns, including quoteTicket.
build_swap_transaction takes the whole get_swap_quote result as quoteResponse and the user's wallet address as userPublicKey (also accepted: walletAddress, taker, recipient). It returns swapTransaction and lastValidBlockHeight on Solana, or transaction and any approvals on EVM chains. Priority-fee and wrap/unwrap options are accepted and ignored.
There is no execute, sign, or broadcast tool.
Install
npx -y helmswap-mcp
Claude Desktop / Cursor MCP config:
{
"mcpServers": {
"helmswap": {
"command": "npx",
"args": ["-y", "helmswap-mcp"],
"env": {
"HELM_REFERRER": "0xYourPayout"
}
}
}
}
HELM_REFERRER can also be a Solana wallet if you mostly quote Solana. You can pass referrer per tool call instead.
Optional env:
| Variable | Meaning |
|---|---|
HELM_BASE_URL |
Default https://helmswap.com |
HELM_REFERRER / HELM_PAYOUT |
Optional payout address. Address only, never a key. The share is disclosed on the quote. |
HELM_API_KEY |
Optional integrator API key (not a wallet key). The server enforces share caps. |
The process refuses to start if a privateKey, mnemonic, signer, or similar env var is set.
Fees and chains
Fees are disclosed in each quote. An optional payout address attributes a share of that fee; the trader pays the same fee with or without it.
Live chains: Solana, Base, BNB Chain, Ethereum, Robinhood Chain, Ink, HyperEVM, Elysium and Arc. Arbitrum and Polygon can quote but cannot build. Tokenized stocks return an error (HTTP 451). US users can use the swap tools.
Docs: https://helmswap.com/developers
Develop
npm test
npm run build
npm start
MIT © Summit Private Credit LLC