get_hn_comments
Pack: hackernews · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_hn_comments for the schema, then POST the same URL with its arguments for the data.
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": 8863
}
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":8863}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_hn_comments', {
"id": 8863
});
More examples
{
"id": 8863,
"limit": 25
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the hackernews pack
{
"mcpServers": {
"hackernews": {
"url": "https://gateway.pipeworx.io/hackernews/mcp"
}
}
}
See Getting Started for client-specific install steps.