hn_get_stories
ActiveTool of @cyanheads/hn-mcp-server
declared in 0.5.11
Fetch stories from an HN feed (top, new, best, ask, show, jobs), with title, URL, score, author, and comment count for each story.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"feed"
],
"properties": {
"feed": {
"enum": [
"top",
"new",
"best",
"ask",
"show",
"jobs"
],
"type": "string",
"description": "Which HN feed to fetch. \"top\" includes jobs. \"ask\" and \"show\" are Ask HN / Show HN posts."
},
"count": {
"type": "number",
"default": 30,
"maximum": 100,
"minimum": 1,
"description": "Number of stories to return. Larger counts take longer."
},
"offset": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Number of stories to skip from the start of the feed. Use with count for pagination."
}
}
}Parent server
@cyanheads/hn-mcp-server
https://github.com/cyanheads/hn-mcp-server
2/7 registries