Get Stories
get_storiesFetch 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.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "new",
"count": 15
},
"name": "get_stories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Story list: top (default), new, best, ask, show, job. | |
| count | No | Number of stories to return (default 10, max 100). |