Skip to main content
Glama
jasonkholden

New England Power Grid MCP Server

by jasonkholden
fuel_mix.py890 B
from typing import List, Optional from pydantic import BaseModel, Field from datetime import datetime class FuelMixEntry(BaseModel): """Individual fuel mix entry.""" begin_date: datetime = Field(alias="BeginDate") gen_mw: float = Field(alias="GenMw") fuel_category_rollup: str = Field(alias="FuelCategoryRollup") fuel_category: str = Field(alias="FuelCategory") marginal_flag: str = Field(alias="MarginalFlag") class Config: populate_by_name = True class GenFuelMixData(BaseModel): """Container for the fuel mix array.""" gen_fuel_mix: List[FuelMixEntry] = Field(alias="GenFuelMix") class Config: populate_by_name = True class FuelMixResponse(BaseModel): """Complete fuel mix API response.""" gen_fuel_mixes: GenFuelMixData = Field(alias="GenFuelMixes") class Config: populate_by_name = True

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jasonkholden/ne_power_grid_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server