streamable-httpupdated 7mo ago
Paywalled SMARD day‑ahead electricity prices (DE‑LU, 15‑minute resolution) via x402 on Base mainnet. Hosted MCP (streamable‑http) + HTTP endpoint.
What can you do with SMARD Energy Prices (x402)?
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.
Install
Add SMARD Energy Prices (x402) to your client. Pick the one you use.
claude mcp add --transport http smard-energy-prices-x402 https://smard-energy-prices-x402.favo.workers.dev/mcpcodex mcp add smard-energy-prices-x402 --url https://smard-energy-prices-x402.favo.workers.dev/mcp{
"mcpServers": {
"smard-energy-prices-x402": {
"url": "https://smard-energy-prices-x402.favo.workers.dev/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"smard-energy-prices-x402": {
"type": "http",
"url": "https://smard-energy-prices-x402.favo.workers.dev/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"smard-energy-prices-x402": {
"url": "https://smard-energy-prices-x402.favo.workers.dev/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"smard-energy-prices-x402": {
"serverUrl": "https://smard-energy-prices-x402.favo.workers.dev/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
Score
39 / 100
Incomplete
- Documentation18/25
- Maintenance9/25
- Trust6/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 209 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Version history
| Versions | Published |
|---|---|
| 0.0.1Latest | Feb 3, 2026 |