HN-MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HN_MCP_HTTP | No | Run as HTTP server instead of stdio | false |
| HN_MCP_PORT | No | HTTP server port | 3000 |
| HN_MCP_NO_CACHE | No | Disable caching for real-time data | false |
| HN_MCP_RATE_LIMIT | No | Override rate limit (requests/minute) | 300 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| browse_storiesB | Browse Hacker News stories by type. Returns story list with scores, comments, and metadata. |
| search_hnA | Search Hacker News stories and comments. Returns matching content with relevance scores. |
| get_story_detailsB | Get a Hacker News story with its comments. Fetches full story content and comment threads. |
| user_analysisB | Analyze a Hacker News user's profile, karma, and recent submissions. |
| hn_explainB | Get explanations of Hacker News terms, culture, and conventions. |
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/karanb192/hn-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server