HackerNews MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DEBUG | No | Enable debug logging. Set to '1' to enable, '0' to disable. | 0 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_storiesA | Search Hacker News stories by relevance. Returns stories matching the query, sorted by relevance score, points, and comment count. |
| search_by_dateB | Search Hacker News content sorted by date (most recent first). Useful for finding latest stories, comments, or posts by specific authors. |
| search_commentsB | Search Hacker News comments by text content. Can filter by author or parent story. |
| get_front_pageA | Retrieve stories currently on the Hacker News front page. Returns up to 30 stories. |
| get_latest_storiesB | Retrieve the most recently submitted stories, sorted by date descending. |
| get_ask_hnB | Retrieve Ask HN posts (questions to the HN community), sorted by date descending. |
| get_show_hnB | Retrieve Show HN posts (projects shared with the HN community), sorted by date descending. |
| get_storyA | Retrieve a specific story by ID with full nested comment tree. Returns complete story details including all comments and replies. |
| get_userB | Retrieve a user profile by username. Returns karma, account creation date, and bio. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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