Skip to main content
Glama

get-item

Retrieve detailed HackerNews items with full comment threads. Use this tool to view stories, comments, polls, and their complete metadata including nested discussions.

Instructions

Retrieve detailed information about a specific HackerNews item by ID.

Returns complete item details including the full nested comment tree. Use this to:

  • View a story with all comments

  • Read a specific comment with its replies

  • Explore discussion threads in depth

  • Get complete metadata for any item

Features:

  • Full nested comment tree (all levels)

  • Complete item metadata (title, url, text, points, author, etc.)

  • Works for stories, comments, polls, and poll options

  • Includes creation time and item type

Examples:

  • Get story with comments: { "itemId": "38456789" }

  • Get specific comment: { "itemId": "38456790" }

  • Get poll: { "itemId": "126809" }

Note: Large comment threads (>500 comments) may take 2-3 seconds to load due to nested fetching. Returns error if item doesn't exist or has been deleted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemIdYes

Latest Blog Posts

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/xiaobenyang-com/HackerNews-Search'

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