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):
$ 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
Without the model installed, the server still starts and its tools return an error containing these instructions.
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:
$ python3 -m venv ~/.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
Then in the agent config, replace "command": "uvx", "args": ["solar-data-mcp"]
with "command": "~/.venvs/solar-data-mcp/bin/solar-data-mcp".
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file solar_data_mcp_forecast-0.1.0.tar.gz.
File metadata
- Download URL: solar_data_mcp_forecast-0.1.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb2f3884d3795e833cb899ea305f2f9aa5d98d7af446e34dce10b468bd5e1041
|
|
| MD5 |
897a7b940595b4edfca9b82ca66c6fc4
|
|
| BLAKE2b-256 |
6357f7d76a3f75ea1bc49cf55cdf23ff5386c5efa84e7f1a6b62349ba1d23214
|
File details
Details for the file solar_data_mcp_forecast-0.1.0-py3-none-any.whl.
File metadata
- Download URL: solar_data_mcp_forecast-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35a168470dcaf66993045466df9c103a40d4ee3ae6d0115f3ecb21a6889e175f
|
|
| MD5 |
f9befbd493ae70c4b8ceb280008bda77
|
|
| BLAKE2b-256 |
879ae757d5a665f25eb8afbd2915ff35636ac46827ec05e44d5bccbd566e83ca
|