Skip to content
VS Code

SwapHunt crypto market context for VS Code

io.github.swaphunt/swaphunt-mcp

Hyperliquid prices, regime, vol, funding, FOMO checks (x402, USDC); free Kalshi/Polymarket fees

client:VS Code transport:stdio runtime:pypi

Install SwapHunt crypto market context in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "x402-pay",
      "description": "X402_PAY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "private-key-file",
      "description": "PRIVATE_KEY_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "private-key",
      "description": "PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "max-spend-usd",
      "description": "MAX_SPEND_USD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "payto-allowlist",
      "description": "PAYTO_ALLOWLIST",
      "password": true
    }
  ],
  "servers": {
    "swaphunt-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "swaphunt-mcp"
      ],
      "env": {
        "X402_PAY": "${input:x402-pay}",
        "PRIVATE_KEY_FILE": "${input:private-key-file}",
        "PRIVATE_KEY": "${input:private-key}",
        "MAX_SPEND_USD": "${input:max-spend-usd}",
        "PAYTO_ALLOWLIST": "${input:payto-allowlist}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

SwapHunt crypto market context in other clients