Get top stories
get_top_storiesRetrieve the current Hacker News front-page stories with summaries. Use for top or popular stories without authentication.
Instructions
Fetches the current Hacker News front-page/topstories ranking from the public Firebase API and returns story summaries, unlike search_stories keyword lookup or get_item_thread discussion expansion. Read-only, idempotent, and unauthenticated; the client caches GET responses in memory for 60 seconds and throttles upstream HN/Algolia requests to 10 requests/second with a burst of 20, while upstream HTTP, rate-limit, or response-shape failures are returned as tool errors. Use for "top", "front page", or currently popular stories; use get_new_stories for newest submissions, get_best_stories for HN best ranking, search_stories for keywords, and get_item_thread for a known item ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of stories to return. Defaults to 10; valid range is 1 to 30. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stories | Yes | ||
| returned | Yes |