carbonstop-mcp
Enables AI assistants to automatically call Carbonstop Cloud API for carbon footprint modeling, product query, and emission analysis through natural language.
README
carbonstop-mcp
MCP (Model Context Protocol) server for Carbonstop — 碳阻迹碳足迹核算 MCP 服务。
AI 对话中自动调用碳云 API,完成碳足迹建模、产品查询、核算分析。
Install
npx (recommended)
No install needed. Use directly in MCP config or terminal:
npx @carbonstopper/mcp --api-key csk_xxx.yyy
npm
npm install -g @carbonstopper/mcp
Download binary
Download the latest binary from Releases:
| Platform | File |
|---|---|
| macOS Apple Silicon | carbonstop-mcp_*_darwin_arm64.tar.gz |
| macOS Intel | carbonstop-mcp_*_darwin_x86_64.tar.gz |
| Linux x86_64 | carbonstop-mcp_*_linux_x86_64.tar.gz |
| Linux arm64 | carbonstop-mcp_*_linux_arm64.tar.gz |
| Windows x86_64 | carbonstop-mcp_*_windows_x86_64.zip |
curl -L https://github.com/carbonstop-hub/carbonstop-mcp/releases/latest/download/carbonstop-mcp_linux_x86_64.tar.gz | tar xz
sudo mv carbonstop-mcp /usr/local/bin/
Build from source
Requires Go 1.23+.
git clone https://github.com/carbonstop-hub/carbonstop-mcp.git
cd carbonstop-mcp
make build
Quick Start
- 登录 碳云平台 注册账号,创建 API Key(PAT)
- 启动:
export CARBONSTOP_API_KEY="csk_xxx.yyy"
./carbonstop-mcp
# 或
npx @carbonstopper/mcp --api-key csk_xxx.yyy
官方版已内置网关地址。自编译需设置
CARBONSTOP_BASE_URL。
Agent Configuration
npx (零安装,推荐)
{
"mcpServers": {
"carbonstop": {
"command": "npx",
"args": ["@carbonstopper/mcp", "--api-key", "csk_xxx.yyy"]
}
}
}
全局安装
{
"mcpServers": {
"carbonstop": {
"command": "carbonstop-mcp",
"args": ["--api-key", "csk_xxx.yyy"]
}
}
}
直接二进制路径
{
"mcpServers": {
"carbonstop": {
"command": "/usr/local/bin/carbonstop-mcp",
"args": ["--api-key", "csk_xxx.yyy"]
}
}
}
Claude Code、Cursor、Windsurf、Codex、Hermes 等 MCP 客户端配置格式相同。
Available Tools
| Tool | Description |
|---|---|
ping |
网关探活 |
whoami |
查看身份信息 |
products |
产品列表(支持分页、搜索) |
product_info |
产品详情 |
accounts |
产品核算列表 |
account_view |
核算详情(含生命周期各阶段排放) |
ai_model |
一键 AI 碳足迹建模 |
Security
- 网关地址构建时注入,源码中不可见
- API Key 通过
--api-key参数或环境变量传入
Related
- carbonstop-cli — 命令行工具
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.