mcp-hn

MIT License
6
  • Apple

get_stories

Fetch Hacker News stories by type (top, new, ask_hn, show_hn) and specify the number of stories to retrieve. Excludes comments; use get_story_info for detailed story data.

Instructions

Get stories from Hacker News. The options are top, new, ask_hn, show_hn for types of stories. This doesn't include the comments. Use get_story_info to get the comments.

Input Schema

NameRequiredDescriptionDefault
num_storiesNoNumber of stories to get
story_typeNoType of stories to get, one of: `top`, `new`, `ask_hn`, `show_hn`

Input Schema (JSON Schema)

{ "properties": { "num_stories": { "description": "Number of stories to get", "type": "integer" }, "story_type": { "description": "Type of stories to get, one of: `top`, `new`, `ask_hn`, `show_hn`", "type": "string" } }, "type": "object" }

You must be authenticated.

Other Tools from mcp-hn

Related Tools

ID: e0rco8dfgt