Skip to content
MCP server

gasrescue

Lets an agent move or swap stablecoins from a wallet that holds no gas coin

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, API
Runs
Locally
Version
0.1.11
Listing updated
3 days ago

About gasrescue

gasrescue is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

A wallet that holds USDC or USDT but none of the native coin hits an insufficient-gas error on every transfer. gasrescue works around it: the wallet signs, gasrescue sends the transaction and pays the network fee, and its own fee is taken out of the amount. An agent can also swap a few dollars into the gas coin so the wallet pays for itself afterwards.

It covers Base, Arbitrum, Ethereum, Polygon, Avalanche, BNB Chain, HyperEVM, Robinhood Chain, Solana and Tron, with tokens such as USDC, USDT (USDT0 on some chains), USDG, USD1 and FDUSD depending on the chain. The read-only wallet check also reports whether an issuer has frozen a token. BNB Chain works differently: the wallet sends two plain transfers itself after a small gas drop.

By default the server signs nothing and hands the signing request to the user's wallet. If you set GASRESCUE_EVM_PRIVATE_KEY, sign_and_submit checks every signed field against the quote and signs only for gasrescue's published contracts, and GASRESCUE_ALLOWED_RECIPIENTS can restrict where it sends. The README warns to use a wallet holding only what the agent should be able to move, and the site says the service is in early access with final transfers.

Limits are $2 to $1,000 per transfer (at least $10 on Tron) and 10 transfers per wallet in 24 hours. The service fee is 0.5%, at least $0.25 and at most $2 per send or $5 per swap, plus the network fee.

Install

Run in a terminal

claude mcp add gasrescue --env GASRESCUE_EVM_PRIVATE_KEY='<GASRESCUE_EVM_PRIVATE_KEY>' -- npx -y gasrescue-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "gasrescue": {
      "command": "npx",
      "args": [
        "-y",
        "gasrescue-mcp"
      ],
      "env": {
        "GASRESCUE_EVM_PRIVATE_KEY": "<GASRESCUE_EVM_PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gasrescue": {
      "command": "npx",
      "args": [
        "-y",
        "gasrescue-mcp"
      ],
      "env": {
        "GASRESCUE_EVM_PRIVATE_KEY": "<GASRESCUE_EVM_PRIVATE_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "gasrescue": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gasrescue-mcp"
      ],
      "env": {
        "GASRESCUE_EVM_PRIVATE_KEY": "<GASRESCUE_EVM_PRIVATE_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "gasrescue": {
      "command": "npx",
      "args": [
        "-y",
        "gasrescue-mcp"
      ],
      "env": {
        "GASRESCUE_EVM_PRIVATE_KEY": "<GASRESCUE_EVM_PRIVATE_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "gasrescue": {
      "command": "npx",
      "args": [
        "-y",
        "gasrescue-mcp"
      ],
      "env": {
        "GASRESCUE_EVM_PRIVATE_KEY": "<GASRESCUE_EVM_PRIVATE_KEY>"
      }
    }
  }
}

Configuration

  • GASRESCUE_EVM_PRIVATE_KEYOptional: lets sign_and_submit sign EVM quotes with this wallet. Leave unset to sign nothing.
  • GASRESCUE_ALLOWED_RECIPIENTSOptional, comma separated: sign_and_submit sends only to these addresses.

Tools this server provides (8)

Taken from the project documentation; the running server may differ.

gasrescue_info
Chains, tokens, fees and limits.
check_wallet
Read-only view of an address's stablecoins, gas and issuer freezes.
quote_send
Quote a gasless send and return a transfer id.
quote_swap
Quote a swap into the gas coin or another stablecoin.
get_signing_request
What the wallet has to sign for a quote.
submit_signatures
Submit signatures so gasrescue sends and pays the gas.
get_transfer
Status and explorer link for a transfer.
sign_and_submit
With a configured EVM key, checks the quote, signs and submits.

What it does

Wallet check
Read stablecoin balances, gas and issuer freezes across all supported chains.
Gasless sends
Quote and send stablecoins while gasrescue pays the network fee.
Swap into gas coin
Swap stablecoins into ETH, POL, AVAX, SOL or HYPE without holding gas.
Signing request flow
Hand the wallet exactly what it must sign, then submit the signatures.
Optional EVM signing
Sign with a configured key after every field is checked against the quote.
Recipient allowlist
Restrict sends to a fixed list of addresses.

Good for

  • Move USDC out of a wallet that has no ETH for gas
  • Top up an agent wallet's gas coin from its stablecoin balance
  • Find out where stablecoins are stuck and whether an issuer froze them
  • Send a stablecoin to an exchange deposit address from an empty-gas wallet

Pricing

Open source

MIT-licensed server; 0.5% service fee per transfer (min $0.25, max $2 send / $5 swap)

Prices change. Check gasrescue.io before you buy.

gasrescue FAQ

Do I need an API key or account?

No. The README says no API key and no account.

What does it cost?

A 0.5% service fee, at least $0.25 and at most $2 per send or $5 per swap, plus the network fee.

Does the server hold my private key?

Only if you set GASRESCUE_EVM_PRIVATE_KEY, and then the key stays in that process and only signatures are sent.

Which chains are supported?

Base, Arbitrum, Ethereum, Polygon, Avalanche, BNB Chain, HyperEVM, Robinhood Chain, Solana and Tron.

Is gasrescue free?

Yes. gasrescue is open source, so you can use and self-host it for free.

How do I add gasrescue to Claude Code?

Run this command in your terminal: claude mcp add gasrescue --env GASRESCUE_EVM_PRIVATE_KEY='<GASRESCUE_EVM_PRIVATE_KEY>' -- npx -y gasrescue-mcp

What are the best alternatives to gasrescue?

The closest alternatives to gasrescue are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

Alternatives to gasrescue

  1. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  2. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  3. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments
  4. Stock scores, what a price assumes, earnings quality and quiet profit revisions

    • 11 tools
    • Remote
    • Free
    • Finance and payments
  5. Provyan

    MCP server

    Backtested crypto signal results on 94 coins, with luck odds and sources

    • 4 tools
    • Remote
    • Free
    • Finance and payments
  6. TribuJus

    MCP server

    Read-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • Legal and government