Skip to main content
Glama

Hacker News MCP Server

getComments

Retrieve comments for a specific Hacker News story by providing the story ID. Adjust the number of comments fetched using the limit parameter.

Instructions

Get comments for a story

Input Schema

NameRequiredDescriptionDefault
limitNoThe maximum number of comments to fetch
storyIdYesThe ID of the story

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 30, "description": "The maximum number of comments to fetch", "type": "number" }, "storyId": { "description": "The ID of the story", "type": "number" } }, "required": [ "storyId" ], "type": "object" }

You must be authenticated.

Other Tools from Hacker News MCP Server

Related Tools

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/devabdultech/hn-mcp'

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