get_stories

Pack: hackernews · Endpoint: https://gateway.pipeworx.io/hackernews/mcp

Fetch Hacker News stories of a given TYPE: top (default), new (newest), best, ask (Ask HN), show (Show HN), or job (jobs/hiring). PREFER for “newest HN stories”, “top Ask HN posts”, “Show HN”, “HN job postings / who is hiring”. Returns title, URL (or self-text for Ask/Show), score, author, comment count, and timestamp.

Parameters

NameTypeRequiredDescription
typestringnoStory list: top (default), new, best, ask, show, job.
countnumbernoNumber of stories to return (default 10, max 100).

Example call

Arguments

{
  "type": "new",
  "count": 15
}

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_stories","arguments":{"type":"new","count":15}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_stories', {
  "type": "new",
  "count": 15
});

More examples

{
  "type": "ask",
  "count": 10
}
{
  "type": "job",
  "count": 20
}

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.

Regenerated from source · build August 11, 2026