SMARD Energy Prices (x402)
Paywalled SMARD day-ahead electricity prices (DE-LU, 15‑minute resolution) via x402 on Base mainnet.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http smard-energy-prices-x402 'https://smard-energy-prices-x402.favo.workers.dev/mcp'
{
"mcpServers": {
"smard-energy-prices-x402": {
"type": "http",
"url": "https://smard-energy-prices-x402.favo.workers.dev/mcp"
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
Contents
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.
Frequently asked questions
What is SMARD Energy Prices (x402)?
Paywalled SMARD day-ahead electricity prices (DE-LU, 15‑minute resolution) via x402 on Base mainnet.
How do I install SMARD Energy Prices (x402)?
It runs as a remote server. In Claude Code: claude mcp add --transport http smard-energy-prices-x402 'https://smard-energy-prices-x402.favo.workers.dev/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does SMARD Energy Prices (x402) need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is SMARD Energy Prices (x402) open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains SMARD Energy Prices (x402)?
It is published by moldy93. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.