{
  "name": "$ELEC Finance MCP Server",
  "version": "1.0.0",
  "description": "MCP server exposing the $ELEC US National Electricity Price Index as native agent tools. Provides real-time wholesale electricity prices in USD/MWh, derived from 12 ICE power hub futures contracts. Access purchased per session in USDC via x402 protocol.",
  "url": "https://mcp.elec.finance/mcp",
  "transport": "streamable-http",
  "tools": [
    {
      "name": "get_feed_status",
      "description": "Check operational health of the $ELEC feed — active hub contracts, provisional status, last tick timestamp, latency. No authentication required.",
      "readOnly": true
    },
    {
      "name": "get_current_price",
      "description": "Get the current $ELEC composite electricity price in USD/MWh. Requires a session token from request_access.",
      "readOnly": true
    },
    {
      "name": "request_access",
      "description": "Initiate an x402 USDC payment to purchase a timed access session. Returns a JWT token on success or a payment challenge for on-chain payment.",
      "readOnly": false
    },
    {
      "name": "get_price_history",
      "description": "Retrieve historical $ELEC index prices. Planned for v1.1 — currently returns availability notice.",
      "readOnly": true
    }
  ],
  "authentication": {
    "type": "per-tool",
    "description": "get_feed_status requires no auth. get_current_price requires a JWT session token as a tool parameter (obtained via request_access). The x402 payment flow settles in USDC on Base mainnet."
  },
  "sandbox": {
    "url": "https://sandbox.mcp.elec.finance/mcp",
    "description": "Sandbox server returns mock data and issues tokens without payment. Use for development and integration testing."
  },
  "contact": "api@elec.finance",
  "documentation": "https://elec.finance/docs",
  "openapi": "https://elec.finance/openapi.json",
  "llms_txt": "https://elec.finance/llms.txt"
}
