mempool-analyzer

Advanced mempool analysis for MEV opportunities, pending transaction monitoring, and gas price optimization

View on GitHub
Author Jeremy Longshore
Namespace @jeremylongshore/claude-code-plugins-plus
Category crypto
Version 1.0.0
Stars 1,193
Downloads 2
self.md verified
Table of content

Advanced mempool analysis for MEV opportunities, pending transaction monitoring, and gas price optimization

Installation

npx claude-plugins install @jeremylongshore/claude-code-plugins-plus/mempool-analyzer

Contents

Folders: agents, skills

Files: LICENSE, README.md

Documentation

Advanced mempool analysis for MEV opportunities, pending transaction monitoring, and gas price optimization.

Features

Installation

/plugin install mempool-analyzer@claude-code-plugins-plus

Usage

The mempool agent automatically activates when you discuss:

Example Queries

What MEV opportunities are currently in the mempool?

Show me all pending large ETH transfers over $1M

What's the optimal gas price for the next block?

Analyze pending Uniswap swaps for arbitrage opportunities

Monitor address 0x... for incoming mempool transactions

Configuration

Create a .mempool-config.json file:

{
  "networks": ["ethereum", "bsc", "polygon", "arbitrum"],
  "rpcEndpoints": {
    "ethereum": "wss://eth-mainnet.g.alchemy.com/v2/YOUR_KEY"
  },
  "mevDetection": {
    "minProfitUSD": 100,
    "maxGasPrice": 200,
    "sandwichDetection": true,
    "arbitrageDetection": true,
    "liquidationMonitoring": true
  },
  "alerts": {
    "largeTransferThreshold": 1000000,
    "highGasWarning": 150,
    "mevOpportunityFound": true
  }
}

Data Sources

Risk Warnings

Important Considerations:

License

MIT License - See LICENSE file for details

Support


Built with ️ for blockchain researchers by Intent Solutions IO

Included Skills

This plugin includes 1 skill definition:

analyzing-mempool

|

View skill definition

Analyzing Mempool

Overview

Monitor Ethereum mempool for pending transactions, analyze gas prices, detect DEX swaps, and identify potential MEV opportunities. Useful for traders, MEV researchers, and protocol developers.

Prerequisites

Before using this skill, ensure you have:

Instructions

Step 1: Navigate to Scripts Directory

cd {baseDir}/scripts

Step 2: Choose Your Command

View Pending Transactions:

python mempool_analyzer.py pending
python mempool_analyzer.py pending --limit 100

Gas Price Analysis:

python mempool_analyzer.py gas
# Shows distribution, recommendations for slow/standard/fast/instant

Pending DEX Swaps:

python mempool_analyzer.py swaps
# Detects Uniswap, SushiSwap, 1inch pending swaps

MEV Opportunity Scan:

python mempool_analyzer.py mev
# Detects sandwich, arbitrage, liquidation opportunities

Mempool Summary:

python mempool_analyzer.py summary
# Quick overview of pending count, gas, opportunities

Watch Specific Contract:

python mempool_analyzer.py watch 0x7a250d...
# Monitor pending transactions to specific contract

Step 3: Interpret Results

Gas Recommendations:

…(truncated)

Source

View on GitHub

Tags: crypto cryptomempoolmevethereumblockchaingaspending-transactionsarbitrage