# Greenspark MCP

> Greenspark connects your business processes to verifiable climate actions. This MCP lets you calculate a transaction's carbon footprint, automatically offset emissions, and track real-time environmental impact—like planting trees or cleaning ocean plastic—using natural language commands.

## Overview
- **Category:** productivity
- **Price:** Free
- **Tags:** sustainability, carbon-offset, climate-action, environmental-impact, corporate-responsibility, impact-tracking

## Description

You can embed genuine sustainability tracking right into your product flow. Need to show users their purchase helped the planet? Use this MCP to calculate a transaction's carbon footprint based on merchant categories, automatically offsetting that amount when the user completes the sale. You can also trigger new climate impacts programmatically—say, planting ten trees after a customer hits a milestone. Beyond just transactions, you monitor your total sustainability goals in real time by retrieving detailed impact records and summary reports. If you're building an agent ecosystem, connecting to Vinkius gives you immediate access to Greenspark alongside thousands of other services, letting you build genuinely climate-aware workflows.

## Tools

### create_impact
Sends a request to trigger a new verified climate action, like planting trees or removing plastic.

### create_webhook
Sets up a specific API webhook endpoint so Greenspark can push updates to your systems.

### estimate_footprint
Calculates the CO2 equivalent impact of a transaction using merchant categories and amounts.

### get_impact_summary
Gathers the total aggregated environmental data (CO2 offset, trees planted) for the entire account history.

### get_impact
Retrieves detailed records for a single, specific climate impact event.

### get_project
Pulls specific details about a single environmental project that receives funding.

### get_subscription
Fetches current billing and usage details for the Greenspark account subscription.

### list_badges
Retrieves a list of available impact badges or widgets you can display on your site.

### list_impact_types
Lists all recognized types of climate impacts that Greenspark tracks (e.g., carbon offset, plastic removal).

### list_impacts
Gets a list of historical impact events generated by the account.

### list_projects
Lists all vetted environmental projects that your company can support and track against.

### list_webhooks
Shows a list of webhooks you have already configured for external system synchronization.

## Prompt Examples

**Prompt:** 
```
Show my total climate impact summary
```

**Response:** 
```
Retrieving your impact summary... To date, your business has: 1. Planted 1,240 trees. 2. Offset 45,000 kg of CO2. 3. Rescued 12,500 plastic bottles. Would you like to see the specific projects these impacts supported?
```

**Prompt:** 
```
Plant 10 trees for our latest customer sale
```

**Response:** 
```
Processing climate action... Success! I've triggered the planting of 10 trees via the Eden Reforestation Projects. Your total tree count is now 1,250.
```

**Prompt:** 
```
Estimate the carbon footprint of a $50 flight purchase
```

**Response:** 
```
Calculating footprint... For a $50 transaction in the 'Airlines' category, the estimated impact is 125 kg of CO2e. Would you like to offset this amount now?
```

## Capabilities

### Calculate Carbon Footprints
Determine the environmental cost (CO2e) of any given transaction using merchant category data.

### Trigger Climate Actions
Execute verifiable climate actions, like planting trees or offsetting carbon, instantly based on an event.

### Track Total Impact Data
Retrieve comprehensive summary reports showing the total environmental contribution across all your activities.

### Manage Environmental Projects
List and get details on specific, vetted global projects that fund your impact efforts.

### Automate System Updates
Configure and audit webhooks to ensure internal systems stay synchronized with project updates.

## Use Cases

### The Checkout Flow
An operations engineer needs to ensure every $100 sale is carbon neutral. The agent intercepts the transaction, calls `estimate_footprint` based on the 'Airlines' category, and immediately follows up by calling `create_impact` to offset the calculated CO2e amount.

### Product Milestone Rewards
A product manager wants to reward users who complete their profile. The agent checks the user status, then uses `create_impact` to trigger a specific climate action (like rescuing ocean plastic) and displays the result via the impact summary.

### Compliance Reporting
A sustainability officer runs a report for the board. The agent calls `get_impact_summary`, which pulls total data across all timeframes, allowing them to generate a single document proving corporate responsibility metrics.

### System Integration Audit
An internal tech team needs to sync their CRM with Greenspark. They use the webhook tools to list current webhooks and configure new ones, ensuring that every time a project status changes, both systems update simultaneously.

## Benefits

- You stop calculating carbon offsets manually. Use the `estimate_footprint` tool to automatically calculate environmental costs for any purchase, letting you offset emissions at checkout with zero friction.
- Show tangible results immediately. Instead of just showing a percentage reduction, use the `create_impact` function to trigger verifiable actions—like planting 5 trees—right when a user hits a goal.
- Stop guessing about impact. The `get_impact_summary` tool pulls together all data points, giving you one clean metric for your total environmental contribution that's ready for board reports.
- Your system stays updated without manual intervention. Use the API webhook tools to configure and audit webhooks, ensuring internal records match project updates automatically.
- You can display proof of impact right on your site. The `list_badges` tool provides available widgets so you can showcase verified achievements alongside user accounts.

## How It Works

The bottom line is that your agent handles all the calculations and actions behind the scenes; you just ask for the outcome.

1. First, subscribe to this MCP and provide your Greenspark API Key.
2. Next, tell your AI client what you need: 'Offset the carbon from a $20 flight purchase.'
3. The system calculates the footprint, calls the necessary tool, and returns an immediate confirmation of the climate action taken.

## Frequently Asked Questions

**How do I use the create_impact tool?**
You call `create_impact` and pass specific event data detailing the desired action. The system then verifies that climate action (like planting trees) and triggers it.

**What does estimate_footprint do?**
`estimate_footprint` calculates the carbon footprint of a transaction based on merchant category codes, giving you the precise CO2e value needed for offsetting.

**Can I see all my past impacts with list_impacts?**
Yes. `list_impacts` retrieves a full history of every climate impact event that has been generated by your account, allowing you to audit previous actions.

**How do I get the total environmental contribution data using get_impact_summary?**
You use `get_impact_summary`. This tool aggregates all available impact records into one comprehensive report, showing your total offsetting and positive contributions.

**How do I use `create_webhook` if my internal system needs to know about new impact data?**
You call `create_webhook` to register a specific API endpoint. This ensures that Greenspark automatically sends real-time notifications when project updates or impacts occur, keeping your systems synchronized.

**If I need the full details on just one specific environmental impact, how do I use `get_impact`?**
You provide a unique impact ID to get its complete record. This allows you to verify exactly what was offset or planted and see which project the contribution supported.

**How can I list all available environmental projects and check their details using `list_projects`?**
`list_projects` gives you a comprehensive catalog of vetted global initiatives. After listing them, you use `get_project` to view the specific goals and scope of any single project.

**What tool should I use to manage or list available impact badges for my product?**
`list_badges` retrieves a list of all official impact widgets. You can then integrate these visual badges into your user journey to showcase verified environmental achievements.

**Can my agent trigger a climate impact like planting a tree through chat?**
Yes. Use the 'create_impact' tool. By passing the impact type (e.g., 'tree') and the quantity, the agent can programmatically trigger verified climate actions natively through Greenspark's API.

**How do I check my total accumulated impact via chat?**
You can use the 'get_impact_summary' tool. Your agent will fetch the total count of trees planted, kg of CO2 offset, and plastic bottles rescued, providing a real-time overview of your sustainability goals flawlessly.

**Can I calculate the carbon footprint of a transaction through the agent?**
Absolutely. Use the 'estimate_footprint' tool. Provide the transaction amount and merchant category, and your agent will return the estimated CO2e impact using Greenspark's estimation engines synchronously.