# Base Swap Simulator & Risk Gate

> Base Swap Simulator & Risk Gate is a freemium MCP server for crypto security. Simulates Base token buy-sell round trips and audits EVM contracts before you trade. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API
- **Website:** https://passing-beggar.94.72.112.144.sslip.io
- **MCP Registry name:** io.sslip.144.112.72.94.passing-beggar/base-swap-sim
- **Categories:** [crypto security](https://ai-powered.com/categories/crypto-security)
- **Listing updated:** 2026-11-27

## About

Pre-trade checks for ERC-20 tokens on Base mainnet. The server runs a buy, approve and sell sequence as one eth_call with state overrides across Uniswap V3, Uniswap V2 and Aerodrome V2, then reports the measured buy tax, sell tax, round-trip loss and any honeypot revert reason.

Alongside the swap simulation, it inspects token bytecode for proxy patterns (EIP-1967, EIP-1167, ZOS), risky opcodes such as DELEGATECALL and SELFDESTRUCT, and selectors like mint, blacklist, pause and setFee. Wallet snapshots cover ETH, WETH and USDC balances, allowances, nonce and gas price. Responses include the block number and bytecode hash so results can be traced.

The service is aimed at traders and agents that need a quick risk read before executing a swap. A free demo allows a few lookups per day, and paid calls are priced per request in USDC over x402 with no account signup.

## Features

- **Round-trip swap simulation:** Runs buy, approve and sell in one eth_call to measure tax and loss on a token.
- **Honeypot detection:** Surfaces the revert reason when a token blocks selling.
- **Bytecode and proxy audit:** Detects proxy standards and flags risky opcodes and admin selectors in contract code.
- **Wallet snapshot:** Reports ETH, WETH and USDC balances, token allowances, nonce and Base gas price.
- **x402 endpoint check:** Assesses an x402 endpoint's discovery files and facilitator support before payment.
- **Streamable HTTP MCP:** Exposes the checks as tools that MCP-compatible AI clients can call directly.

## Good for

- Checking whether a new Base token can be sold before buying it
- Auditing a contract for upgradeability or admin controls before interacting
- Letting an AI agent verify wallet balances and allowances before a swap
- Vetting an x402 paid API before sending a payment to it

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http base-swap-sim https://passing-beggar.94.72.112.144.sslip.io/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "base-swap-sim": {
      "type": "http",
      "url": "https://passing-beggar.94.72.112.144.sslip.io/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://passing-beggar.94.72.112.144.sslip.io/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "base-swap-sim": {
      "url": "https://passing-beggar.94.72.112.144.sslip.io/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "base-swap-sim": {
      "type": "http",
      "url": "https://passing-beggar.94.72.112.144.sslip.io/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://passing-beggar.94.72.112.144.sslip.io/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add base-swap-sim --url https://passing-beggar.94.72.112.144.sslip.io/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.base-swap-sim]
url = "https://passing-beggar.94.72.112.144.sslip.io/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "base-swap-sim": {
      "httpUrl": "https://passing-beggar.94.72.112.144.sslip.io/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http base-swap-sim https://passing-beggar.94.72.112.144.sslip.io/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "base-swap-sim": {
      "serverUrl": "https://passing-beggar.94.72.112.144.sslip.io/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "base-swap-sim": {
      "url": "https://passing-beggar.94.72.112.144.sslip.io/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "base-swap-sim": {
      "type": "streamableHttp",
      "url": "https://passing-beggar.94.72.112.144.sslip.io/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "base-swap-sim": {
      "url": "https://passing-beggar.94.72.112.144.sslip.io/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "base-swap-sim": {
      "url": "https://passing-beggar.94.72.112.144.sslip.io/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "base-swap-sim": {
      "url": "https://passing-beggar.94.72.112.144.sslip.io/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "base-swap-sim": {
      "url": "https://passing-beggar.94.72.112.144.sslip.io/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://passing-beggar.94.72.112.144.sslip.io/mcp
```

Enter a Name (for example "Base Swap Simulator & Risk Gate"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "base-swap-sim": {
      "type": "http",
      "url": "https://passing-beggar.94.72.112.144.sslip.io/mcp"
    }
  }
}
```

## Tools

The server marks all 4 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `simulate_base_swap` (says read-only): Run a live zero-day Base (eip155:8453) atomic buy->approve->sell round-trip swap simulation via eth_call state overrides across Uniswap V3 (0.01/0.05/0.30/1.00%), Uniswap V2 and Aerodrome V2, plus opcode-aware bytecode/proxy audit. Free 3/day preview (0.005 ETH); unlimited calls and custom amount_eth via native x402-over-MCP (_meta["x402/payment"]) or HTTP /api/v1/simulate-swap ($0.005 USDC).
- `audit_base_bytecode` (says read-only): Static EVM bytecode & proxy audit on Base (eip155:8453): detects EIP-1967/EIP-1167/ZeppelinOS proxies and inspects implementation code, scans DELEGATECALL/SELFDESTRUCT/CREATE2 opcodes and risky admin selectors (mint, blacklist, pause, setFee, upgradeTo). Free 3/day preview; unlimited via x402-over-MCP (_meta["x402/payment"]) or HTTP /api/v1/bytecode-audit ($0.002 USDC).
- `check_base_wallet` (says read-only): Live Base (eip155:8453) wallet/counterparty snapshot: ETH, WETH and USDC balances, optional ERC-20 balance and spender allowance, nonce, EOA vs contract check and live Base gas price. Free 3/day preview; unlimited via x402-over-MCP (_meta["x402/payment"]) or HTTP /api/v1/wallet-check ($0.002 USDC).
- `check_x402_endpoint` (says read-only): Pre-payment trust report on any x402 endpoint: parses its 402 challenge, validates Base network, USDC asset, payTo address and price. Free 3/day preview; unlimited deep checks via x402-over-MCP (_meta["x402/payment"]) or HTTP /api/x402-deep-check ($0.005 USDC).

## FAQ

### Which Base DEXs does the simulator cover?

Uniswap V3 at 0.01, 0.05, 0.30 and 1.00% fee tiers, Uniswap V2, and Aerodrome V2.

### Do I need an API key?

No. Calls are paid per request in USDC on Base through x402, and a small free preview is available.

### How much does a call cost?

Simulation is $0.005 per call, bytecode audit is $0.002, and the wallet check is also priced per call in the $0.002 to $0.005 range.

### What MCP tools are exposed?

simulate_base_swap, audit_base_bytecode, check_base_wallet and check_x402_endpoint.

### How do I add Base Swap Simulator & Risk Gate to Claude Code?

Run this command in your terminal: claude mcp add --transport http base-swap-sim https://passing-beggar.94.72.112.144.sslip.io/mcp

### What are the best alternatives to Base Swap Simulator & Risk Gate?

The closest alternatives to Base Swap Simulator & Risk Gate are Base & EVM DeFi Pre-Trade Shield (x402), Base Token Check, Base Token Audit — ERC-20 honeypot check and swap route data, Base Token Safety Inspector and Agentrisk.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 5 December 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Base & EVM DeFi Pre-Trade Shield (x402)](https://ai-powered.com/mcp/base-and-evm-defi-pre-trade-shield-x402): Base & EVM DeFi Pre-Trade Shield (x402) is a paid MCP server for finance and payments.
- [Base Token Check](https://ai-powered.com/mcp/base-token-check): Base Token Check is a paid MCP server for security.
- [Base Token Audit — ERC-20 honeypot check and swap route data](https://ai-powered.com/mcp/base-token-audit-erc-20-honeypot-check-and-swap-route-data): Base Token Audit — ERC-20 honeypot check and swap route data is a freemium MCP server for security.
- [Base Token Safety Inspector](https://ai-powered.com/mcp/base-token-safety-inspector): Base Token Safety Inspector is a paid MCP server for crypto and web3.
- [Agentrisk](https://ai-powered.com/mcp/agentrisk): Agentrisk is a paid MCP server for crypto security.
- [Atlas MCP](https://ai-powered.com/mcp/atlas-mcp-4): Atlas MCP is a paid MCP server for crypto and web3.
- [Canisell](https://ai-powered.com/mcp/canisell): Canisell is a paid MCP server for finance and payments.
- [Autosophia Base Lens](https://ai-powered.com/mcp/autosophia-base-lens): Autosophia Base Lens is a paid MCP server for crypto security.

---
Source: https://ai-powered.com/mcp/base-swap-simulator-and-risk-gate
