get_hn_comments
Pack: hackernews · Endpoint: https://gateway.pipeworx.io/hackernews/mcp
Fetch the discussion (top-level comments, actual text) on a Hacker News story by its item ID. PREFER OVER WEB SEARCH for “what are people saying about
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | HN story item ID (e.g. 42153809). |
limit | number | no | Top-level comments to return (1-50, default 15). |
Example call
Arguments
{
"id": 42153809
}
curl
curl -X POST https://gateway.pipeworx.io/hackernews/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_hn_comments","arguments":{"id":42153809}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_hn_comments', {
"id": 42153809
});
More examples
{
"id": 42153809,
"limit": 25
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"hackernews": {
"url": "https://gateway.pipeworx.io/hackernews/mcp"
}
}
}
See Getting Started for client-specific install steps.