Retrieve daily PVPC electricity tariffs for 2.0 TD consumers, published by Red Eléctrica.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Inspect callable tools, capabilities, and parameters exposed to AI agents by Rfdez Pvpc Mcp Server.
fetch_pricesFetches the Voluntary Price for the Small Consumer (PVPC) prices for a given date range and geographical area.
localeGet translations for sources. Accepted values: `es`, `en`. Defaults to `es`.
startDateBeginning of the date range to filter indicator values in iso8601 format. E.g. 2025-06-29T00:00:00.000+02:00. Defaults to the start of today.
endDateEnd of the date range to filter indicator values in iso8601 format. E.g. 2025-06-29T23:59:59.999+02:00. Defaults to the end of today.
timeAggregationHow to aggregate indicator values when grouping them by time. Accepted values: `sum`, `average`. Defaults to `sum`.
timeTruncationTells how to truncate data time series. Accepted values: `hour`, `day`, `month`, `year`. Optional parameter.
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.
fetch_prices: Fetches the Voluntary Price for the Small Consumer (PVPC) prices for a given date range and geographical area.
locale: Get translations for sources. Accepted values: es, en. Defaults to es.startDate: Beginning of the date range to filter indicator values in iso8601 format. E.g. 2025-06-29T00:00:00.000+02:00. Defaults to the start of today.endDate: End of the date range to filter indicator values in iso8601 format. E.g. 2025-06-29T23:59:59.999+02:00. Defaults to the end of today.timeAggregation: How to aggregate indicator values when grouping them by time. Accepted values: sum, average. Defaults to sum.timeTruncation: Tells how to truncate data time series. Accepted values: hour, day, month, year. Optional parameter.geographicalAggregation: How to aggregate indicator values when grouping them by geographical ID. Accepted values: sum, average. Defaults to sum.geographicalIds: Tells the geographical IDs to filter indicator values. Accepted values: 3 (España), 8741 (Península), 8742 (Canarias), 8743 (Baleares), 8744 (Ceuta), 8745 (Melilla). Defaults to 8741, 8742, 8743, 8744, 8745.geographicalTruncation: Tells how to group data at geographical level when the geographical aggregation is informed. Accepted values: country, electric_system. Optional parameter.You need to register an API key from Esios Red Eléctrica de España to access the Esios Red Eléctrica de España API.
You will find the API documentation at API e·sios Documentation.
Open Claude Desktop and navigate to Settings > Connectors > Add Custom Connector. Enter the name as PVPC and the remote MCP server URL like https://mcp.example.com/mcp.
Add this to your Claude Desktop claude_desktop_config.json file. See Claude Desktop MCP docs for more info.
Clone this repository and install the dependencies:
Build the project:
Run the server:
pvpc-mcp-server accepts the following CLI flags:
--transport <stdio|http>: Transport to use (stdio by default).--port <number>: Port to listen on when using http transport (default 8080).--api-key <key>: Your e·sios API key for authentication.Example with http transport and port 8080:
Example with stdio transport:
This project is licensed under the MIT License - see the LICENSE file for details.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/rfdez-pvpc-mcp-server)<a href="https://allmcps.com/mcp/rfdez-pvpc-mcp-server"><img src="https://allmcps.com/api/badge/rfdez-pvpc-mcp-server?style=directory" alt="Rfdez Pvpc Mcp Server on AllMCPs" /></a>