Back to Home
SaberMaple1 icon

renfe_mcp_server

Verified Safe

by SaberMaple1

Overview

Access real-time Spanish Renfe train schedules and live prices using web scraping and GTFS data.

Installation

Run Command
renfe-mcp

Environment Variables

  • RENFE_ENABLE_AUTH
  • RENFE_API_KEY
  • RENFE_API_KEY_HASH
  • RENFE_RATE_LIMIT_ENABLED
  • RENFE_MAX_REQUESTS_PER_MINUTE
  • RENFE_MAX_REQUESTS_PER_HOUR
  • RENFE_MAX_PRICE_REQUESTS_PER_MINUTE
  • RENFE_MAX_PRICE_REQUESTS_PER_HOUR
  • RENFE_LOG_SECURITY_EVENTS
  • RENFE_LOG_SENSITIVE_DATA
  • RENFE_LOG_LEVEL
  • RENFE_SESSION_TIMEOUT
  • RENFE_DEV_MODE
  • RENFE_GTFS_DATA_DIR

Security Notes

The server implements strong security measures including URL whitelisting, HTTPS enforcement, response size limits, and robust Zip Slip prevention for GTFS data updates. API keys are managed securely via environment variables or hashes. Rate limiting is also in place to prevent abuse. No 'eval' or obvious malicious patterns found. The use of json5.loads for DWR responses relies on the integrity of the Renfe API output, which is generally considered safe for this specific integration.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens750
Stars0
Forks0
Last Update2026-01-19

Tags

RenfeTrainSchedulePricesScraperDWRPythonAPIData