Skip to main content
Glama

mcp-hn

by erithwik
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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/erithwik/mcp-hn'

If you have feedback or need assistance with the MCP directory API, please join our Discord server