{
  "info": {
    "name": "Hacker News — mcp.ai",
    "description": "REST API for the Hacker News 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/hackernews",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "hackernews_get_frontpage",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/frontpage",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "frontpage"
          ]
        },
        "description": "Get the frontpage posts of hacker news.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"min_points\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "hackernews_get_item_with_id",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/item/with/id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "item",
            "with",
            "id"
          ]
        },
        "description": "Get a specific item from hacker news using its id. limits response size to prevent context overflow.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"item_id\": \"\",\n  \"max_depth\": 0,\n  \"max_children\": 0,\n  \"truncate_text\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "hackernews_get_latest_posts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/latest/posts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "latest",
            "posts"
          ]
        },
        "description": "Get the latest posts from hacker news based on optional filters. results can be limited using the size parameter.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"size\": 0,\n  \"tags\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "hackernews_get_todays_posts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/todays/posts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "todays",
            "posts"
          ]
        },
        "description": "Get today's posts from hacker news.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"min_points\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "hackernews_get_user",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/user",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "user"
          ]
        },
        "description": "Get a specific user from hacker news using their username.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"username\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "hackernews_search_posts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/search/posts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "search",
            "posts"
          ]
        },
        "description": "Get relevant posts from hacker news based on a full-text query and optional filters. results can be limited using the size parameter.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"page\": 0,\n  \"size\": 0,\n  \"tags\": \"\",\n  \"query\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}