AutomationFlowsWeb Scraping › Access Co2 Measurement Data with Carbondoomsday API for AI Agents

Access Co2 Measurement Data with Carbondoomsday API for AI Agents

ByDavid Ashby @cfomodz on n8n.io

Complete MCP server exposing 2 CarbonDoomsDay API operations to AI agents.

Event trigger★★☆☆☆ complexityAI-powered6 nodesMcp TriggerHTTP Request Tool
Web Scraping Trigger: Event Nodes: 6 Complexity: ★★☆☆☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #5550 — we link there as the canonical source.

This workflow follows the HTTP Request Tool → Mcptrigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "4jp6Z6pafierPUNA",
  "meta": null,
  "name": "CarbonDoomsDay MCP Server",
  "tags": [],
  "nodes": [
    {
      "id": "74da5d44-2e69-430b-9bed-1b4081960b6a",
      "name": "Setup Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1060,
        "content": "### \u2699\ufe0f Setup Instructions\n\n1. **Import Workflow**: \nLoad this workflow into your n8n instance\n\n2. **Configure Authentication**: \nSet up basic credentials\n\n3. **Activate Workflow**:\nEnable the workflow to start the MCP server\n\n4. **Get MCP URL**: \nCopy the webhook URL from the MCP trigger\n\n5. **Connect AI Agent**:\nUse the MCP URL in your AI agent configuration\n\n\n### \ud83d\udca1 Usage Notes\n\u2022 Parameters are auto-populated by AI using $fromAI() expressions\n\u2022 With 2 API endpoints available as tools\n\u2022 Responses maintain original API structure\n\n\n### \ud83d\udee0\ufe0f Customization\n\u2022 Add data transformation nodes if needed\n\u2022 Implement custom error handling\n\u2022 Add logging or monitoring nodes\n\n\u2022 Modify parameter defaults in any HTTP request node as needed\n\n### \ud83d\udcac Need Help?\nPing me on [discord](https://discord.me/cfomodz) for integration guidance and custom automations. Check the [n8n documentation](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolmcp/) for more information."
      },
      "typeVersion": 1
    },
    {
      "id": "1730f19c-e3d1-4a79-92d7-9b5c5e1ac0c2",
      "name": "Workflow Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "width": 420,
        "height": 920,
        "content": "## \ud83d\udee0\ufe0f CarbonDoomsDay MCP Server \u2705 2 operations\n\n### About\nA real-time RESTish web API for worldwide carbon dioxide levels.\n\n### \ud83d\udd27 How it Works\n\nThis workflow converts the CarbonDoomsDay API into an MCP-compatible interface for AI agents.\n\n\u2022 **MCP Trigger**: Serves as your server endpoint for AI agent requests\n\u2022 **HTTP Request Nodes**: Handle API calls to https://api.carbondoomsday.com/api\n\u2022 **AI Expressions**: Automatically populate parameters via `$fromAI()` placeholders\n\u2022 **Native Integration**: Returns responses directly to the AI agent\n\n\n### \ud83d\udccb Available Operations (2 endpoints)\n\n**Co2 (2 operations)**\nList CO2 Measurements, Get CO2 Measurement by Date\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "9e88d1db-215d-48a8-9c60-64997a391f35",
      "name": "CarbonDoomsDay MCP Server",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -620,
        -240
      ],
      "parameters": {
        "path": "carbondoomsday-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "d777566c-6fbd-456f-95a4-2013f0c826e8",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 500,
        "height": 200,
        "content": "## Co2"
      },
      "typeVersion": 1
    },
    {
      "id": "f5bc03fc-5471-4872-b76e-b76eba0e8d88",
      "name": "List CO2 Measurements",
      "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  \u2022 ppm (optional)\n  \u2022 date (optional)\n  \u2022 date__range (optional) - Multiple values may be separated by commas.\n  \u2022 ordering (optional) - Which field to use when ordering the results.\n  \u2022 page (optional) - A page number within the paginated result set.\n  \u2022 limit (optional) - Number of results to return per page."
      },
      "typeVersion": 4.2
    },
    {
      "id": "0366aa2a-0c63-445f-abc5-25658faec374",
      "name": "Get CO2 Measurement by Date",
      "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  \u2022 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"
    }
  ],
  "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
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Complete MCP server exposing 2 CarbonDoomsDay API operations to AI agents.

Source: https://n8n.io/workflows/5550/ — original creator credit. Request a take-down →

More Web Scraping workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?

Mcp Trigger, HTTP Request Tool
Web Scraping

Need help? Want access to this workflow + many more paid workflows + live Q&A sessions with a top verified n8n creator?

Mcp Trigger, HTTP Request Tool
Web Scraping

An MCP server that exposes 10 specialized AI tools for deep observability over your OpenObserve logs and traces.

HTTP Request Tool, Mcp Trigger
Web Scraping

Complete MCP server exposing 4 Transportation Laws and Incentives API operations to AI agents.

Mcp Trigger, HTTP Request Tool
Web Scraping

Complete MCP server exposing 4 BikeWise API v2 API operations to AI agents.

Mcp Trigger, HTTP Request Tool