Skip to main content

All US open solar data in one MCP server: PVWatts production, tariffs & ROI, market intelligence, forecasts

Project description

solar-data-mcp

All US open solar data in one MCP server: NREL PVWatts production modeling, tariffs & ROI economics, market intelligence, and generation forecasts — 18 tools, every result carrying data + units + source + assumptions + warnings. Part of solar-data-mcp, which also ships each domain as a standalone server.

Add it to your agent

{
  "mcpServers": {
    "solar-data": {
      "command": "uvx",
      "args": ["solar-data-mcp"],
      "env": {
        "NREL_API_KEY": "YOUR_KEY",
        "OPENEI_API_KEY": "YOUR_KEY",
        "EIA_API_KEY": "YOUR_KEY"
      }
    }
  }
}

Snippets for Claude Code, Codex, OpenCode, and Hermes live in the repo README.

Keys (all free; every one optional to start)

Env var Unlocks Get one
NREL_API_KEY estimate_production, get_solar_resource, compare_orientations, size_system_for_target, estimate_roi, compare_forecast_to_model https://developer.nlr.gov/signup/ (DEMO_KEY works for ~10 req/hr)
OPENEI_API_KEY lookup_tariffs https://openei.org/services/api/signup/
EIA_API_KEY get_electricity_prices https://www.eia.gov/opendata/register.php
AHJ_REGISTRY_TOKEN (optional) identify_ahj email support@sunspec.org

Market tools (USPVDB, Tracking the Sun, SolarTRACE) and forecasts need no key. The server starts with zero keys set — tools missing a key return setup instructions instead of failing silently. Check your setup any time:

$ uvx solar-data-mcp doctor

Skills

The server also ships eleven skills — procedural instructions that teach an agent how to chain the tools for common question shapes (site assessment, quote review, market briefs, …), including sync prerequisites and reporting rules. They are served as MCP resources: skill://solar/index is the routing table (match the question against it, load the referenced skill://solar/<name>), and the server instructions point agents there automatically. Catalog and design rationale: docs/skills.md.

Four of the skills produce reports with a fixed document shape, and each is also exposed as an MCP prompt your host surfaces natively — market_brief(state), site_assessment(location, usage), quote_review(quote_details), and proposal_builder(customer_details) — e.g. /mcp__solar-data__market_brief in Claude Code.

Forecast model note

forecast_generation uses the open Quartz model, whose package pins an old pydantic and cannot live in an ephemeral uvx environment. Forecast tools degrade to an actionable install message without it; for real forecasts use a persistent install (uv tool install solar-data-mcp) plus the steps in the solar-data-mcp-forecast README.

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-0.1.0.tar.gz (22.7 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-0.1.0-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file solar_data_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: solar_data_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 22.7 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

Hashes for solar_data_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bfeccca0c50eae7dc4d9f675b7c5e971a8c7822d6abbf342c08409e69b20bf0f
MD5 12f852b427b08ebf6b9aeb6231efcaf2
BLAKE2b-256 9c2aff78849a5f9fd337f8c33ec1416859e06045bf1ebbcfebafc0599f2d88e3

See more details on using hashes here.

File details

Details for the file solar_data_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: solar_data_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.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

Hashes for solar_data_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52283f5a186481e2d638341aade1e342850cd237847c1d8fa87bdd116ff9a52d
MD5 a01c657afc25340127b1deb966fb9017
BLAKE2b-256 b8e60a83e103c62b6cdfb2b0da58a0bb5a1404f52f789106c8e9e83b381d1e76

See more details on using hashes here.

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