
New England Power Grid MCP Server
Provides AI models with real-time data about New England's power grid through a Model Context Protocol interface, enabling questions about current power generation, fuel mix, and marginal fuels.
README
Model Context Protocol for ISO New England Energy Grid Information
This project implements a Model Context Protocal (MCP) Server for information on New Englands power grid. Data is sourced from ISO New England, which oversees the day-to-day operation of the New England Power Grid. This MCP server is built atop the ISO Express web services API from ISO New England, documented at [https://webservices.iso-ne.com/docs/v1.1/]
What is an MCP Server and Why Do We Need One
An MCP server is a standardized interface to provide "tools" for artificial intelligence models, in particular, large language models (LLMs). A canonical example is a question to an LLM like "what is the weather in San Fransciso right now?". An LLM can't answer that on its own. It needs a "tool" to be able to go and get the weather right now to answer that question
What do you need to use this MCP Server
You need to create a free ISO Express account with ISO New England to get a username and password
What questions can this MCP server answer
Example Question: What is the marginal fuel right now in new england? Example Answer: The marginal fuel is Natural Gas and Wood Internal Implementation: accesses the /genfuelmix/current api endpoint Note: The marginal fuel is the type of power that will be used if you wanted to use power on the grid right now, how would the grid provide that additional power
What is the base api for iso-ne
The base api for the iso-new webservices api is [https://webservices.iso-ne.com/api/v1.1]
Installation and Setup
1. Install Dependencies
pip install -r requirements.txt
2. Configure Credentials
-
Copy the example environment file:
cp .env.example .env
-
Edit
.env
and add your ISO Express credentials:ISO_NE_USERNAME=your_actual_username ISO_NE_PASSWORD=your_actual_password
3. Test the Server
You can test the MCP tools directly:
python test_mcp_tools.py
Running the MCP Server
Option 1: Direct Execution
python run_mcp_server.py
Option 2: Using the main module
python main.py
The server will communicate via JSON-RPC over stdin/stdout and can be connected to MCP clients like Claude Desktop.
MCP Client Configuration
Claude Desktop Configuration
Add this to your Claude Desktop MCP configuration file:
{
"mcpServers": {
"iso-newengland": {
"command": "python",
"args": ["/path/to/your/iso_newengland_mcp_server/run_mcp_server.py"],
"env": {
"ISO_NE_USERNAME": "your_iso_ne_username",
"ISO_NE_PASSWORD": "your_iso_ne_password"
}
}
}
}
Replace /path/to/your/
with the actual path to your project directory.
Available Tools
get_marginal_fuel()
Returns the current marginal fuel types for the New England power grid. The marginal fuel is the type of power generation that would be used if additional power was needed on the grid right now.
Example Usage: "What is the marginal fuel right now in New England?"
get_full_fuel_mix()
Returns the complete current generation fuel mix for the New England power grid, including generation amounts in megawatts and which fuels are marginal.
Example Usage: "Show me the complete fuel mix for New England's power grid right now."
Project Structure
iso_newengland_mcp_server/
├── main.py # Main entry point
├── run_mcp_server.py # Convenience script with better error handling
├── test_mcp_tools.py # Test script for MCP tools
├── test_api_direct.py # Direct API testing script
├── requirements.txt # Python dependencies
├── .env.example # Example environment variables
├── mcp-config.json # Example MCP client configuration
└── src/
├── __init__.py
├── server.py # FastMCP server implementation
├── api/
│ ├── __init__.py
│ └── iso_ne_client.py # ISO New England API client
├── config/
│ ├── __init__.py
│ └── settings.py # Configuration management
└── models/
├── __init__.py
└── fuel_mix.py # Pydantic data models
API Details
This MCP server uses the ISO New England Web Services API v1.1. The base URL is:
https://webservices.iso-ne.com/api/v1.1
Endpoints Used
/genfuelmix/current
- Current generation fuel mix data
Full endpoint example to get a json result: [https://webservices.iso-ne.com/api/v1.1//genfuelmix/current.json]
Authentication
The API requires HTTP Basic Authentication over SSL using your ISO Express credentials.
Troubleshooting
Common Issues
-
Missing Credentials Error
- Make sure you've created a
.env
file with your ISO Express credentials - Verify your username and password are correct
- Make sure you've created a
-
API Authentication Errors
- Verify your ISO Express account is active
- Check that your credentials are correctly set in the
.env
file
-
Import Errors
- Make sure all dependencies are installed:
pip install -r requirements.txt
- Verify you're running from the project root directory
- Make sure all dependencies are installed:
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.