getComments
Fetch comments for a specific item
How to use it
getComments is exposed by the MCP Hacker News MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the getComments tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Hacker News
$
npx @modelcontextprotocol/inspector node dist/index.jsOther tools in MCP Hacker News (10)
getAskHNStories
Fetch "Ask HN" posts
getBestStories
Fetch best stories (customizable limit)
getItem
Retrieve a specific item (story, comment, etc.)
getJobStories
Fetch job postings
getMaxItemId
Get the current maximum item ID
getNewStories
Fetch newest stories (customizable limit)
getShowHNStories
Fetch "Show HN" posts
getTopStories
Fetch top stories (customizable limit)
getUpdates
Fetch recently updated items and profiles
getUser
Retrieve a user profile by username