Skip to main content
Glama
sam3690
by sam3690

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug logging. Set to '1' to enable, '0' to disable.0

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_stories

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

search_by_date

Search Hacker News content sorted by date (most recent first). Useful for finding latest stories, comments, or posts by specific authors.

search_comments

Search Hacker News comments by text content. Can filter by author or parent story.

get_front_page

Retrieve stories currently on the Hacker News front page. Returns up to 30 stories.

get_latest_stories

Retrieve the most recently submitted stories, sorted by date descending.

get_ask_hn

Retrieve Ask HN posts (questions to the HN community), sorted by date descending.

get_show_hn

Retrieve Show HN posts (projects shared with the HN community), sorted by date descending.

get_story

Retrieve a specific story by ID with full nested comment tree. Returns complete story details including all comments and replies.

get_user

Retrieve a user profile by username. Returns karma, account creation date, and bio.

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

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