Emission Factors

Keyless US grid carbon + power cost by ZIP: eGRID Scope 2, Scope 1 fuels, site ranking, clean hours

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
95%
命名品質
84%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~3,141Token(工具定義)
~1.6 KB典型回應大小
顯著的注意力影響(128k 上下文的 2.45%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "emission-factors": {
      "url": "https://emission-factors.com/mcp"
    }
  }
}

遠端端點

https://emission-factors.com/mcpstreamable-http

它能做什麼

工具清單

工具(11)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢lookup_emission_factor(zip, year)

Look up EPA eGRID electricity emission factors for a US ZIP code. Returns CO2e (kg/kWh and lb/MWh), CO2, CH4, N2O, NOx, SO2, non-baseload rate, carbon-free %, generation mix (coal/gas/nuclear/hydro/wind/solar etc.), eGRID subregion code, the data year, and the Green-e residual mix rate (the market-based Scope 2 factor). For Scope 2 emissions from a kWh total, use calculate_emissions, which does the arithmetic for both methods.

輸入結構描述

{
  "type": "object",
  "properties": {
    "zip": {
      "type": "string",
      "description": "5-digit US ZIP code (e.g. \"94105\"); ZIP+4 accepted",
      "pattern": "^\\d{5}(-?\\d{4})?$"
    },
    "year": {
      "type": "string",
      "enum": [
        "2023",
        "2024"
      ],
      "description": "eGRID edition: 2023 (default, official EPA) or 2024 (EPA's public eGRID code run on 2024 data by Cornerstone; EPA has not published eGRID2024)"
    }
  },
  "required": [
    "zip"
  ]
}
🟢lookup_by_coordinates(lat, lon)

Look up emission factors by latitude/longitude. Uses US Census Geocoder to resolve to ZIP first, then returns the same data as lookup_emission_factor. Useful when you have a facility address or lat/lon but no ZIP.

輸入結構描述

{
  "type": "object",
  "properties": {
    "lat": {
      "type": "number",
      "description": "Latitude (decimal degrees)"
    },
    "lon": {
      "type": "number",
      "description": "Longitude (decimal degrees)"
    }
  },
  "required": [
    "lat",
    "lon"
  ]
}
🟢lookup_batch(zips, full)

Look up emission factors for up to 100 ZIP codes in one call (split longer lists). Returns one compact row per ZIP - subregion, CO2e kg/kWh (location-based), residual mix (market-based), carbon-free %, utility - unless full is true, which returns every field (about 2 KB per ZIP).

輸入結構描述

{
  "type": "object",
  "properties": {
    "zips": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{5}(-?\\d{4})?$"
      },
      "description": "Array of US ZIP codes (5 digits or ZIP+4)",
      "maxItems": 100
    },
    "full": {
      "type": "boolean",
      "description": "Return complete candidate records (all pollutants, generation mix) instead of compact rows. Default false."
    }
  },
  "required": [
    "zips"
  ]
}
🟢calculate_emissions(zip, kwh, renewable_kwh, year)

Calculate Scope 2 CO2e for a facility from its ZIP and kWh, using both GHG Protocol methods: location-based (eGRID subregion rate) and market-based (Green-e residual mix applied to kWh not covered by RECs, PPAs or green tariffs). Returns kg CO2e for each method with the factors used.

輸入結構描述

{
  "type": "object",
  "properties": {
    "zip": {
      "type": "string",
      "description": "5-digit US ZIP code (ZIP+4 accepted)",
      "pattern": "^\\d{5}(-?\\d{4})?$"
    },
    "kwh": {
      "type": "number",
      "description": "Electricity consumption in kWh",
      "minimum": 0
    },
    "renewable_kwh": {
      "type": "number",
      "description": "Optional: kWh covered by contractual instruments (RECs, PPAs, green tariff). Counted at zero in the market-based result. Default 0.",
      "minimum": 0
    },
    "year": {
      "type": "string",
      "enum": [
        "2023",
        "2024"
      ],
      "description": "eGRID edition (default 2023). Market-based needs 2023."
    }
  },
  "required": [
    "zip",
    "kwh"
  ]
}
🟢hourly_intensity(zip, ba, hours, aggregate)

Get hourly grid carbon intensity (kg CO2e per kWh) for any US ZIP code, derived from EIA-930 hourly fuel-mix data. Data lags up to about a day (not real-time). Returns time series with per-hour fuel mix, total generation, and carbon intensity. For timing and analysis (demand response, load shifting, grid patterns), not inventory reporting: it uses fixed per-fuel combustion factors on in-BA generation (no imports), so its values don't match eGRID's annual factors. For live or forecast intensity, WattTime or Electricity Maps are better options.

輸入結構描述

{
  "type": "object",
  "properties": {
    "zip": {
      "type": "string",
      "description": "5-digit US ZIP code (or use ba parameter)",
      "pattern": "^\\d{5}(-?\\d{4})?$"
    },
    "ba": {
      "type": "string",
      "description": "Balancing authority code directly (e.g. CISO, ERCO, PJM, MISO, NYIS). Use this OR zip."
    },
    "hours": {
      "type": "integer",
      "description": "Number of most recent hours to return (default 24, max 168 = 1 week).",
      "minimum": 1,
      "maximum": 168
    },
    "aggregate": {
      "type": "string",
      "enum": [
        "hour_of_day"
      ],
      "description": "Optional: return the 24-hour average profile over the last 7 days (168 hours) instead of the hourly series. Buckets are UTC hours; for a local-time scheduling window use cleanest_hours."
    }
  }
}
🟢plant_emissions(facility_id, state, days, begin, end, ...)

Get emissions from EPA Clean Air Markets Division (CAMD) for a specific US power plant or a state: fossil units over 25 MW reporting to the Acid Rain Program and CSAPR. Per facility returns total CO2 (short tons), gross generation (MWh), heat input (mmBtu), NOx and SO2 (lb), primary fuel type, operating hours, and derived emissions rate (kg CO2/MWh). CAMD publishes by quarter, so the default window is the last 7 days of the latest published quarter (latest_published_date in the response); later dates are not available yet. Default output is a per-facility summary from daily data; format=hourly returns unit-hour records for small windows. Use for plant-specific carbon accounting, state-level fossil emissions and "dirtiest plants in [state]" queries.

輸入結構描述

{
  "type": "object",
  "properties": {
    "facility_id": {
      "type": "integer",
      "description": "EPA CAMD/ORIS facility code (e.g. 3 for Barry, AL). Find codes in the summary_by_facility of a state query, or at https://campd.epa.gov/."
    },
    "state": {
      "type": "string",
      "description": "2-letter US state code for state-wide aggregate (e.g. TX, CA, PA)."
    },
    "days": {
      "type": "integer",
      "description": "Number of most recent days to include (1-90, default 7).",
      "minimum": 1,
      "maximum": 90
    },
    "begin": {
      "type": "string",
      "description": "Custom begin date YYYY-MM-DD (optional, overrides days).",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "end": {
      "type": "string",
      "description": "Custom end date YYYY-MM-DD (optional, overrides days).",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "format": {
      "type": "string",
      "enum": [
        "summary",
        "hourly"
      ],
      "description": "\"summary\" (default) aggregates by facility; \"hourly\" returns raw CAMD unit-hour records, about 0.8 KB each (a 9-unit plant-day was 172 KB), so use it with facility_id and 1-2 days."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 500,
      "description": "Summary only: return the top N facilities by CO2 (default 25); facilities_total gives the full count."
    }
  }
}
🟢utility_tariff(zip, utility, eiaid, sector, limit)

Get the actual utility-specific electricity rate (not state average) for a US ZIP code or named utility. Returns the current default tariff with effective rate ($/kWh), fixed monthly charge, tier count, TOU indicator, and effective date. Data source: OpenEI URDB (NREL-hosted). With a ZIP, matches the ZIP's utility by EIA ID. Returns currently-effective tariffs; when URDB has none flagged as default (common for Commercial/Industrial) it returns the most recent ones and says so in warnings, including when the newest available tariff has expired. Does not cover Texas retail electric providers (deregulated market) - use electricity_rate there.

輸入結構描述

{
  "type": "object",
  "properties": {
    "zip": {
      "type": "string",
      "description": "5-digit US ZIP code",
      "pattern": "^\\d{5}(-?\\d{4})?$"
    },
    "utility": {
      "type": "string",
      "description": "Utility name (e.g. \"Pacific Gas & Electric Co\", \"Consolidated Edison Co-NY Inc\")"
    },
    "eiaid": {
      "type": "integer",
      "description": "EIA utility ID (joins with EIA Form 861)"
    },
    "sector": {
      "type": "string",
      "enum": [
        "Residential",
        "Commercial",
        "Industrial",
        "Lighting",
        "RES",
        "COM",
        "IND"
      ],
      "description": "Default \"Residential\" (case-insensitive; RES/COM/IND codes accepted)"
    },
    "limit": {
      "type": "integer",
      "description": "Max tariffs to return (1-20, default 5)",
      "minimum": 1,
      "maximum": 20
    }
  }
}
🟢electricity_rate(zip)

Get the latest monthly average retail electricity rate ($/kWh and cents/kWh) for any US ZIP code, broken out by sector (residential, commercial, industrial, etc.). Data is state-level from EIA Form 861 - a ballpark, not utility- or ZIP-specific tariffs (use utility_tariff for those).

輸入結構描述

{
  "type": "object",
  "properties": {
    "zip": {
      "type": "string",
      "description": "5-digit US ZIP code",
      "pattern": "^\\d{5}(-?\\d{4})?$"
    }
  },
  "required": [
    "zip"
  ]
}
🟢compare_sites(zips, annual_kwh, sector, duration)

Compare and rank 2-25 candidate US sites (ZIP codes) for a facility, data center or EV/flexible load on grid carbon and electricity cost in one call. Per site: eGRID CO2e kg/kWh (location-based), Green-e residual mix (market-based), carbon-free %, $/kWh for the sector (the ZIP's utility average where exactly one full-service utility serves it, otherwise (several utilities, or retail choice) the state average; all EIA-861 2023, see rate_basis), and the cleanest daily window from the 7-day hourly profile of its balancing authority. With annual_kwh, also annual tCO2e and cost. Returns competition ranks by carbon, cost and combined, gap percentages, and best_* = null with *_tied lists when sites tie.

輸入結構描述

{
  "type": "object",
  "properties": {
    "zips": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^\\d{5}(-?\\d{4})?$"
      },
      "minItems": 2,
      "maxItems": 25,
      "description": "Candidate US ZIP codes (5 digits or ZIP+4)"
    },
    "annual_kwh": {
      "type": "number",
      "minimum": 0,
      "description": "Optional annual consumption in kWh (e.g. 87,600,000 for a 10 MW constant load) to get annual tCO2e and cost per site"
    },
    "sector": {
      "type": "string",
      "enum": [
        "COM",
        "IND",
        "RES",
        "ALL",
        "Commercial",
        "Industrial",
        "Residential"
      ],
      "description": "Retail rate sector. Default COM (commercial); use IND for industrial/data-center loads."
    },
    "duration": {
      "type": "integer",
      "minimum": 1,
      "maximum": 12,
      "description": "Length of the cleanest daily window in hours (default 4)"
    }
  },
  "required": [
    "zips"
  ]
}
🟢cleanest_hours(zip, ba, duration)

Find the cleanest (lowest grid carbon) contiguous window of N hours in the day to run a flexible load (batch jobs, EV charging, pumping, HVAC pre-cooling) at a US ZIP code or balancing authority. Based on the hour-of-day pattern of the last 7 days (168 hours) of EIA-930 data, in local time. Returns the cleanest and dirtiest windows, % saved vs the daily average, and all hours ranked. A scheduling guide from recent history, not a forecast.

輸入結構描述

{
  "type": "object",
  "properties": {
    "zip": {
      "type": "string",
      "description": "5-digit US ZIP code (or use ba)",
      "pattern": "^\\d{5}(-?\\d{4})?$"
    },
    "ba": {
      "type": "string",
      "description": "Balancing authority code (e.g. CISO, ERCO, PJM, MISO, NYIS). Use this OR zip."
    },
    "duration": {
      "type": "integer",
      "minimum": 1,
      "maximum": 12,
      "description": "Window length in hours (default 4)"
    }
  }
}
🟢calculate_fuel_emissions(items, edition)

Calculate Scope 1 stationary-combustion emissions (CO2, CH4, N2O and CO2e) for fuels burned on site, using the GHG Emission Factors Hub 2026 (Cornerstone, successor to EPA's Hub; IPCC AR6 GWPs) by default, or EPA's 2025 edition (AR5) with edition=2025. Pass one or more items with fuel, quantity and unit, e.g. natural gas in therms/ccf/mcf/scf, propane/diesel/heating oil in gallons, coal in short tons. Biomass CO2 is reported separately (biogenic). Stationary sources only: for vehicle fuel the CO2 per gallon is the same, but CH4/N2O factors differ and are not included. Returns per-item and total CO2e. Pair with calculate_emissions for a facility's electricity (Scope 2).

輸入結構描述

{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "minItems": 1,
      "maxItems": 50,
      "items": {
        "type": "object",
        "properties": {
          "fuel": {
            "type": "string",
            "description": "Fuel id or alias: natural_gas, propane, diesel, heating_oil, gasoline, lpg, kerosene, jet_fuel, residual_fuel_oil_no_6, bituminous, wood, biodiesel... (63 Hub fuels)"
          },
          "quantity": {
            "type": "number",
            "minimum": 0
          },
          "unit": {
            "type": "string",
            "description": "Required: mmBtu, therm, Dth, scf, ccf, mcf, gallon, liter, barrel, short_ton, lb, tonne"
          }
        },
        "required": [
          "fuel",
          "quantity",
          "unit"
        ]
      }
    },
    "edition": {
      "type": "string",
      "enum": [
        "2026",
        "2025"
      ],
      "description": "Hub edition: 2026 (default; Cornerstone, AR6 GWPs) or 2025 (EPA, AR5 GWPs). Fuel factors are the same; CO2e differs slightly."
    }
  },
  "required": [
    "items"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本11 個工具