SMARD Energy Prices (x402)

Registre officiel E-commerce

Paywalled SMARD day-ahead electricity prices (DE-LU, 15‑minute resolution) via x402 on Base mainnet.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http smard-energy-prices-x402 'https://smard-energy-prices-x402.favo.workers.dev/mcp'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "smard-energy-prices-x402": {
            "type": "http",
            "url": "https://smard-energy-prices-x402.favo.workers.dev/mcp"
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. SMARD Energy Prices (x402)
  2. Homepage
  3. Endpoints
  4. Pricing
  5. MCP Connect (example)
  6. Node.js Example (x402)
  7. Notes

SMARD Energy Prices (x402)

Paywalled SMARD day‑ahead electricity prices (DE‑LU, 15‑minute resolution) via x402 on Base mainnet. Hosted MCP (streamable‑http) + HTTP endpoint.

Homepage

https://smard-energy-prices-x402.favo.workers.dev

Endpoints

  • HTTP: GET https://smard-energy-prices-x402.favo.workers.dev/prices
  • MCP: POST https://smard-energy-prices-x402.favo.workers.dev/mcp

Pricing

$0.001 per call (USDC on Base). Requires X-PAYMENT header (exact scheme).

MCP Connect (example)

{
  "mcpServers": {
    "smard-x402": {
      "url": "https://smard-energy-prices-x402.favo.workers.dev/mcp",
      "headers": {
        "Accept": "application/json, text/event-stream"
      }
    }
  }
}

Node.js Example (x402)

import { createWalletClient, http } from "viem";
import { base } from "viem/chains";
import { privateKeyToAccount } from "viem/accounts";
import { createPaymentHeader, selectPaymentRequirements } from "x402/client";

const url = "https://smard-energy-prices-x402.favo.workers.dev/prices";

// 1) Get payment requirements
const res = await fetch(url);
const data = await res.json();
const req = selectPaymentRequirements(data.accepts, "base", "exact");

// 2) Create payment header
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const client = createWalletClient({ account, chain: base, transport: http("https://mainnet.base.org") });
const xPayment = await createPaymentHeader(client, data.x402Version, req);

// 3) Call API with payment
const paid = await fetch(url, { headers: { "X-PAYMENT": xPayment } });
console.log(await paid.json());

Notes

  • MCP endpoint uses streamable‑http. Send Accept: application/json, text/event-stream.
  • Data source: SMARD (DE‑LU), 15‑minute resolution.

Questions fréquentes

Qu'est-ce que SMARD Energy Prices (x402) ?

Paywalled SMARD day-ahead electricity prices (DE-LU, 15‑minute resolution) via x402 on Base mainnet.

Comment installer SMARD Energy Prices (x402) ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http smard-energy-prices-x402 'https://smard-energy-prices-x402.favo.workers.dev/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour SMARD Energy Prices (x402) ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

SMARD Energy Prices (x402) est-il open source ?

Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.

Qui maintient SMARD Energy Prices (x402) ?

Il est publié par moldy93. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.