{"schema_version":"v1","name":"mev-history-mcp","title":"MEV History MCP (x402)","description":"x402 MCP for EVM MEV history. Sandwich detection + per-wallet MEV exposure + per-pool MEV density. Block-position heuristic over public RPC. Multichain (ethereum/base/arbitrum/optimism/polygon). No signup, no API key — pay USDC on Base.","version":"0.1.0","url":"https://mev-history-mcp.mtree.workers.dev","documentation_url":"https://mev-history-mcp.mtree.workers.dev","service_endpoint":"https://mev-history-mcp.mtree.workers.dev","payment":{"scheme":"x402","network":"base","asset":"USDC"},"skills":[{"id":"mev_exposure","name":"mev_exposure","description":"Per-wallet MEV exposure score for an EVM address. Samples recent blocks, identifies the wallet's swap-related tx via known DEX router targets, and applies a block-position sandwich heuristic to each. Returns 0–100 exposure score, sandwich count, swap count, and per-sandwich attacker/frontrun/backrun details.","input_modes":["application/json"],"output_modes":["application/json"],"endpoint":"/v1/wallet/mev_exposure","method":"POST","price":"$0.30"},{"id":"sandwich_check","name":"sandwich_check","description":"Single-tx sandwich classifier. Takes a tx_hash + chain, fetches the tx + its block, and applies the block-position heuristic. Returns is_sandwiched + confidence (none/weak/medium/strong/confirmed) + attacker_addr + frontrun/backrun details.","input_modes":["application/json"],"output_modes":["application/json"],"endpoint":"/v1/tx/sandwich_check","method":"POST","price":"$0.05"},{"id":"recent_mev_density","name":"recent_mev_density","description":"Pool-level recent MEV density. Takes a pool address + chain, fetches every log emitted by the pool in the lookback window, and runs the sandwich heuristic per tx. Returns sandwich_density (0.0–1.0), density_band, and sample sandwiches.","input_modes":["application/json"],"output_modes":["application/json"],"endpoint":"/v1/pool/recent_mev_density","method":"POST","price":"$0.10"}],"tags":["x402","blockchain-tooling","evm","base","ethereum","arbitrum","optimism","polygon","mev","sandwich","history","wallet","dex","mcp"]}