@nikeandocean/carbon-factor-matcher 2.2.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -21
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,17 +10,16 @@ Carbon Factor Matcher helps AI agents find the most appropriate emission factors
|
|
|
10
10
|
|
|
11
11
|
1. **Keyword + Embedding retrieval** — Field-weighted keyword scoring and semantic similarity to find candidate factors
|
|
12
12
|
|
|
13
|
-
The calling AI agent selects the best match from the ranked candidates.
|
|
13
|
+
The calling AI agent selects the best match from the ranked candidates.
|
|
14
14
|
|
|
15
15
|
### Supported Databases
|
|
16
16
|
|
|
17
|
-
- **ELCD** — European Reference Life Cycle Database (
|
|
18
|
-
- **ecoinvent 3.10** — Swiss Centre for Life Cycle Inventories (6,000+ factors, Pro license required)
|
|
19
|
-
- **MEE** — China Ministry of Ecology and Environment (48 provincial/grid factors, Pro license required)
|
|
17
|
+
- **ELCD** — European Reference Life Cycle Database (~600 factors, included in Free tier)
|
|
18
|
+
- **ecoinvent 3.10** — Swiss Centre for Life Cycle Inventories (~6,000+ factors, Pro license required)
|
|
20
19
|
|
|
21
20
|
### Key Features
|
|
22
21
|
|
|
23
|
-
- Hybrid keyword + embedding matching
|
|
22
|
+
- Hybrid keyword + embedding matching for accurate factor retrieval
|
|
24
23
|
- Multi-language support (Chinese/English activity descriptions)
|
|
25
24
|
- Zero configuration — works out of the box after installation
|
|
26
25
|
- MCP-compatible — works with Claude, Cursor, Windsurf, Cline, Continue, and any MCP client
|
|
@@ -128,8 +127,8 @@ The Free tier works immediately after installation (300 queries/day, ELCD databa
|
|
|
128
127
|
|
|
129
128
|
| Plan | Price | Features |
|
|
130
129
|
|------|-------|----------|
|
|
131
|
-
| **Free** | $0 | ELCD database (
|
|
132
|
-
| **Pro** | $5 (one-time) | ELCD + ecoinvent
|
|
130
|
+
| **Free** | $0 | ELCD database (~600 factors), keyword search, 300 queries/day |
|
|
131
|
+
| **Pro** | $5 (one-time) | ELCD + ecoinvent (~6,000+ factors), hybrid keyword + embedding matching, unlimited queries |
|
|
133
132
|
|
|
134
133
|
### Purchase License Key
|
|
135
134
|
|
|
@@ -158,7 +157,7 @@ After purchase, you'll receive a license key via email. Set it as an environment
|
|
|
158
157
|
| `CARBON_FACTOR_LICENSE_KEY` | Your license key (empty = Free tier) | — |
|
|
159
158
|
| `CARBON_FACTOR_DATA_DIR` | Path to local factor database | `data/factors` |
|
|
160
159
|
|
|
161
|
-
Note: No
|
|
160
|
+
Note: No additional API configuration needed. The calling AI agent handles final factor selection.
|
|
162
161
|
|
|
163
162
|
## Available Tools
|
|
164
163
|
|
|
@@ -169,8 +168,8 @@ Match activity data to emission factors. Free tier uses keyword search; Pro tier
|
|
|
169
168
|
**Input:**
|
|
170
169
|
```json
|
|
171
170
|
{
|
|
172
|
-
"activity_data": "
|
|
173
|
-
"top_k":
|
|
171
|
+
"activity_data": "Factory in Shenzhen, 10kV industrial electricity, 2024, semiconductor fab",
|
|
172
|
+
"top_k": 10
|
|
174
173
|
}
|
|
175
174
|
```
|
|
176
175
|
|
|
@@ -179,17 +178,12 @@ Match activity data to emission factors. Free tier uses keyword search; Pro tier
|
|
|
179
178
|
{
|
|
180
179
|
"candidates": [
|
|
181
180
|
{
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"db_source": "mee",
|
|
189
|
-
"keyword_score": 0.8293,
|
|
190
|
-
"embedding_score": 0.6779,
|
|
191
|
-
"hybrid_score": 0.7233,
|
|
192
|
-
"final_score": 0.7233
|
|
181
|
+
"id": "elec-cn-south-10kv-2024",
|
|
182
|
+
"name": "Electricity, 10kV, South China Grid",
|
|
183
|
+
"value": 0.6101,
|
|
184
|
+
"unit": "kgCO2e/kWh",
|
|
185
|
+
"hybrid_score": 0.85,
|
|
186
|
+
"final_score": 0.875
|
|
193
187
|
}
|
|
194
188
|
],
|
|
195
189
|
"selection_guidance": "从候选列表中选择最匹配的排放因子..."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nikeandocean/carbon-factor-matcher",
|
|
3
|
-
"version": "2.2
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "MCP server for intelligent emission factor matching — connects AI agents with carbon emission factor databases (ELCD, ecoinvent)",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|