# CryptoGuard

Protect cryptocurrency investments by validating trades and scanning for potential rug pulls. Identify anomalous market behavior and high-risk trading pairs before executing transactions. Ensure safe…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add emergentphysicslab/cryptoguard

# Browse available tools
npx -y @smithery/cli@latest tool list emergentphysicslab/cryptoguard

# Get full schema for a tool
npx -y @smithery/cli@latest tool get emergentphysicslab/cryptoguard cryptoguard_validate_trade

# Call a tool
npx -y @smithery/cli@latest tool call emergentphysicslab/cryptoguard cryptoguard_validate_trade '{}'
```

## Direct MCP Connection

Endpoint: `https://cryptoguard--emergentphysicslab.run.tools`

**Optional config:**
- `sensitivity` (query) — Anomaly detection sensitivity multiplier (0.1–5.0). Defaults to 1.0.
- `timeout` (query) — Request timeout in seconds. Defaults to 90.

## Tools (7)

- `cryptoguard_validate_trade` — Validate a crypto trade BEFORE execution. Returns a verdict: PROCEED, CAUTION, or BLOCK. Runs 5 checks: peer anomaly sc…
- `cryptoguard_scan_token` — Scan a single token for anomalous market behavior using WaveGuard physics-based anomaly detection. Compares the token t…
- `cryptoguard_validate_trade_plus` — Premium stateless decision bundle for one-shot trade gating. Caller provides full context (training/test + optional wha…
- `cryptoguard_counterfactual_trade` — Stateless what-if sensitivity analysis. Submit baseline + counterfactual variants in one request and receive tipping-po…
- `cryptoguard_rug_check` — Assess rug pull risk for a specific DEX trading pair. Scores 6 risk factors (0-100): liquidity depth, pair age, volume/…
- `cryptoguard_search` — Search for a token's CoinGecko coin ID by name, symbol, or contract address. Use this first if you're unsure of the cor…
- `cryptoguard_health` — Check CryptoGuard API health, version, and service status. No payment required. Use this to verify the service is runni…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get emergentphysicslab/cryptoguard <tool-name>
```

## Prompts (2)

- `validate-before-trade` (token) — Validate a crypto token before executing a trade. Returns PROCEED, CAUTION, or BLOCK verdict.
- `check-rug-pull` (chain, pair_address) — Check if a DEX trading pair shows rug pull risk signals.
