Rfdez Pvpc Mcp Server

ai.smithery由 smithery.ai 發布官方發布者v3.2.3更新於 Oct 24, 2026

Retrieve daily PVPC electricity tariffs for 2.0 TD consumers, published by Red Eléctrica.

發布方自己的服務:222wcnm Bilistalkermcp

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

取得西班牙 Red Eléctrica 每日公布的 PVPC 受管制電價(適用 2.0 TD 用戶),可依日期、地區與彙總方式篩選。

可以做什麼
  • 依日期範圍與地理區域取得 PVPC 電價,以 JSON 文字回傳。
  • 以 ISO 8601 格式指定起訖日期,預設為當天。
  • 依小時、日、月或年彙總與截斷資料,可選加總或平均。
  • 依地理 ID(西班牙全國、半島、加那利群島、巴利阿里群島、休達、梅利利亞)分組,並可選擇依國家或電力系統分組。
  • 可選擇西班牙文或英文的資料來源標籤。
適用情境
適合讓助理查詢西班牙 PVPC 機制下的隔日分時電價、比較不同日期或地區的價格,或回答 2.0 TD 用戶的家庭用電成本問題。
執行需求
遠端 MCP 端點,需在 Authorization 標頭提供 Smithery 驗證用的 bearer 權杖。資料來源本身需要 Red Eléctrica 的 e·sios API 金鑰,在本機執行時透過命令列參數傳入(例如使用 npx)。需要能連線至 Red Eléctrica API 的網路。
安裝前請注意
需要 e·sios API 金鑰,該金鑰透過命令列傳入,可能出現在設定檔中。Authorization 標頭中的 bearer 權杖屬於機密。此服務僅做唯讀查詢,不會寫入或變更資料。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Rfdez Pvpc Mcp Server,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.smithery%2Frfdez-pvpc-mcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "rfdez-pvpc": {
      "type": "http",
      "url": "https://server.smithery.ai/@rfdez/pvpc-mcp-server/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

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

  • 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 claude_desktop_config.json file. See Claude Desktop MCP docs for more info.

json
{  "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:

bash
npm install

Build the project:

bash
npm run build

Run the server:

bash
node dist/index.js

CLI Arguments

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:

bash
node dist/index.js --transport http --port 8080

Example with stdio transport:

bash
node dist/index.js --transport stdio --api-key YOUR_ESIOS_API_KEY

Local Configuration Example

json
{  "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

bash
npx -y @modelcontextprotocol/inspector npx -y @rfdez/pvpc-mcp-server

License

This project is licensed under the MIT License - see the LICENSE file for details.

來源:README.md,提交 c145663

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v3.2.3最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Smithery 整合