rfdez avatar

Pvpc Mcp Server

rfdez/pvpc-mcp-server

Connects to the Red Eléctrica e·sios API to fetch hourly electricity prices under Spain's PVPC tariff system for 2.0 TD consumers. Exposes a single fetch_prices tool that lets you query price data by date range, geographical area (Peninsula, Canarias, Baleares, Ceuta, Melilla), and aggregation method. Useful if you're building energy cost calculators, home automation that responds to price signals, or analytics around Spanish electricity rates. Requires an API key from Red Eléctrica. Supports both stdio and HTTP transports, with options for locale switching between Spanish and English.

tool
1
transport
STDIO, HTTP
last updated
Sep 10, 2025

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

fetch_pricesFetches the Voluntary Price for the Small Consumer (PVPC) prices for a given date range and geographical area.

Fetches the Voluntary Price for the Small Consumer (PVPC) prices for a given date range and geographical area.

No parameter schema in public metadata yet.

Sponsors

Readme

Voluntary Price for the Small Consumer (PVPC) MCP Server

License: MIT NPM Version

Fetch the Voluntary Price for the Small Consumer (PVPC) published daily by Red Eléctrica at 8:15 p.m. This includes the hourly electricity tariffs that will apply the following day for consumers billed under the 2.0 TD tariff.

🧩 Components

Tools


View the full README on GitHub

Details

Repository
github.com/rfdez/pvpc-mcp-server
Package
@rfdez/pvpc-mcp-server
Transport
STDIO, HTTP
Registry
MCP registry, active

More from rfdez