Skip to main content
Glama
carbonstop-mcp

carbonstop-mcp

Official

carbonstop-mcp

MCP (Model Context Protocol) server for Carbonstop — 碳阻迹碳足迹核算 MCP 服务。

AI 对话中自动调用碳云 API,完成碳足迹建模、产品查询、核算分析。

Install

npm install -g @carbonstopper/mcp

Or run directly:

npx @carbonstopper/mcp

Related MCP server: carbonstop-mcp

Quick Start

  1. 前往 碳云平台 注册登录,创建 API Key(PAT)

  2. 设置环境变量:

export CARBONSTOP_API_KEY="csk_xxx.yyy"
# 自编译需额外设置网关地址:
# export CARBONSTOP_BASE_URL="<gateway-url>"
  1. 启动 MCP Server:

npx @carbonstopper/mcp

MCP Client Config

Claude Code / Claude Desktop

{
  "mcpServers": {
    "carbonstop": {
      "command": "npx",
      "args": ["@carbonstopper/mcp"],
      "env": {
        "CARBONSTOP_API_KEY": "csk_xxx.yyy"
      }
    }
  }
}

Cursor

{
  "mcpServers": {
    "carbonstop": {
      "command": "npx",
      "args": ["@carbonstopper/mcp"],
      "env": {
        "CARBONSTOP_API_KEY": "csk_xxx.yyy"
      }
    }
  }
}

Available Tools

Tool

Description

ping

网关探活

whoami

查看身份信息

products

产品列表(支持分页、名称搜索)

product_info

产品详情

accounts

产品核算列表

account_view

核算详情(含生命周期各阶段排放)

ai_model

一键 AI 碳足迹建模

Security

  • 网关地址构建时注入,源码及配置中均不可见

  • 认证通过 API Key(PAT),由 MCP 客户端通过环境变量传入

  • 接口调用需有效凭证,网关层鉴权

License

MIT

Available Tools

8 tools
accountsB

List carbon footprint accounts (models) for a product.

Inputs: productId (required), pageNum, pageSize, accountStatus.

account_viewB

Get detailed view of a carbon footprint account with emission breakdown by lifecycle stages.

Inputs: id (required), groupType, lang.

ai_modelA

One-click AI carbon footprint modeling. Submit a product description and get factor-matched emission results with lifecycle stage breakdown.

Inputs: content (required), scope, scopeValue, factorScope, +2 more.

pingA

Health check — verify the Carbonstop gateway is reachable and the API key is valid.

Inputs: no named parameters.

product_infoC

Get detailed information about a specific product by ID.

Inputs: id (required).

productsA

List carbon footprint products with pagination and filtering.

Inputs: pageNum, pageSize, status, search.

search_factorsB

Search CCDB carbon emission factors by keyword. Returns matching factors with metadata (unit, source, country, etc.).

Inputs: name (required), lang.

whoamiA

Show the identity (username, company, userId) associated with the current API key.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: accounts for listing models, account_view for detailed breakdown, ai_model for AI modeling, ping for health, product_info/product for product details/list, search_factors for factors, whoami for identity. No overlap.

    Naming Consistency2/5

    Naming is inconsistent: some are single-word nouns (accounts, products), some use underscores (account_view, ai_model), some are verb-like (ping, whoami). No uniform verb_noun pattern or consistent convention.

    Tool Count5/5

    8 tools is a reasonable number for a carbon footprint service, covering essential read operations and a health check without being excessive.

    Completeness3/5

    The server provides listing and viewing of accounts/products, AI modeling, and factor search, but lacks create/update/delete operations for accounts and products, which are notable gaps for a typical resource management scenario.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers