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_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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |