{
  "info": {
    "name": "Beeminder — mcp.ai",
    "description": "REST API for the Beeminder MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/beeminder",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "beeminder_authenticate_and_redirect_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/authenticate/and/redirect/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "authenticate",
            "and",
            "redirect",
            "user"
          ]
        },
        "description": "Tool to authenticate a user and redirect them to a given URL. Use when sending a user into the Beeminder web UI directly after OAuth or token validation.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username\": \"\",\n  \"redirect_to_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "beeminder_create_charge",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/charge",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "charge"
          ]
        },
        "description": "Tool to create a new charge for a user. Use when billing a user outside of goal pledges; supports dryrun mode.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"note\": \"\",\n  \"amount\": 0,\n  \"dryrun\": false,\n  \"user_id\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "beeminder_get_all_goals",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/all/goals",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "all",
            "goals"
          ]
        },
        "description": "Tool to retrieve all goals for a specified user. Use when listing a user's active goals.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "beeminder_get_archived_goals",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/archived/goals",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "archived",
            "goals"
          ]
        },
        "description": "Tool to retrieve archived goals for a specified user. Use when you need to inspect a user's past archived goals.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "beeminder_get_user_information",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/user/information",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "user",
            "information"
          ]
        },
        "description": "Tool to retrieve information about a specified Beeminder user. Use when you need to fetch details like timezone, goals, urgency, or deleted goals after authenticating successfully.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"skinny\": false,\n  \"username\": \"\",\n  \"diff_since\": 0,\n  \"associations\": false,\n  \"datapoints_count\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}