HOGSWAP MCP
An MCP server for HOGSWAP that provides AI agents with DEX-aggregated quotes, unsigned swap builds, and the ability to pay any x402 invoice with any asset on Algorand. It supports self-registration for API keys and offers tools for balance checks, credit offers, and watch alerts.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://hogswap-v1.liquihog.dev/mcp/What its tools do
12 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Get DEX-aggregated swap quotes
- Build unsigned swap transactions
- Pay x402 invoices with any asset
- Register agent and verify registration
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- hogswap 0.4.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 12 advertised
- Resources
- 0 advertised
- Resource templates
- 0 advertised
- Prompts
- 0 advertised
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
},
"experimental": {}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
12 advertised
list_payable_assets
Assets accepted as payment inputs for pay_x402_invoice and credit top-ups (price-confidence gated; ALGO and USDC always included).
{
"type": "object",
"title": "list_payable_assetsArguments",
"properties": {}
}{
"type": "object",
"title": "list_payable_assetsOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}get_quote
HOGSWAP swap quote across every Algorand DEX. Give amount (exact input) OR amount_out (exact output — minimum input is solved). Base units (µ); asset 0 = ALGO. Returns expected_out, route legs, and a quote_id for build_swap. expected_out is NET of the 5 bps routing fee; passing sender also returns router_fee_* fields and the wallet's HOG discount (hog_discount_pct, 100 = fully waived at 100 HOG). Optional sender enables HOG-holding fee discounts. Optional max_legs (1-16) caps TOTAL route legs, splits included — slightly worse price at size, 404 if nothing fits; forward (amount) quotes only.
{
"type": "object",
"title": "get_quoteArguments",
"required": [
"asset_in",
"asset_out"
],
"properties": {
"amount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Amount",
"default": null
},
"sender": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sender",
"default": null
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
},
"asset_in": {
"type": "integer",
"title": "Asset In"
},
"max_legs": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Legs",
"default": null
},
"asset_out": {
"type": "integer",
"title": "Asset Out"
},
"amount_out": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Amount Out",
"default": null
}
}
}{
"type": "object",
"title": "get_quoteOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}build_swap
Unsigned transaction group for a get_quote quote_id. Sign every txn with your own wallet and submit as one group. NEVER pass mnemonics or private keys to any tool — signing happens in YOUR wallet, never here.
{
"type": "object",
"title": "build_swapArguments",
"required": [
"quote_id",
"user_address"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
},
"quote_id": {
"type": "string",
"title": "Quote Id"
},
"user_address": {
"type": "string",
"title": "User Address"
}
}
}{
"type": "object",
"title": "build_swapOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}pay_x402_invoice
Pay ANY Algorand-settled x402 invoice with any 1-4 routable assets you hold, even holding none of the demanded asset. Pass the `accepts` entry you picked as `invoice` (keep its note!) plus your inputs (single input with no amount = minimum solved). Returns UNSIGNED groups — sign all in one pass, submit IN ORDER (swap first; its on-chain floor guarantees the payment is funded; holding the asset already = one direct payment). HOGSWAP credit top-up offers feed this verbatim. EVM invoices unsupported (no bridge). NEVER pass mnemonics or private keys to any tool — signing happens in YOUR wallet, never here.
{
"type": "object",
"title": "pay_x402_invoiceArguments",
"required": [
"invoice",
"user_address",
"inputs"
],
"properties": {
"inputs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Inputs"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
},
"invoice": {
"type": "object",
"title": "Invoice",
"additionalProperties": true
},
"user_address": {
"type": "string",
"title": "User Address"
}
}
}{
"type": "object",
"title": "pay_x402_invoiceOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}register_agent
Self-service HOGSWAP API key, step 1 of 2 — zero human. Returns a challenge; sign its exact bytes with the address's key in YOUR wallet tooling, then call verify_registration. NEVER pass mnemonics or private keys to any tool — signing happens in YOUR wallet, never here.
{
"type": "object",
"title": "register_agentArguments",
"required": [
"address"
],
"properties": {
"address": {
"type": "string",
"title": "Address"
}
}
}{
"type": "object",
"title": "register_agentOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}verify_registration
Self-service key issuance, step 2 of 2. Returns your hsk_ key ONCE — store it yourself; it is not recoverable and this server does not keep it. Send it on later calls as Authorization: Bearer, X-API-Key, or the api_key argument.
{
"type": "object",
"title": "verify_registrationArguments",
"required": [
"address",
"challenge",
"signature_b64"
],
"properties": {
"address": {
"type": "string",
"title": "Address"
},
"challenge": {
"type": "string",
"title": "Challenge"
},
"signature_b64": {
"type": "string",
"title": "Signature B64"
}
}
}{
"type": "object",
"title": "verify_registrationOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}get_credit_offer
Create a credit top-up and get the x402 offer (HTTP 402 IS the payment instruction, not an error). Feed accepts[0] straight into pay_x402_invoice (keep the note nonce) to pay with any asset. Credits land ~1 block after payment.
{
"type": "object",
"title": "get_credit_offerArguments",
"required": [
"usdc_micro"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
},
"usdc_micro": {
"type": "integer",
"title": "Usdc Micro"
}
}
}{
"type": "object",
"title": "get_credit_offerOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}get_balance
Current HOGSWAP credit balance for your API key.
{
"type": "object",
"title": "get_balanceArguments",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
}
}
}{
"type": "object",
"title": "get_balanceOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}value_lp_token
Value a liquidity-provider position. Give the LP token's asset id (free, no key) and optionally `amount` in LP BASE units — what the wallet holds — for its USD value and the redeemable amount of each underlying. Also identifies the issuing pool/DEX (and STAMM tier). Per-unit figures are per WHOLE LP token. Values are a proportional-share redemption at analytics prices: no slippage, no exit fee, NOT a market quote — fields are null rather than guessed when supply or a price is missing, so check before reporting a number.
{
"type": "object",
"title": "value_lp_tokenArguments",
"required": [
"asset_id"
],
"properties": {
"amount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Amount",
"default": null
},
"asset_id": {
"type": "integer",
"title": "Asset Id"
}
}
}{
"type": "object",
"title": "value_lp_tokenOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}set_watch
Register a standing server-side watch (FREE, needs a key; idempotent upsert by client_key — re-registering replaces the watch and resets arming). kind='price': advisory µUSD threshold (asset_id, op gte/lte, threshold_usd_micro). kind='target': size-aware surrogate — would swapping amount_in of asset_in→asset_out deliver ≥ min_out? (margin_bps haircut, default 30; NO quote is run). Edge-triggered one-shot; re-arms after rearm_bps retreat + cooldown_s; ttl_s auto-expiry (default 86400) — refresh by re-upserting. Fires are numbers-only HINTS: re-quote with get_quote. Events push over SSE at GET /watches/stream (outside MCP); from MCP, poll list_watches.
{
"type": "object",
"title": "set_watchArguments",
"required": [
"client_key",
"kind"
],
"properties": {
"op": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Op",
"default": null
},
"kind": {
"type": "string",
"title": "Kind"
},
"ttl_s": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Ttl S",
"default": null
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
},
"min_out": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Min Out",
"default": null
},
"asset_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Asset Id",
"default": null
},
"asset_in": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Asset In",
"default": null
},
"amount_in": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Amount In",
"default": null
},
"asset_out": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Asset Out",
"default": null
},
"rearm_bps": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Rearm Bps",
"default": null
},
"client_key": {
"type": "string",
"title": "Client Key"
},
"cooldown_s": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Cooldown S",
"default": null
},
"margin_bps": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Margin Bps",
"default": null
},
"threshold_usd_micro": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Threshold Usd Micro",
"default": null
}
}
}{
"type": "object",
"title": "set_watchOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}list_watches
List your key's active watches (spec + arming/fired state), quota, and latest event seq. Poll this from MCP to see fires; SSE at GET /watches/stream is the push alternative outside MCP.
{
"type": "object",
"title": "list_watchesArguments",
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
}
}
}{
"type": "object",
"title": "list_watchesOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}delete_watch
Delete one of your watches by its client_key.
{
"type": "object",
"title": "delete_watchArguments",
"required": [
"client_key"
],
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Api Key",
"default": null
},
"client_key": {
"type": "string",
"title": "Client Key"
}
}
}{
"type": "object",
"title": "delete_watchOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
}Prompts
0 advertised
Resources
0 advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-06: 1 of 1 checks answered
- 2026-11-07: 1 of 1 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 1995 ms
- 95th percentile latency
- 1995 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1995 ms · metadata changed · 12 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http hogswap-mcp-liquihog https://hogswap-v1.liquihog.dev/mcp/Codex
codex mcp add hogswap-mcp-liquihog --url https://hogswap-v1.liquihog.dev/mcp/Cursor
{
"mcpServers": {
"hogswap-mcp-liquihog": {
"url": "https://hogswap-v1.liquihog.dev/mcp/"
}
}
}Cline
{
"mcpServers": {
"hogswap-mcp-liquihog": {
"type": "streamableHttp",
"url": "https://hogswap-v1.liquihog.dev/mcp/",
"disabled": false
}
}
}VS Code
{
"servers": {
"hogswap-mcp-liquihog": {
"type": "http",
"url": "https://hogswap-v1.liquihog.dev/mcp/"
}
}
}Gemini CLI
gemini mcp add --transport http hogswap-mcp-liquihog https://hogswap-v1.liquihog.dev/mcp/Claude Desktop
https://hogswap-v1.liquihog.dev/mcp/Windsurf
{
"mcpServers": {
"hogswap-mcp-liquihog": {
"serverUrl": "https://hogswap-v1.liquihog.dev/mcp/"
}
}
}Let your agent find its tools
Find servers like HOGSWAP MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.