Api

com.greencalculusPublished by greencalculus.comOfficial publisherv1.0.4Updated Oct 28, 2026

Sourced carbon emission factors + audit-traced calculations an AI can cite.

VerifiedStreamable HTTPWeb executableFinanceKnowledge & MemoryData & Analytics

Overview

AI-generated overview

Sourced greenhouse-gas emission factors plus audit-traced carbon calculations an assistant can look up, run and cite.

What you can do
  • Look up one or many emission factors by key, each with provenance, licence and verification details
  • Search and resolve factors by section, key prefix, free text or plain-language description
  • Calculate emissions from activity data, purchased electricity, freight, business travel and spend
  • Compute whole-life embodied carbon for materials and PCAF financed emissions for a portfolio
  • Explain why a factor is missing from the corpus and what that absence means
When to use it
Use it when an assistant needs defensible carbon numbers rather than guesses: emissions inventories, Scope 2 and Scope 3 reporting, embodied-carbon or portfolio-financed-emissions work, or checking which factor and source back a figure.
Requirements
Runs as a remote endpoint or as a local npm package started with npx. An API key is needed for most tools, supplied as the GREENCALCULUS_API_KEY environment variable or an Authorization bearer header; keys are free from the provider's developer page. Network access to the provider is required.
Before you install
The API key is a secret and should be kept out of shared configuration. Two tools work without a key, but the other ten are refused without one. Calculations are returned as figures with sources; verify licence and redistribution terms in each factor's audit envelope before republishing values.

Installation

In SourceWeft

  1. Open Api in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.greencalculus%2Fapi/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "api": {
      "type": "http",
      "url": "https://mcp.greencalculus.com/"
    }
  }
}

Tools

12

lookup_factor

Look up a single greenhouse-gas emission factor by its canonical key. Returns the value plus an audit envelope: provenance (publisher, exact source reference, retrieval date, LICENCE and whether it may be redistributed, with the attribution the licence requires) and verification (whether the per-gas components sum to the headline, the GWP set, and the source note stating what the publisher did…

Parameterskeyrequired

search_factors

Find emission factors by section, key prefix, or free text. Returns each match with its key, name, section, VALUE, unit and gas — enough to choose between them or read a few numbers without a second call. For one factor's full audit envelope (publisher, exact source reference, retrieval date, licence, verification) call lookup_factor; for several, call lookup_factors.

Parameterslimitquerysectionkey_prefix

lookup_factors

Look up SEVERAL emission factors by key in one call, each with the same audit envelope lookup_factor returns — provenance (publisher, exact source reference, retrieval date, licence, redistribution) and verification. Use this instead of calling lookup_factor in a loop: a portfolio or a multi-country comparison is one call, not one per factor. Keys that do not exist come back in `not_found` rather…

Parameterskeysrequired

calculate_activity

Turn activity data into greenhouse-gas emissions: emissions = activity × factor. Give an amount + unit and a factor key; the unit engine converts to the factor basis (MWh→kWh, tonne→kg, gallon→litre, mile→km) and returns the emissions with the working, the GHG Protocol scope, and the source. Use search_factors / lookup_factor to find the factor key.

Parametersactivityrequiredfactor_keyrequired

calculate_embodied

Whole-life embodied carbon for materials, per EN 15978. Give a material key + quantity (+ optional boundary A1-A3 / A1-A4 / A1-A5 / A1-C); it assembles the declared lifecycle modules (A1-A3, B, C1-C4, D) into stages, totals the boundary, reports module D separately, and flags any missing stage as not-assessed (never zero). Find material keys via search_factors (section "materials").

Parametersmaterialsrequired

calculate_pcaf

Compute PCAF Part A financed emissions for a portfolio. Returns each holding's attribution factor and financed emissions, the portfolio total, the outstanding-weighted data-quality score, and the audit trail (formula + PCAF source).

Parametersholdingsrequiredasset_class

calculate_electricity

GHG Protocol Scope 2 for purchased electricity, both methods. Always returns location-based (grid-average) emissions; also returns market-based when you supply a contractual supplier_factor (e.g. a green tariff / REC = 0) or a market_factor_key (residual mix). Find grid keys via search_factors (section "grid").

Parametersconsumptionrequiredsupplier_factormarket_factor_keylocation_factor_keyrequired

calculate_freight

Freight & logistics emissions (Scope 3 Cat 4 & 9), GLEC framework. THE FACTOR'S DENOMINATOR PICKS THE METHOD — check the factor's unit before choosing the input. Per tonne-km: emissions = tonnes × km × factor, send "mass". Per TEU-km (the sea-container family, e.g. freight_detailed.sea.container.trans_suez.dry): emissions = TEU × km × factor, send "teu" — a TEU is a twenty-foot container slot,…

Parametersteumassdistancerequiredfactor_keyrequired

calculate_spend

Spend-based (EEIO) Scope 3 screening: emissions = spend × economic-intensity factor. Spend must be in the factor's own currency/year (no FX). Find sector factors via search_factors (section "spend_based"), e.g. spend_based.us.naics6.541511.custom_computer_programming_services.

Parametersspendrequiredfactor_keyrequired

calculate_business_travel

Business travel emissions (Scope 3 Cat 6), distance method: emissions = km × passengers × factor. Air factors come in with_rf / without_rf (radiative forcing) variants. Find factors via search_factors (section "business_travel").

Parametersdistancerequiredfactor_keyrequiredpassengers

resolve_factor

Find the best emission-factor key(s) for a plain-language description — the hardest step is picking the right key out of ~16,000. Returns ranked matches, each carrying the key, value, unit and a confidence score; feed the chosen key to a calculate_* tool or lookup_factor. Prefer this over guessing a key. PUT THE COUNTRY IN THE DESCRIPTION. Geography is read from the description text itself, not…

Parameterslimitsectiondescriptionrequired

explain_absence

Ask why a factor is NOT in the corpus. The reasoned counterpart to coverage: where a country reports zero rows for an inventory family, this says whether that is the world's limit or our backlog. Five classifications: "structural" (no publisher issues this anywhere — stop looking, and do not silently substitute another country), "not_yet_sourced" (a publisher exists and is named; it is our…

Parametersfamilycountryclassification

Version history

1
  1. v1.0.4LatestSep 16, 2026

Score

75% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • License10 pts

    Declare a license in the repository or the registry entry.