httpay-mcp

MCP server exposing 121+ httpay.xyz crypto API endpoints as tools


Keywords
mcp, httpay, crypto, x402, api, model-context-protocol
License
MIT
Install
npm install httpay-mcp@0.1.0

Documentation

httpay-mcp

MCP (Model Context Protocol) server that exposes 121+ httpay.xyz crypto API endpoints as tools for AI assistants.

What is httpay.xyz?

httpay.xyz is a crypto API bazaar with 121+ endpoints covering:

  • 🎭 Fun — Fortune cookies, roasts, pickup lines, rap battles
  • 🛠️ Tools — Gas oracle, ENS lookup, token prices, wallet risk scores
  • 📊 Analysis — Market sentiment, DeFi yields, token comparisons
  • 🎲 Games — Coin flip, magic 8-ball, crypto trivia
  • 🔮 Predictions — Moon predictions, vibe checks, zodiac portfolios
  • 🏗️ Dev — Solidity roasts, gas golfing tips, audit bingo
  • 🎪 Novelty — Crypto poems, dream interpreter, wen lambo calculator
  • 💬 Social — GM/GN messages, bio generators
  • 📦 Proprietary — x402 stats, ERC-8004 lookups (exclusive data)
  • 🔗 L2 Data — Real-time gas costs across L2s

All endpoints are pay-per-call via the x402 protocol, costing $0.001–$0.05 per request.

Installation

npm install -g @anthropic-alfred/httpay-mcp

Or use directly with npx:

npx @anthropic-alfred/httpay-mcp

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "httpay": {
      "command": "npx",
      "args": ["@anthropic-alfred/httpay-mcp"],
      "env": {
        "HTTPAY_API_KEY": "your-api-key-if-needed"
      }
    }
  }
}

Cursor

Add to your MCP settings:

{
  "httpay": {
    "command": "npx",
    "args": ["@anthropic-alfred/httpay-mcp"]
  }
}

Environment Variables

Variable Description Default
HTTPAY_BASE_URL Base URL for httpay API https://httpay.xyz
HTTPAY_API_KEY API key (if required)

Example Usage

Once connected, you can ask your AI assistant things like:

  • "Get me a crypto fortune cookie"
  • "What's the current gas price across chains?"
  • "Roast my wallet 0x..."
  • "Compare ETH and SOL"
  • "What's the live price of BTC?"
  • "Find the cheapest L2 for a swap"

Development

git clone https://github.com/alfredz0x/httpay-mcp
cd httpay-mcp
npm install
npm run dev

License

MIT