Skip to main content
Glama

HackerNews MCP Server

by wei

get-item

Retrieve detailed HackerNews stories, comments, polls, and their complete nested discussion threads by providing the item ID to access full metadata and conversation trees.

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

NameRequiredDescriptionDefault
itemIdYesHackerNews item ID (e.g., '38456789')

Input Schema (JSON Schema)

{ "properties": { "itemId": { "description": "HackerNews item ID (e.g., '38456789')", "type": "string" } }, "required": [ "itemId" ], "type": "object" }

Other Tools from HackerNews 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/wei/hn-mcp-server'

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