Skip to main content
Glama

MCP Hacker News

by paabloLC

getComments

Fetch and display nested comments for any Hacker News post by specifying the item ID and desired depth, enabling efficient interaction with live comment threads.

Instructions

Get comments for a specific item

Input Schema

NameRequiredDescriptionDefault
depthNoMaximum depth of comments to fetch (default: 2)
idYesThe item ID to fetch comments for

Input Schema (JSON Schema)

{ "properties": { "depth": { "default": 2, "description": "Maximum depth of comments to fetch (default: 2)", "type": "number" }, "id": { "description": "The item ID to fetch comments for", "type": "number" } }, "required": [ "id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/paabloLC/mcp-hacker-news'

If you have feedback or need assistance with the MCP directory API, please join our Discord server