8
n8n 中文网amn8n.com

CarbonDoomsDay MCP服务器

中级

这是一个Engineering, AI RAG领域的自动化工作流,包含 6 个节点。主要使用 HttpRequestTool, McpTrigger 等节点。 通过CarbonDoomsDay API为AI代理访问CO2测量数据

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "4jp6Z6pafierPUNA",
  "meta": null,
  "name": "CarbonDoomsDay MCP 服务器",
  "tags": [],
  "nodes": [
    {
      "id": "74da5d44-2e69-430b-9bed-1b4081960b6a",
      "name": "设置说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1060,
        "content": "### ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "1730f19c-e3d1-4a79-92d7-9b5c5e1ac0c2",
      "name": "工作流概览",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "width": 420,
        "height": 920,
        "content": "## 🛠️ CarbonDoomsDay MCP 服务器 ✅ 2 个操作"
      },
      "typeVersion": 1
    },
    {
      "id": "9e88d1db-215d-48a8-9c60-64997a391f35",
      "name": "CarbonDoomsDay MCP 服务器",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -620,
        -240
      ],
      "webhookId": "a2544d29-6be6-413e-8a4e-4a7f6fe4220f",
      "parameters": {
        "path": "carbondoomsday-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "d777566c-6fbd-456f-95a4-2013f0c826e8",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 500,
        "height": 200,
        "content": "## 二氧化碳"
      },
      "typeVersion": 1
    },
    {
      "id": "f5bc03fc-5471-4872-b76e-b76eba0e8d88",
      "name": "列出二氧化碳测量值",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        -60
      ],
      "parameters": {
        "url": "=https://api.carbondoomsday.com/api/co2/",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "ppm",
              "value": "={{ $fromAI('ppm', 'Ppm', 'number') }}"
            },
            {
              "name": "date",
              "value": "={{ $fromAI('date', 'Date', 'string') }}"
            },
            {
              "name": "date__range",
              "value": "={{ $fromAI('date__range', 'Multiple values may be separated by commas.', 'string') }}"
            },
            {
              "name": "ordering",
              "value": "={{ $fromAI('ordering', 'Which field to use when ordering the results.', 'string') }}"
            },
            {
              "name": "page",
              "value": "={{ $fromAI('page', 'A page number within the paginated result set.', 'number') }}"
            },
            {
              "name": "limit",
              "value": "={{ $fromAI('limit', 'Number of results to return per page.', 'number') }}"
            }
          ]
        },
        "toolDescription": "CO2 measurements from the Mauna Loa observatory. This data is made available through the good work of the people at the Mauna Loa observatory. Their release notes say: These data are made freely available to the public and the scientific community in the belief that their wide dissemination will lead to greater understanding and new scientific insights. We currently scrape the following sources: * [co2_mlo_weekly.csv] * [co2_mlo_surface-insitu_1_ccgg_DailyData.txt] * [weekly_mlo.csv] We have daily CO2 measurements as far back as 1958. Learn about using pagination via [the 3rd party documentation]. [co2_mlo_weekly.csv]: https://www.esrl.noaa.gov/gmd/webdata/ccgg/trends/co2_mlo_weekly.csv [co2_mlo_surface-insitu_1_ccgg_DailyData.txt]: ftp://aftp.cmdl.noaa.gov/data/trace_gases/co2/in-situ/surface/mlo/co2_mlo_surface-insitu_1_ccgg_DailyData.txt [weekly_mlo.csv]: http://scrippsco2.ucsd.edu/sites/default/files/data/in_situ_co2/weekly_mlo.csv [the 3rd party documentation]: http://www.django-rest-framework.org/api-guide/pagination/#pagenumberpagination\n\nParameters:\n- Query parameters:\n  • ppm (optional)\n  • date (optional)\n  • date__range (optional) - Multiple values may be separated by commas.\n  • ordering (optional) - Which field to use when ordering the results.\n  • page (optional) - A page number within the paginated result set.\n  • limit (optional) - Number of results to return per page."
      },
      "typeVersion": 4.2
    },
    {
      "id": "0366aa2a-0c63-445f-abc5-25658faec374",
      "name": "按日期获取二氧化碳测量值",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        -60
      ],
      "parameters": {
        "url": "=https://api.carbondoomsday.com/api/co2/{{ $fromAI('date', 'Date', 'string') }}/",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "CO2 measurements from the Mauna Loa observatory. This data is made available through the good work of the people at the Mauna Loa observatory. Their release notes say: These data are made freely available to the public and the scientific community in the belief that their wide dissemination will lead to greater understanding and new scientific insights. We currently scrape the following sources: * [co2_mlo_weekly.csv] * [co2_mlo_surface-insitu_1_ccgg_DailyData.txt] * [weekly_mlo.csv] We have daily CO2 measurements as far back as 1958. Learn about using pagination via [the 3rd party documentation]. [co2_mlo_weekly.csv]: https://www.esrl.noaa.gov/gmd/webdata/ccgg/trends/co2_mlo_weekly.csv [co2_mlo_surface-insitu_1_ccgg_DailyData.txt]: ftp://aftp.cmdl.noaa.gov/data/trace_gases/co2/in-situ/surface/mlo/co2_mlo_surface-insitu_1_ccgg_DailyData.txt [weekly_mlo.csv]: http://scrippsco2.ucsd.edu/sites/default/files/data/in_situ_co2/weekly_mlo.csv [the 3rd party documentation]: http://www.django-rest-framework.org/api-guide/pagination/#pagenumberpagination\n\nParameters:\n- Path parameters:\n  • date (required)"
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "shared": [
    {
      "role": "workflow:owner",
      "project": {
        "id": "G5fce9xGuBAsWBXe",
        "icon": null,
        "name": "David Ashby <david.ashby.lds@gmail.com>",
        "type": "personal",
        "createdAt": "2025-06-04T02:55:02.013Z",
        "updatedAt": "2025-06-04T02:56:01.361Z",
        "projectRelations": [
          {
            "role": "project:personalOwner",
            "user": {
              "id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
              "role": "global:owner",
              "email": "david.ashby.lds@gmail.com",
              "disabled": false,
              "lastName": "Ashby",
              "settings": {
                "npsSurvey": {
                  "responded": true,
                  "lastShownAt": 1749357655581
                },
                "userActivated": true,
                "userActivatedAt": 1749075994495,
                "easyAIWorkflowOnboarded": true,
                "firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
              },
              "createdAt": "2025-06-04T02:55:01.745Z",
              "firstName": "David",
              "isPending": false,
              "updatedAt": "2025-06-08T04:40:58.399Z",
              "mfaEnabled": false,
              "personalizationAnswers": {
                "version": "v4",
                "personalization_survey_n8n_version": "1.95.3",
                "personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
              }
            },
            "userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
            "createdAt": "2025-06-04T02:55:02.013Z",
            "projectId": "G5fce9xGuBAsWBXe",
            "updatedAt": "2025-06-04T02:55:02.013Z"
          }
        ]
      },
      "createdAt": "2025-07-01T23:48:37.889Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-01T23:48:37.889Z",
      "workflowId": "4jp6Z6pafierPUNA"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-01T23:48:37.887Z",
  "updatedAt": "2025-07-01T23:49:02.000Z",
  "versionId": "660d33b8-6f0d-4ccc-8b60-2bacc056b1af",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "List CO2 Measurements": {
      "ai_tool": [
        [
          {
            "node": "CarbonDoomsDay MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get CO2 Measurement by Date": {
      "ai_tool": [
        [
          {
            "node": "CarbonDoomsDay MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 工程, AI RAG 检索增强

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量6
分类2
节点类型3
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
David Ashby

David Ashby

@cfomodz

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord

外部链接
在 n8n.io 查看

分享此工作流