SMARD Energy Prices (x402)

MCP serverDev tools

This app gives your AI access to SMARD day-ahead electricity prices for the DE-LU region (Germany and Luxembourg) at 15-minute resolution. The price data is paywalled, and your AI pays for each request with x402 on the Base network. Once added, your AI can look up power prices and use them to answer questions about electricity costs.

Use SMARD Energy Prices (x402) in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add SMARD Energy Prices (x402) and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the smard prices tool from SMARD Energy Prices (x402)

Details

Available today. Use it from your connected AI after setup.

After adding it, ask your AI for day-ahead electricity prices, for example which hours of the day are cheapest. Each request is paid for with x402 on the Base network.

SMARD Energy Prices (x402)Start free

What your AI can do with it

  • Look up day-ahead electricity prices for the DE-LU region (Germany and Luxembourg)
  • Get prices at 15-minute resolution across the day
  • Retrieve paywalled price data by paying per request with x402 on the Base network
  • Compare prices across the day to spot cheaper and more expensive hours

Install SMARD Energy Prices (x402)

The server’s own address, for the clients that take one directly. Or connect Ahel once and every client you use reads it from one address, with the account kept on Ahel rather than in each client’s config.

  • Claude Code

    claude mcp add --transport http --scope user smard-energy-prices-x402 'https://smard-energy-prices-x402.favo.workers.dev/mcp'

    Run it once in your project, then open /mcp to approve any sign-in the server asks for.

  • Claude Desktop

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

    Add a custom connector in Settings, paste this address, and approve the sign-in.

  • Cursor

    cursor://anysphere.cursor-deeplink/mcp/install?name=smard-energy-prices-x402&config=eyJ1cmwiOiJodHRwczovL3NtYXJkLWVuZXJneS1wcmljZXMteDQwMi5mYXZvLndvcmtlcnMuZGV2L21jcCJ9

    Open the link and Cursor adds the server at that address.

  • ChatGPT

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

    In Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.

  • Codex

    codex mcp add smard-energy-prices-x402 --url 'https://smard-energy-prices-x402.favo.workers.dev/mcp'

    Run it once, then sign in with codex mcp login smard-energy-prices-x402 if the server asks for an account.

From the project's README

As published by moldy93/smard-x402-mcp in README.md.

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.

Tools it offers (1)

What this server listed when Ahel dialed its public endpoint in Sep 2026, with no key and no account of yours. The names are the server’s own.

  • smard_prices

Signals

Last commit
Feb 2026
Advanced
Delivery
smard-x402 MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
Item type
mcp-server
Key
io-github-moldy93-smard-x402
Source
github.com/moldy93/smard-x402-mcp
Hosted endpoint
https://smard-energy-prices-x402.favo.workers.dev/mcp