Pvpc MCP server
io.github.rfdez/pvpc-mcp-server·v3.2.3Retrieve daily PVPC electricity tariffs for 2.0 TD consumers, published by Red Eléctrica.
0 stars41 downloads/wk
Reviews
Write oneNobody has reviewed Pvpc yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Pvpc tools (1)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
fetch_pricesFetches the Voluntary Price for the Small Consumer (PVPC) prices for a given date range and geographical area.
Public scan report
scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it
- Code scan7 source files scanned; 7 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 50 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Pvpc compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 48,255 servers
- Tools
- 1
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 41
- more than 33% of 12,191 servers with a package
What its tools let an agent do: 1 read
Install Pvpc in Claude Code, Cursor or VS Code
Runs npx -y @rfdez/pvpc-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add pvpc-mcp-server -- npx -y @rfdez/pvpc-mcp-server
What the publisher says
From the Pvpc repository's README, as published. We do not edit it. Read it on GitHub
Voluntary Price for the Small Consumer (PVPC) MCP Server
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
- fetch_prices: Fetches the Voluntary Price for the Small Consumer (PVPC) prices for a given date range and geographical area.
- Inputs:
- 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.
- Returns: Text content with the PVPC prices in JSON format.
🔧 Configuration
Requirements
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.
Claude Desktop
Remote Server Connection
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.
Local Server Connection
Add this to your Claude Desktop claudedesktopconfig.json file. See Claude Desktop MCP docs for more info.
{
"mcpServers": {
"pvpc": {
"command": "npx",
"args": ["-y", "@rfdez/pvpc-mcp-server@latest", "--api-key", "your_esios_api_key"]
}
}
}💻 Development
Clone this repository and install the dependencies:
npm installBuild the project:
npm run buildRun the server:
node dist/index.jsCLI Arguments
pvpc-mcp-server accepts the following CLI flags:
- --transport : Transport to use (stdio by default).
- --port : Port to listen on when using http transport (default 8080).
- --api-key : Your e·sios API key for authentication.
Example with http transport and port 8080:
node dist/index.js --transport http --port 8080Example with stdio transport:
node dist/index.js --transport stdio --api-key YOUR_ESIOS_API_KEYLocal Configuration Example
{
"mcpServers": {
"pvpc": {
"command": "npx",
"args": ["-y", "tsx", "/path/to/folder/pvpc-mcp-server/src/index.ts", "--api-key", "YOUR_ESIOS_API_KEY"]
}
}
}Testing with MCP Inspector
npx -y @modelcontextprotocol/inspector npx -y @rfdez/pvpc-mcp-serverLicense
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Pvpc: common questions
- Is Pvpc MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Pvpc safety report
- How do I install Pvpc?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Pvpc need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Pvpc maintained?
- The last commit was 84 days ago (2026-08-12). The latest release is v3.2.3.
- How does Pvpc compare with other MCP servers?
- safety score 88/100 (higher than 75% of 48,255 servers); tools 1 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.