Skip to main content
Glama
hoodsy

solar-mcp

by hoodsy

☀️ solar-mcp

US solar data, agent-accessible.

CI Python 3.11+ License: MIT MCP

Open-source MCP servers that bring US open solar data to ChatGPT, Claude, and anything else that speaks MCP.

What you can ask

Compare annual production for an 8 kW system in Mesa, AZ at 10° vs 25° tilt.

With the nrel-solar server connected, your agent calls compare_orientations and answers with production figures for both tilts. Every tool returns the same envelope — data + units + source + assumptions + warnings — so the agent always knows what a number means, where it came from, and which defaults were injected on its behalf.

Server

Ask it

Data

solar-mcp-nrel

"What would an 8 kW system in Mesa produce?"

PVWatts v8 modeling, NSRDB irradiance

solar-mcp-economics

"What's my payback period after incentives?"

URDB tariffs, EIA prices, federal ITC + DSIRE

solar-mcp-market

"How long does permitting take in Phoenix?"

SolarTRACE, Tracking the Sun, USPVDB, AHJ lookup

solar-mcp-forecast

"What will my array generate tomorrow?"

Quartz open-source forecasts (OCF)

Related MCP server: Solar MCP

Quickstart

  1. Get a free NREL API keyhttps://developer.nlr.gov/signup/ (or use DEMO_KEY to try it out — 10 requests/hour).

  2. Add the server to your MCP client — for Claude Desktop, merge this into claude_desktop_config.json (full example in examples/):

    {
      "mcpServers": {
        "nrel-solar": {
          "command": "uvx",
          "args": ["--from", "solar-mcp-nrel", "nrel-solar-mcp"],
          "env": { "NREL_API_KEY": "YOUR_KEY_HERE" }
        }
      }
    }
  3. Restart your client and ask — try the Mesa tilt comparison above.

Each server is one console script: nrel-solar-mcp, solar-economics-mcp, solar-market-mcp, solar-forecast-mcp. Keys: NREL for production/irradiance, OpenEI + EIA for economics (all free); USPVDB and the forecast model need none. Verify keys and connectivity anytime:

$ uvx --from solar-mcp-core solar-mcp doctor

Development

$ git clone https://github.com/hoodsy/solar-mcp && cd solar-mcp
$ uv sync                # install the workspace
$ uv run pytest          # fixture replay only, no network

Layout: packages/core (shared HTTP client, cache, envelope) plus one package per server. Full spec: docs/SPEC.md. Smallest possible client: examples/example_client.py.

License

MIT. Per-source data licensing/attribution is exposed as MCP resources (source://<name>/license).

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hoodsy/solar-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server