A Model Context Protocol (MCP) server providing access to Greek electricity market data from ADMIE (Independent Power Transmission Operator).
- Real-time Data Access: Get electricity load, forecasts, and market data
- Intelligent Analysis: Built-in data parsing, statistics, and anomaly detection
- Forecast Accuracy: Compare predictions with actual consumption
- Market Intelligence: Generate comprehensive market summaries
- Claude Integration: Natural language queries for energy data
- Node.js 18.0.0 or higher
- Claude Desktop application
- Internet connection for ADMIE API access
-
Install dependencies:
cd "F:\MCP servers\admie-energy-data" npm install
-
Test the server:
npm test -
Configure Claude Desktop: Add to your
~/.claude_desktop_config.json:{ "mcpServers": { "admie-energy-data": { "command": "node", "args": ["F:\\MCP servers\\admie-energy-data\\index.js"], "env": { "NODE_ENV": "production" } } } } -
Restart Claude Desktop to load the MCP server
Get all available ADMIE file categories and descriptions.
Parameters:
language(optional): 'all', 'gr', or 'en' for description language
Retrieve files for specific date range and category.
Parameters:
dateStart: Start date (YYYY-MM-DD)dateEnd: End date (YYYY-MM-DD)fileCategory: File type (e.g., 'RealTimeSCADASystemLoad')useRange(optional): Use range search instead of exact match
Download and parse ADMIE data files.
Parameters:
fileURL: Complete URL to the fileparseContent(optional): Parse file content (default: true)maxRows(optional): Maximum rows to return (default: 1000)
Analyze load forecast data and generate insights.
Parameters:
dateStart: Analysis start datedateEnd: Analysis end dateforecastType: 'WeekAhead', 'DayAhead', or 'RealTime'
Generate comprehensive market summary report.
Parameters:
dateStart: Summary start datedateEnd: Summary end dateincludeForecasts(optional): Include forecast dataincludeRealTime(optional): Include real-time datadetailed(optional): Include detailed analysis
Compare forecast accuracy with actual data.
Parameters:
forecastDate: Date of forecastactualDate: Date of actual dataforecastType: 'WeekAhead' or 'DayAhead'
-
Get available data types:
"What types of energy data are available from ADMIE?"
-
Analyze yesterday's consumption:
"Using ADMIE data, analyze yesterday's electricity load patterns in Greece. Look for any unusual spikes or patterns."
-
Check forecast accuracy:
"Compare last week's day-ahead load forecasts with actual consumption data. How accurate were the predictions?"
-
Generate market report:
"Create a weekly energy market summary for Greece including load patterns, forecasts, and any notable events."
-
Real-time monitoring:
"Get the latest real-time electricity consumption data and check for any anomalies."
// Example: Get today's load data
{
"tool": "get_market_files",
"arguments": {
"dateStart": "2025-08-30",
"dateEnd": "2025-08-30",
"fileCategory": "RealTimeSCADASystemLoad"
}
}
// Example: Download and analyze a file
{
"tool": "download_file",
"arguments": {
"fileURL": "https://www.admie.gr/path/to/file.csv",
"parseContent": true,
"maxRows": 500
}
}- RealTimeSCADASystemLoad: Real-time electricity consumption
- ISPDayAheadLoadForecast: Day-ahead load predictions
- ISPWeekAheadLoadForecast: Week-ahead load predictions
- ISPRequirements: System requirements and constraints
The server automatically provides:
- Statistical Analysis: Min, max, average, median for numeric data
- Anomaly Detection: Identifies unusual patterns using statistical methods
- Trend Analysis: Determines if data is increasing, decreasing, or stable
- Forecast Accuracy: Calculates MAE, RMSE, MAPE, and correlation
- Data Insights: Automated insights and recommendations
The server includes robust error handling for:
- Network timeouts and connection issues
- Invalid date formats and ranges
- Missing or malformed data files
- Parsing errors for different file formats
- File Size Limits: Large files are automatically truncated
- Timeout Protection: 30-second timeout for downloads
- Memory Management: Efficient parsing for large datasets
- Caching: Results can be cached at the application level
npm run devnpm testThe server logs errors to stderr, which can be viewed in Claude Desktop's developer tools.
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
MIT License - see LICENSE file for details.
-
"Server not found"
- Check that Node.js is installed and in PATH
- Verify the file path in Claude Desktop config
- Restart Claude Desktop after configuration changes
-
"Network timeout"
- Check internet connection
- ADMIE servers may be temporarily unavailable
- Try different date ranges or file categories
-
"Parse error"
- Some ADMIE files may have non-standard formats
- Try with
parseContent: falseto get raw data - Check file category and date validity
- Check the Claude Desktop logs for detailed error messages
- Verify ADMIE API is accessible: https://www.admie.gr/getFiletypeInfo
- Test with recent dates (last 7-30 days)
Ready to analyze Greek energy data with AI? Start asking Claude about electricity consumption patterns! β‘