# tollbooth [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/soundsparkaudiolab/tollboothswap-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 278  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/tollbooth-2

## Description
Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.

## Tools
Capabilities this server exposes over MCP:

- **get_service_info** — Get Tollbooth service metadata: supported chains, swap fee, x402 toll pricing.
- **resolve_token** — Resolve a token ticker symbol (e.g. PEPE, WIF, USDC) to contract addresses on a chain, free. Curated majors return one verified match; others return live DEX matches ranked by liquidity so you can pick the real token over imitations. Use before get_quote when you only know the symbol.
- **get_quote** — Get a free indicative swap quote (output amount includes Tollbooth's fee). Use before build_swap to decide whether to trade.
- **build_swap** — Build an unsigned swap transaction for the taker wallet to sign and submit. Costs an x402 toll (paid automatically when TOLLBOOTH_PAYER_KEY is set). Returns the transaction, the quote, and a signed receipt.
- **check_token** — Token safety screen before trading: honeypot, rug-pull, freeze/mint authority, transfer hooks, sell tax, blacklists. Returns verdict (ok/warn/critical/unknown), a 0-100 risk score, and itemized findings. Costs an x402 toll.
- **get_receipt** — Fetch a signed Tollbooth receipt by id and verify its signature.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "tollbooth": {
    "command": "npx",
    "args": ["-y","tollboothswap-mcp"]
  }
}
```

## Documentation

## What tollbooth MCP server does

The tollbooth MCP server connects MCP-compatible agents to Tollbooth for token discovery, swap quoting, token screening, and transaction construction. It covers eight chains: Solana, Base, Ethereum, Arbitrum, Polygon, Optimism, BSC, and Avalanche.

The service is non-custodial. It creates transaction data, but does not hold wallet keys or funds. The agent or its wallet remains responsible for signing and submitting a transaction. This makes the server suitable for workflows where an agent prepares a swap while execution remains under the wallet owner’s control.

## How it works

Start the server with `npx tollboothswap-mcp` and connect it through an MCP client. `resolve_token` maps a ticker symbol to contract addresses and ranks results by DEX liquidity. `get_quote` returns an indicative quote that includes fees. These two tools are free.

`check_token` performs paid screening for honeypot behavior, rug-pull indicators, freeze authority, and sell tax, returning a verdict with findings. `build_swap` produces an unsigned transaction ready for signing and an HMAC-signed receipt. Its optional `safeMode` setting screens both tokens before building the swap. `get_receipt` verifies a previous build receipt, while `get_service_info` reports supported chains, fees, and pricing.

## Setup and configuration

Run the package with:

```bash
npx tollboothswap-mcp
```

A typical MCP configuration uses the `tollbooth` server name, runs `npx` with `-y tollboothswap-mcp`, and can set `TOLLBOOTH_PAYER_KEY` to an EVM private key holding USDC on Base.

The payer key is optional. Without it, agents can use token resolution, quotes, service information, and receipt verification. Paid tools instead return x402 payment instructions. With the key configured, paid calls are settled automatically in USDC through x402. The payment flow uses EIP-3009, so the key pays USDC without spending gas.

## Tools and capabilities

- `resolve_token`: Finds contract addresses for a ticker and ranks them by DEX liquidity.
- `get_quote`: Provides a fee-inclusive indicative swap quote.
- `check_token`: Screens a token and reports a safety verdict plus findings.
- `build_swap`: Creates an unsigned swap transaction and signed receipt; `safeMode` can screen both tokens first.
- `get_receipt`: Verifies a build receipt by its identifier.
- `get_service_info`: Returns the service manifest, including chains, fees, and prices.

Swap builds cost approximately $0.005, and safety checks cost $0.01. Symbol resolution, quotes, receipt verification, and service information are free.

## Limitations and notes

The server does not sign or submit transactions, custody assets, or manage wallet funds. A connected agent or wallet must perform those steps. The payer key is used for USDC payments on Base, not for gas payments or swap execution.

The quote is indicative rather than a guaranteed execution result. Token screening reports a verdict and findings but should be treated as screening output, not as a complete substitute for transaction review. Paid calls require either the configured payer key or another supported x402 payment flow.

_Full upstream README: https://allmcps.com/mcp/tollbooth-2/readme_

