Skip to main content
Glama
joeswann

Hacker News MCP Server

by joeswann

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HN_USERNAMENoOptional HN username for context
HN_API_BASE_URLNoFirebase API endpointhttps://hacker-news.firebaseio.com/v0
HN_ALGOLIA_BASE_URLNoAlgolia search endpointhttps://hn.algolia.com/api/v1

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_storiesA

Browse Hacker News feeds (top, new, best, ask, show, job) with pagination. Returns titles, URLs, scores, and metadata.

get_itemA

Get any Hacker News item by ID (story, comment, job, poll). Returns full details including text content.

get_commentsA

Get threaded comments for a Hacker News story. Returns comments with indentation showing reply depth. Skips dead and deleted comments.

searchB

Search Hacker News using Algolia. Search stories, comments, or all items by relevance or date.

get_userA

Get a Hacker News user profile by username. Returns karma, account age, about text, and submission count.

get_user_submissionsB

Get recent submissions from a Hacker News user. Can filter by stories or comments.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/joeswann/hackernews-mcp'

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