Crypto Market Data

v0.1.3
io.github.zaffy18/crypto-market-data Checked 1 day ago Published 1 month ago

Live crypto market data and Hyperliquid wallet reports for AI agents, paid per call with x402.

Values you need

VariableWhat it is
X402_PRIVATE_KEYoptional secret Key of a wallet holding a little USDC on Base, used to pay per call
X402_MAX_PER_CALL_USDoptional No single payment above this (default 0.02, the price of a watch)
X402_MAX_TOTAL_USDoptional Stop paying after this much per session (default 1.00)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add crypto-market-data -- npx -y crypto-market-data-mcp@0.1.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "crypto-market-data": {
      "args": [
        "-y",
        "crypto-market-data-mcp@0.1.3"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "crypto-market-data": {
      "args": [
        "-y",
        "crypto-market-data-mcp@0.1.3"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "crypto-market-data": {
      "args": [
        "-y",
        "crypto-market-data-mcp@0.1.3"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.crypto-market-data]
command = "npx"
args = ["-y", "crypto-market-data-mcp@0.1.3"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http crypto-market-data https://crypto-market-data.zafermemon87.workers.dev/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "crypto-market-data": {
      "args": [
        "-y",
        "mcp-remote",
        "https://crypto-market-data.zafermemon87.workers.dev/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "crypto-market-data": {
      "url": "https://crypto-market-data.zafermemon87.workers.dev/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "crypto-market-data": {
      "type": "http",
      "url": "https://crypto-market-data.zafermemon87.workers.dev/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.crypto-market-data]
command = "npx"
args = ["-y", "mcp-remote", "https://crypto-market-data.zafermemon87.workers.dev/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: prices, derivatives, orderbook, liquidations, whale_orders, news, sentiment, coin_snapshot, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json