pvpc-mcp-server
Verified Safeby rfdez
Overview
Fetch daily electricity tariffs (PVPC) from Red Eléctrica for consumers billed under the 2.0 TD tariff.
Installation
npx -y @rfdez/pvpc-mcp-server@latest --api-key your_esios_api_keyEnvironment Variables
- PORT
Security Notes
The server uses `helmet` for HTTP security headers and `cors` for cross-origin resource sharing. API keys are handled via CLI arguments for stdio transport or request headers (e.g., 'X-API-Key', 'Authorization: Bearer') for HTTP transport, preventing hardcoding in source. External network requests are made to a specific, well-known API (`api.esios.ree.es`). No 'eval' or other obvious malicious patterns were found. Error handling for API calls is implemented. The HTTP server correctly restricts HTTP methods for the `/mcp` endpoint.
Similar Servers
alpha_vantage_mcp
Enables LLMs and agentic workflows to seamlessly interact with real-time and historical stock market data through the Model Context Protocol (MCP).
mcp_weather_server
Provides current and historical weather, air quality, and timezone information via an MCP server, integrating with the Open-Meteo API.
mcp-mercado-livre
Provides an MCP server tool to scrape product information, such as prices and availability, directly from Mercado Livre, with strong data validation.
mcp-status-invest
Fetch stock market data including prices, indicators, and payment dates from the Status Invest API for Model Context Protocol (MCP) tools.