
Clarigrid
energy.clarigridPublished by clarigrid.energyOfficial publisherv0.2.0Updated Oct 24, 2026
Read-only electricity, gas, and weather data with structured provenance and units.
Overview
Remote MCP endpoint giving assistants read-only electricity, gas and weather data for European and U.S. markets, with provenance and units.
- What you can do
- Retrieve electricity prices, load, generation and forecasts by zone
- Read cross-border flows, installed capacity, frequency, renewable share and CO2 intensity
- Read gas flows, capacity, demand, storage and LNG inventory
- Fetch weather observations and forecasts for coordinates or zones
- Data is returned with consistent units, timezone-aware timestamps and structured provenance
- When to use it
- Useful when an assistant needs to answer questions about European or U.S. power and gas markets, grid operations, carbon intensity or weather-driven energy analysis without building its own data integrations.
- Requirements
- A remote MCP endpoint reached over streamable HTTP; OAuth authentication is required. No environment variables or headers are declared in the manifest. The README describes a Python SDK whose key-protected sources use provider keys or a ClarigGrid account key, but the hosted endpoint's own credential needs are not documented here.
Installation
In SourceWeft
- Open Clarigrid in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/energy.clarigrid%2Fclarigrid/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"clarigrid": {
"type": "http",
"url": "https://mcp.clarigrid.energy/mcp"
}
}
}README
Clarigrid
Unified Python SDK for European and U.S. energy market data.
What it is
Clarigrid provides a single, stable Python interface to access and normalise European and U.S. energy market data from multiple sources. All data comes back as timezone-aware pandas DataFrames with consistent column names and units.
Built-in free providers (no API key required) include Energy-Charts (Europe), Energinet (DK1/DK2), SMARD (DE), Elia (BE), NESO (GB), Elexon/BMRS (GB), ENTSOG (EU gas), and Gas Networks Ireland. Fingrid (FI), GIE AGSI/ALSI (European gas), and TenneT (NL) are also built in and use free API keys. For the United States, CAISO OASIS and NYISO provide no-auth market and system data. EIA-930 provides nationwide hourly balancing-authority load, forecasts, fuel generation, and physical interchange with a free EIA key. Global historical meteorology and solar data are available from NASA POWER without an API key; official U.S. hourly forecasts are available from NOAA/NWS. ENTSO-E and other key-protected sources can be configured as described in API key setup below.
Install
For the interactive setup wizard and CLI tools:
Quick start
API key setup
Some providers (ENTSO-E, TenneT) require a personal API key issued by the upstream data source. Clarigrid supports two ways to supply these keys.
Option 1 — ClarigGrid account (recommended)
Store all your provider keys in one place at clarigrid.energy/saved. The SDK then fetches them automatically using a single ClarigGrid API key.
First-time setup (interactive):
Or use the CLI:
Headless / CI environments: set one environment variable and no browser is ever needed:
The SDK uses CLARIGRID_API_KEY to fetch all your stored provider keys
from clarigrid.energy on the first connect() call of each session.
How to get a CLARIGRID_API_KEY:
- Log in at clarigrid.energy
- Add your provider API keys at clarigrid.energy/saved
- Run
cg.connect("entsoe")once in an interactive terminal — the browser flow logs you in and stores yourCLARIGRID_API_KEYlocally.
Option 2 — Manual key entry (no account needed)
If you prefer not to use a clarigrid.energy account, set provider keys
directly. Keys are stored in ~/.config/clarigrid/.env (permissions: 600).
Environment variable (recommended for CI):
Config file — add to ~/.config/clarigrid/.env:
Zone routing
Each call to cg.connect() registers a provider and its capability-specific
zone coverage in
an internal router. When you call get_prices("DE"), the router picks the
best connected provider for that zone and dataset automatically.
Multiple connect() calls accumulate coverage. If two providers both cover
the same zone/dataset pair, the later connect() call wins.
If no connected provider covers the requested zone/dataset, a helpful error is raised:
To bypass routing and force a specific provider:
Output format
All functions return a pandas.DataFrame with:
Price currency is stored in df.attrs["currency"] (for example "EUR",
"GBP", or "USD"):
European zone codes follow the ENTSO-E bidding zone convention (BE, DE_LU,
FR ...). U.S. electricity uses EIA/NERC balancing-authority codes (CISO,
ERCO, PJM, NYIS) and explicit market hubs (CISO_NP15). Common aliases
(DE → DE_LU, CAISO → CISO, ERCOT → ERCO) resolve automatically.
Timezone
Data is always fetched and cached as UTC. Timezone conversion is applied at the output boundary only.
Caching
Responses are cached locally at ~/.clarigrid/cache/ as Parquet files
(requires pip install clarigrid[cache]), keyed by provider + dataset +
zone + date range. Historical data is cached indefinitely; live data
expires after 1 hour by default.
Disable caching per call:
CLI reference
Requires pip install clarigrid[auth].
API reference
All data functions accept:
source="name"— override the router for this call onlyuse_cache=False— bypass the local cache
Built-in providers
MET Norway uses the official
Locationforecast 2.0
compact forecast. Pass a global point as lat,lon and optionally an integer
altitude in metres. Coordinates are rounded to the upstream four-decimal
limit, results are normalized to UTC, and the SDK supplies the identifying
User-Agent required by MET Norway. The endpoint serves current forecasts only;
historical model data is not fetched by this provider. Reuse requires
MET Norway attribution.
EirGrid uses the official Smart Grid Dashboard
JSON feed for 15-minute Republic of Ireland and Northern Ireland system demand.
The feed is keyless, timestamps are normalized from the dashboard's UTC values,
and reuse requires the attribution Supported by EirGrid Group Data under the
EirGrid Group Open Data Licence.
SFOE uses the Swiss Federal Office of Energy's versioned
Energy Dashboard public API
for the SDSC national electricity-consumption forecast. Source values are daily
GWh and are exposed as DST-aware daily-average MW in load_forecast_min_mw,
load_forecast_mw, and load_forecast_max_mw. Reuse is commercial and
non-commercial with mandatory source attribution under the
opendata.swiss terms.
Keys for entsoe and tennet are issued by the respective upstream provider.
Store them via a clarigrid.energy account or
set them manually as described in API key setup.
Architecture
Plugin system
External providers subclass DataProvider, declare their zones() and
capabilities(), and self-register on import. Providers whose capabilities
have different geographical coverage can additionally override
capability_zones():
After cg.connect("nordpool"), calls to cg.get_prices("NO1", …) route
to this provider automatically.
Development
License
Apache 2.0 — see LICENSE.
Copyright (c) 2026 Alexander Hoogsteyn.
Source: README.md at commit 8b35102
Tools
0Version history
1- v0.2.0LatestSep 16, 2026
Score
75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.