Skip to main content
Glama
sam3690
by sam3690

search_stories

Search Hacker News stories by relevance using queries, tags, and numeric filters to find content matching specific criteria.

Instructions

Search Hacker News stories by relevance. Returns stories matching the query, sorted by relevance score, points, and comment count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query text. Can be empty to get all stories matching tags/filters.
tagsNoOptional filter tags. Comma-separated for AND logic, use parentheses for OR: 'story', 'show_hn', 'ask_hn', 'front_page', 'author_USERNAME'. Example: 'author_pg,(story,poll)'
numericFiltersNoOptional numeric filters: 'created_at_i>X', 'points>=Y', 'num_comments>=Z'. Comma-separated for AND.
pageNoPage number (0-indexed)
hitsPerPageNoResults per page

Latest Blog Posts

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/sam3690/Hackernews_mcp'

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