Skip to main content

MCP server for solar generation forecasts via the open Quartz Solar Forecast model (Open Climate Fix)

Project description

solar-data-mcp-forecast

MCP server wrapping the open Quartz Solar Forecast model (Open Climate Fix) — the forecast domain of solar-data-mcp. No API key needed.

Tool Answers
forecast_generation "What will my array generate tomorrow?" (hourly, ≤48 h)
compare_forecast_to_model "Is today unusually sunny?" (forecast vs PVWatts typical-year)

Run standalone: uvx --from solar-data-mcp-forecast solar-forecast-mcp — but see the model-install note below; most users want the combined solar-data-mcp server, which adds the other three domains plus the skill and report layer.

Installing the model

quartz-solar-forecast pins pydantic==2.6.2, which conflicts with the MCP SDK, so it is not a declared dependency. Install it alongside (it runs fine on newer pydantic; the pin is conservative). Python 3.11 is requiredpv-site-prediction does not support 3.12+:

$ uv venv --python 3.11 --seed .venv && source .venv/bin/activate
$ pip install solar-data-mcp-forecast
$ pip install --no-deps quartz-solar-forecast
$ pip install pv-site-prediction xarray xgboost openmeteo-requests requests-cache retry-requests huggingface_hub async_timeout

On macOS, xgboost also needs the OpenMP runtime: brew install libomp.

Without the model installed, the server still starts and its tools return an error containing these instructions.

Model note: Quartz is trained on sites ≤ 4 kWp; larger arrays are modeled at 4 kWp and linearly scaled (the library prints a notice when it does this).

Using forecasts with the combined solar-data-mcp server

An ephemeral uvx environment cannot hold the side-install above. Use a persistent venv and point your agent at its entry point:

$ uv venv --python 3.11 --seed ~/.venvs/solar-data-mcp
$ ~/.venvs/solar-data-mcp/bin/pip install solar-data-mcp
$ ~/.venvs/solar-data-mcp/bin/pip install --no-deps quartz-solar-forecast
$ ~/.venvs/solar-data-mcp/bin/pip install pv-site-prediction xarray xgboost openmeteo-requests requests-cache retry-requests huggingface_hub async_timeout

Then in the agent config, replace "command": "uvx", "args": ["solar-data-mcp"] with "command": "~/.venvs/solar-data-mcp/bin/solar-data-mcp".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solar_data_mcp_forecast-0.1.1.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solar_data_mcp_forecast-0.1.1-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file solar_data_mcp_forecast-0.1.1.tar.gz.

File metadata

  • Download URL: solar_data_mcp_forecast-0.1.1.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for solar_data_mcp_forecast-0.1.1.tar.gz
Algorithm Hash digest
SHA256 48cab722b8c02ceba4c6f5306a682c74017930e8ef94972ce955eac05b2e3dc7
MD5 b7074747f2f0cf14dc86b75d541b8e5d
BLAKE2b-256 9683c213437720349d9051c38bb523743b831352b518e78dd5fef999dbf23a0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for solar_data_mcp_forecast-0.1.1.tar.gz:

Publisher: release.yml on hoodsy/solar-data-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file solar_data_mcp_forecast-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for solar_data_mcp_forecast-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2453542d5813d866270cb129e1f757f6058739fefe9d74e82a51806537624856
MD5 d17f6f8e0c1218d44808b77947499b22
BLAKE2b-256 ac416a81817dba34b526684e0220f19c9f7dd16183b8e2c57e2d504312a9c83b

See more details on using hashes here.

Provenance

The following attestation bundles were made for solar_data_mcp_forecast-0.1.1-py3-none-any.whl:

Publisher: release.yml on hoodsy/solar-data-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page