Skip to main content
Glama
Solar Sathi MCP

Solar Sathi MCP

Solar Sathi MCP Module

A comprehensive Model Context Protocol (MCP) server for solar energy feasibility analysis and ROI calculation in India.

Features

  • Solar Irradiance Lookup: Fetch real solar radiation data from Open-Meteo API

  • System Capacity Calculation: Recommend kW based on consumption and roof area

  • Installation Cost Estimation: Get cost ranges with subsidy deduction

  • PM Surya Ghar Subsidy: Tiered subsidy lookup (₹10K–₹18K/kW)

  • ROI Analysis: Payback period, 25-year savings, and ROI percentage

  • Environmental Impact: CO2 reduction and trees-saved equivalents

  • Homeowner Report: LLM-generated or template-based feasibility reports

Related MCP server: Solar Sathi MCP Server

Tools

1. get_solar_irradiance

Fetch average daily solar irradiance (kWh/m²/day) for a geographic location.

Inputs:

  • latitude (number): -90 to 90

  • longitude (number): -180 to 180

Output: Daily irradiance, location, data source note


2. calculate_solar_capacity

Recommend solar system size based on monthly bill, tariff, and roof area.

Inputs:

  • monthly_bill (number): Monthly electricity bill (₹)

  • tariff_per_kwh (number): Electricity tariff (₹/kWh)

  • roof_area_sqft (number): Usable roof area (sqft)

  • monthly_units (number, optional): Monthly consumption (kWh). If not provided, derived from bill/tariff.

Output: Capacity (kW), required roof area, roof-limited flag, monthly consumption

Logic:

  • Capacity = monthly_consumption / 120 (assuming 120 units/kW/year)

  • Required area = capacity × 100 sqft/kW

  • If required area > available roof, cap capacity to roof_area / 100 and set roof_limited: true


3. estimate_installation_cost

Get installation cost estimate (all-inclusive: panels, inverter, BOP, labor, permits).

Inputs:

  • capacity_kw (number): System capacity (kW)

  • cost_per_kw (number, optional): Cost per kW (₹). Default: ₹62,500

Output: Total cost, cost range (min/max), capacity


4. calculate_subsidy

Look up PM Surya Ghar subsidy using tiered table.

Inputs:

  • capacity_kw (number): System capacity (kW)

Output: Subsidy per kW, total subsidy, tier description

Tiers:

Capacity (kW)

Subsidy (₹/kW)

Category

0–3

18,000

Residential ≤3 kW

3.01–10

15,000

Residential 3–10 kW

10.01–100

12,000

Small Commercial/Industrial

>100

10,000

Large Scale


5. calculate_roi

Calculate ROI metrics: payback period, annual/lifetime savings, and ROI percentage.

Inputs:

  • installation_cost (number): Total cost (₹)

  • subsidy (number): Subsidy amount (₹)

  • monthly_bill (number): Current monthly bill (₹)

Output:

  • Final cost after subsidy

  • Monthly/annual savings

  • Payback period (years)

  • 25-year lifetime savings

  • ROI percentage

Logic:

  • Final cost = installation_cost - subsidy

  • Monthly savings = monthly_bill (assumed fully offset)

  • Annual savings = monthly_savings × 12

  • Payback = final_cost / annual_savings

  • Lifetime (25yr) = annual_savings × 25

  • ROI% = ((lifetime - final_cost) / final_cost) × 100


6. calculate_environmental_impact

Calculate CO2 reduction and equivalent trees saved.

Inputs:

  • capacity_kw (number): System capacity (kW)

Output:

  • Annual energy generation (kWh)

  • CO2 reduction (kg and tonnes)

  • Trees saved (equivalent)

Logic:

  • Annual energy = capacity × 120 × 12 (120 units/kW/year)

  • CO2 reduction = annual_energy × 0.82 kg/kWh

  • Trees saved = CO2_reduction / 21 kg/tree/year


Resources

solar://subsidy-table

PM Surya Ghar subsidy lookup table (JSON).

solar://state-tariffs

State-wise residential electricity tariffs (JSON).

solar://installation-costs

Default cost per kW and regional multipliers (JSON).


Prompts

generate_homeowner_report

Generate a comprehensive homeowner-friendly solar feasibility report.

Inputs: All tool outputs (irradiance, capacity, cost, subsidy, ROI, environmental)

Output: Plain-English report covering:

  • Feasibility assessment

  • System recommendation (on-grid/off-grid/hybrid)

  • Financial summary with payback period

  • Environmental impact (relatable language)

  • Action items (next steps)

Behavior:

  • Attempts to use OpenAI or Gemini API if keys are configured

  • Falls back to template-based report if no LLM key available


Environment Variables

Available Tools

8 tools
calculate_environmental_impactA

Calculate environmental impact: annual energy generation, CO2 reduction, and trees saved.

Inputs: capacity_kw (required).

calculate_roiB

Calculate ROI metrics: final cost after subsidy, savings, payback period, lifetime savings, ROI %.

Inputs: subsidy (required), monthly_bill (required), installation_cost (required), system_size_kw, +1 more.

calculate_solar_capacityA

Calculate recommended solar system capacity based on monthly bill, tariff, and roof area.

Inputs: monthly_bill (required), roof_area_sqft (required), tariff_per_kwh (required), monthly_units.

calculate_subsidyA

Calculate PM Surya Ghar subsidy for a given system capacity using the tiered structure.

Inputs: capacity_kw (required).

estimate_installation_costB

Estimate total installation cost for a solar system.

Inputs: capacity_kw (required), cost_per_kw.

get_assessment_historyA

Retrieve all previously saved solar assessments for a homeowner by phone or email.

Inputs: email, phone.

get_solar_irradianceA

Fetch solar irradiance data for a geographic location using Open-Meteo API. Returns average daily solar radiation in kWh/m².

Inputs: latitude (required), longitude (required).

save_assessmentA

Save a solar assessment with homeowner details and calculated results for future reference.

Inputs: name (required), address (required), netCostInr (required), paybackYears (required), +10 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a clear, distinct purpose: data retrieval, cost estimation, capacity calculation, subsidy calculation, ROI analysis, environmental impact, and assessment persistence. There is no overlap or ambiguity between the tools.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern: get_, estimate_, calculate_, save_. Most calculation tools use 'calculate_' with only one using 'estimate_', which is a minor acceptable deviation. The pattern is clear and predictable.

    Tool Count5/5

    With exactly 8 tools, the server is well-scoped for a solar assessment domain. Each tool covers a distinct step in the workflow, and the count feels appropriately sized—not bloated or sparse.

    Completeness5/5

    The tool set covers the full assessment lifecycle: weather data input, cost estimation, capacity planning, subsidy calculation, ROI analysis, environmental impact, and storing/retrieving assessments. No critical operations are missing for the intended purpose.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables querying PVGIS solar radiation and typical meteorological year data through natural language questions, using tools for monthly irradiation averages and hourly synthetic climate data.
      83 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables solar energy feasibility analysis and ROI calculation for Indian users, including irradiance lookup, capacity estimation, subsidy calculation, and environmental impact assessment.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides free energy intelligence APIs for AI agents: solar production estimates, US clean-energy incentives by ZIP, home Energy Node Scores, contractor search, and consented installer routing.
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables home solar energy planning by estimating PV output, validating consumption plans against generation and battery constraints, and automatically shifting flexible loads to ensure power availability during scheduled outages.
      -