CAISO SP15 OASIS MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SP15_DB | No | Optional environment variable to override the database path. Defaults to data/sp15.sqlite under the repository root. | |
| SP15_ROOT | Yes | Absolute path to the repository clone. The server uses it to locate the local SQLite database (data/sp15.sqlite). Set this in the MCP server's env, e.g. "SP15_ROOT": "/ABS/PATH/TO/repo". |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
本地 CAISO OASIS 数据库,只含公开披露。SP15 日前电价是节点 TH_SP15_GEN-APND,单位美元/MWh,另外有 SCE、SDG&E、VEA 三个南部负荷聚合点。南部辅助服务区在 OASIS 里叫 AS_SP26,不是 SP15。每条数据都有 opr_dt(标的运行日)和 issued_on(预测日期)。标的日 10 月 10 日:DAM 是 10 月 9 日预测的,2DA 是 10 月 8 日,7DA 是 10 月 3 日;实测的预测日期等于标的日。另外有小时负荷预测和实际负荷、风光预测和实际出力、燃料价格、碳配额、AS_SP26 日前结果、南部系统发用电计划。其余报表在 disclosure 表,用 query_report 按 report 名查询。5 分钟和 15 分钟电价只保留 SP15 四个节点。边界数据是南部联络线的日前 ATC 和断面使用,以及日前联络线约束、支路/诺模图影子价格。影子价格为空表示该小时没有披露这条约束为绑定,不是 0。运行日是 America/Los_Angeles。日期参数都包含当天。在线 OASIS 大约只保留 39 个月。先看 dataset_coverage,再查 training_panel 或单张表。
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_catalogA | 列出数据范围:节点、南部联络线、报表、单位,以及库里已经有多少天。 先调用这个工具,再决定查询哪张表。 |
| dataset_coverageB | 每张表的行数、最早和最晚运行日,以及同步块是否完成。 |
| query_dam_pricesB | 查询日前电价,单位美元/MWh。 start、end:运行日 YYYY-MM-DD,含首尾,时区 America/Los_Angeles。 node:TH_SP15_GEN-APND、DLAP_SCE-APND、DLAP_SDGE-APND、DLAP_VEA-APND,可逗号分隔,或 ALL。 component:ALL 时每个节点每小时一行,LMP、MCC、MCE、MCL、MGHG 分成列。也可以指定其中一个分量。 |
| query_ancillaryB | 查询 AS_SP26(SP15 所在的南部辅助服务区)的日前价格或需求。 kind:price(美元/MW)、requirement(MW)或 result(日前采购量,MW;uom 为 2 时 value 是美元成本)。 anc_type:可空。常见值 RU、RD、SR、NR、RMU、RMD。 |
| query_tie_atcB | 查询南部联络线日前可用输电容量,单位 MW。 ti_id 为空则返回目录里的全部南部联络线,也可以逗号分隔。 direction:I 进口到 CAISO,E 出口,ALL 两个方向。 |
| query_tie_usageC | 查询南部联络线日前断面:TTC、OTC、ATC、约束、计划潮流、TRM,单位 MW。 OASIS 把 OTC_MW 标成 Hourly TTC,把 TTC_MW 标成 Seasonal TTC。 useage_mw 沿用 OASIS 的拼写,含义是未安排的输电权容量。 ene_import_mw 是该方向的计划净交换。 |
| query_shadow_pricesA | 查询日前影子价格,单位美元/MWh。只包含被披露为绑定的小时。 kind:nomogram 是支路和诺模图,intertie 是联络线约束。 region:related(默认,sp15 加 path15)、sp15、path15、all。 Path 26(Midway–Vincent)标成 sp15。Path 15(Gates–Midway 一带)标成 path15。 region_tag 是地名启发式,原始约束名在 nomogram_id 里。 |
| training_panelA | 事后同小时关联表,不是防泄漏预测训练集。预测训练请使用 research_training。 含 SP15 枢纽电价、南部聚合点、AS_SP26、Path 26/15 影子价格、主要联络线 ATC 和计划潮流。 同目标日的出清量、电价分量及影子价格不得用于预测该日 DAM 价格。 ties:MAJOR(默认 8 条主干联络线)、ALL,或逗号分隔的 ti_id。 影子价格列为空表示该小时没有披露绑定,训练时不要未经说明就填成 0。 一次最多 5000 小时,用 offset 翻页。要整段导出用命令行 export。 |
| query_loadC | 查询小时负荷,单位 MW。 market:DAM 是日前预测,2DA、7DA 是更早的预测,ACTUAL 是实际负荷,PEAK 是各区日峰预测。 tac_area:可空表示全部。常用 CA ISO-TAC、SCE-TAC、SDGE-TAC、VEA-TAC。 |
| query_renewablesB | 查询风电和光伏,单位 MW。 market:DAM 是日前预测,ACTUAL 是实际出力,SUMMARY 是全网风光合计。 trading_hub:SP15、NP15、ZP26 或 ALL。SUMMARY 不按枢纽拆。 renewable_type:Wind、Solar,或空表示两种都要。 |
| query_reportC | 查询 disclosure 表里的其余报表。 report 是数据集名,例如 lmp_rtm_5min、load_rtpd、renewable_hasp、public_bids_dam。 start 和 end 是标的运行日。forecast_date 是预测日期,可空。 标的日 2026-10-10 的日前数据,预测日期是 2026-10-09;提前两天是 2026-10-08。 实测的预测日期等于标的运行日。 |
| query_fuelC | 查询燃料区燃气价格,单位美元/mmBtu。fuel_region_id 可空,表示全部区域。 |
| query_ghgC | 查询加州碳配额价格指数,一天一条,单位美元/吨。 |
| query_system_scheduleB | 查询日前系统发用电计划,单位 MW。 tac_zone:TAC_SOUTH 是南部,Caiso_Totals 是全网,也可以传 ALL。 schedule:Load、Generation、Import、Export,或空表示全部。 |
| query_sqlA | 对本地库执行一条只读 SELECT。表名见 dataset_coverage 的 queryable_tables。 只能有一条语句。写入会被拒绝。默认最多返回 200 行,上限 1000。 |
| research_catalogC | List source classifications and physically separated frozen research partitions. |
| research_trainingB | Read training labels ONLY before July 2026. Inclusive California operating dates. Cannot return holdout truth. |
| research_prediction_inputsB | Read a past-only 168-hour input window for a backtest day at D-1 09:55 PT. Cannot refit on these observations. |
| research_predictionsA | Read model forecasts from the predictions-only database, never training data or actual prices. |
| research_metricsA | Read aggregate historical backtest metrics. No live trading performance. |
| list_weather_datasetsA | 气象预报目录:Open-Meteo 的变量、地点、覆盖、单位;不属于实测数据。 |
| query_weather_forecastB | 读取气象预报。start 含、end 不含,日期按加州零点;时间戳需带时区。 location 例如 los_angeles/san_diego/riverside/palm_springs/tehachapi/fresno/redding。 variable: temperature_2m, wind_speed_10m, shortwave_radiation, cloud_cover, precipitation。 run 可选,指定 UTC 起报批次;不传时查询实时采集快照。as_of 按真实采集时刻过滤。 历史起报时间不是发布时间;不自动将历史回补纳入当时已知特征。辐照/降水已对齐小时起点。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 22 tools
Most tools target distinct datasets, but there are real overlaps: query_tie_usage and query_tie_atc both expose tie ATC, query_report and query_sql are catch-alls that can duplicate specific query_* tools, and training_panel versus research_training plus multiple catalog tools require careful reading. The descriptions often warn about these boundaries, but the tool set still has some ambiguous edges.
Names are consistently snake_case with predictable prefixes such as query_, list_, and research_. A couple of tools are noun phrases (dataset_coverage, training_panel), and research_ is a category prefix rather than a verb, but overall the convention is readable and mostly uniform.
Twenty-two tools is on the heavy side for an MCP server, even for a broad CAISO market-data domain. Several tools are individually justified, but the set includes generic query_report/query_sql escape hatches and multiple catalog/research endpoints that could likely be consolidated.
The surface covers core day-ahead prices, ancillary services, ties, shadow prices, load, renewables, system schedules, fuel, GHG, weather, catalogs, SQL, and research workflows. Minor gaps remain: real-time prices and some report datasets are only reachable through query_report, and there is no dedicated bid-query tool.