hogswap-mcp
MCP serverCommerce & financehogswap-mcp lets your AI pay Algorand x402 invoices using any asset you hold, even if the invoice expects a different one. It can also fetch swap quotes and build unsigned swap transactions so you can review before anything is signed. Once added, your AI can handle crypto payments and prepare swaps on your behalf.
Use hogswap-mcp in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add hogswap-mcp and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use hogswap-mcp to list payable assets
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
Details
Available today. Use it from your connected AI after setup.
No key or account is asked for. Not verified by us yet: Ahel has not run a call through it.
Add hogswap-mcp and connect it to your Algorand wallet. Then ask your AI to quote a swap or pay an x402 invoice.
What your AI can do with it
- Pay Algorand x402 invoices with any asset you hold
- Get swap quotes between assets
- Build unsigned swap transactions for your review
- Settle invoices even when the required asset differs from what you hold
Install hogswap-mcp
The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user hogswap-mcp 'https://hogswap-v1.liquihog.dev/mcp/'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://hogswap-v1.liquihog.dev/mcp/Add a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=hogswap-mcp&config=eyJ1cmwiOiJodHRwczovL2hvZ3N3YXAtdjEubGlxdWlob2cuZGV2L21jcC8ifQ==Open the link and Cursor adds the server at that address.
ChatGPT
https://hogswap-v1.liquihog.dev/mcp/In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add hogswap-mcp --url 'https://hogswap-v1.liquihog.dev/mcp/'Run it once, then sign in with codex mcp login hogswap-mcp if the server asks for an account.
From the project's README
As published by liquihog/hogswap-mcp in README.md.
MCP server exposing HOGSWAP to AI
agents: DEX-aggregated quotes, unsigned swap builds, zero-human API-key
self-registration, and the star — pay_x402_invoice: pay any
Algorand-settled x402 invoice with any 1–4 assets you hold, via an
exact-out router swap. API reference:
hogswap-v1.liquihog.dev/reference.
Building an app rather than an agent? Official SDKs:
hogswap-js-sdk (npm)
and hogswap-py-sdk (PyPI).
Strictly non-custodial: every transaction-producing tool returns unsigned groups; you sign with your own wallet tooling and submit yourself. Never give any tool a mnemonic or private key.
Run (stdio)
npm install
HOGSWAP_API_KEY=hsk_... node src/index.mjs # key optional
Claude Code: claude mcp add hogswap -e HOGSWAP_API_KEY=hsk_... -- node <abs-path>/src/index.mjs
| Env | Meaning |
|---|---|
HOGSWAP_API_URL | API base (default https://hogswap-v1.liquihog.dev) |
HOGSWAP_API_KEY | hsk_ bearer key; self-issue via the register_agent / verify_registration tools |
Tools
Free (no key): list_payable_assets, get_quote, register_agent,
verify_registration. get_quote takes optional max_legs (1–16)
to cap total route legs, splits included — for replaying the route
under your own resource budget.
🔑 Require a HOGSWAP API key (set HOGSWAP_API_KEY, or self-issue one
with register_agent → sign → verify_registration): build_swap,
pay_x402_invoice, get_credit_offer, get_balance, plus the watch
tools set_watch / list_watches / delete_watch (standing
server-side price/target alerts — free of charge, but namespaced by
key). Without a key these return an auth error, not a build.
Watch fires are numbers-only hints — re-quote with get_quote when
one fires. From MCP, poll list_watches; outside MCP the server
pushes events over SSE at GET /watches/stream.
pay_x402_invoice returns two groups (swap, then payment) — sign all
txns in one pass, submit the groups in order; the swap's on-chain
floor guarantees the payment is funded. A HOGSWAP credit top-up's 402
offer is itself an x402 invoice: feed its accepts[0] (with the
note nonce) straight into pay_x402_invoice to buy credits with
any asset.
Remote (no local process)
The same 12 tools are served over MCP Streamable HTTP at
https://hogswap-v1.liquihog.dev/mcp/ — hosted by the HOGSWAP API
itself, no local process needed. Use the trailing slash — the
bare /mcp 307-redirects to /mcp/, costing an extra round trip per
call. Point any remote-capable MCP client at it; pass your key as
Authorization: Bearer hsk_... (the Claude API connector's
authorization_token does exactly this).
Smoke tests
HOGSWAP_API_KEY=hsk_... \
SMOKE_PAY_TO=<any USDC-opted addr> node test/smoke.mjs # stdio
HOGSWAP_API_KEY=hsk_... \
SMOKE_PAY_TO=<any USDC-opted addr> node test/smoke-remote.mjs # remote
Both default to the live API; set HOGSWAP_API_URL (stdio) or
MCP_URL (remote) to point them at another instance. Read-only +
build-only; nothing is signed or broadcast.
Tools it offers (12)
What this server listed when Ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.
list_payable_assetsget_quotebuild_swappay_x402_invoiceregister_agentverify_registrationget_credit_offerget_balancevalue_lp_tokenset_watchlist_watchesdelete_watch
Signals
- Last commit
- Aug 2026
- Weekly downloads
- 63
Advanced
- Delivery
- hogswap-mcp MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
io-github-liquihog-hogswap-mcp- Source
- github.com/liquihog/hogswap-mcp
- Hosted endpoint
https://hogswap-v1.liquihog.dev/mcp/
github.com/liquihog/hogswap-mcp
More in Commerce & finance
MCP server · mikeypetrillo
More in Commerce & financecrypto-quant-signal-mcp
MCP server · algovaultlabs
More in Commerce & financeHive Intelligence MCP
MCP server · hive-intel
More in Commerce & financekeryx
MCP server · tang-vu
More in Commerce & financetruss44-mcp-crypto-price
MCP server · truss44
More in Commerce & financetrading-mcp
MCP server · ai-rook
More in Commerce & finance