Health
生态足迹与生物承载力(地球超载日)
按全球足迹网络框架核算生态足迹与生物承载力:输入五大消费类别足迹(食物/住房/出行/商品/服务,gha/人/年)、人口与总生物承载力,可选为野生物种保留比例。输出人均/总足迹、人均可用承载力、「需要几个地球」比值、生态盈余或赤字(gha 与百分比)、以及地球超载日(累积需求耗尽全年承载力的日期)。默认值取世界平均水平的粗略份额(人均约 2.6 gha 对 1.5 gha 承载力,约 1.7 个地球);gha = 全球公顷,即世界平均生物生产力的公顷。
json· JSON 结果打开工具
快速开始
用三种语言从你的代码中调用此工具。
cURL
curl -X POST 'https://api.elysiatools.com/zh/api/tools/ecological-footprint' \
-H 'Content-Type: application/json' \
-d '{"food":0.9,"housing":0.7,"mobility":0.5,"goods":0.3,"services":0.2,"population":8000000000,"biocapacity":12000000000,"reservePct":0}'API 参考
以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
请求端点
HTTP
POST https://api.elysiatools.com/zh/api/tools/ecological-footprint请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| food | number | 是 | Cropland, grazing, and fishing grounds embodied in your diet. |
| housing | number | 是 | Built-up land plus the energy and forest products behind your home. |
| mobility | number | 是 | Roads, vehicles, and fuel for your transport. |
| goods | number | 是 | Consumables, appliances, clothing — the forest and energy they embody. |
| services | number | 是 | Government, health, education, and other service infrastructure. |
MCP 集成
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
服务配置
将以下内容加入你的 MCP 客户端配置:
mcp.json
{
"mcpServers": {
"elysiatools-ecological-footprint": {
"name": "ecological-footprint",
"description": "按全球足迹网络框架核算生态足迹与生物承载力:输入五大消费类别足迹(食物/住房/出行/商品/服务,gha/人/年)、人口与总生物承载力,可选为野生物种保留比例。输出人均/总足迹、人均可用承载力、「需要几个地球」比值、生态盈余或赤字(gha 与百分比)、以及地球超载日(累积需求耗尽全年承载力的日期)。默认值取世界平均水平的粗略份额(人均约 2.6 gha 对 1.5 gha 承载力,约 1.7 个地球);gha = 全球公顷,即世界平均生物生产力的公顷。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=ecological-footprint",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}列出可用工具
连接到 SSE 端点后,列出已开放的工具:
tools/list
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}调用此工具
通过工具 id 调用,参数由其参数表构建:
tools/call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "ecological-footprint",
"arguments": {
"food": 0.9,
"housing": 0.7,
"mobility": 0.5,
"goods": 0.3,
"services": 0.2,
"population": 8000000000,
"biocapacity": 12000000000,
"reservePct": 0
}
}
}可用逗号分隔的 toolId 在一个会话中串联多个工具,例如 /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp(最多 20 个)。
有问题或反馈?请联系 [email protected]