Loading...

This MCP server fetches and structures Hacker News stories, providing an interface to retrieve top, new, ask, show, and job postings with configurable limits.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
This MCP server fetches and structures Hacker News stories, providing an interface to retrieve top, new, ask, show, and job postings with configurable limits.
This server is generally safe for use as it only fetches and structures data from Hacker News. The primary risk is dependency on the external Hacker News website. It is safe to use as long as the user is aware of the potential for network errors or changes in the website's structure.
Performance depends on the network connection and the response time of the Hacker News website. Limiting the number of stories fetched can improve performance.
There are no direct costs associated with using this server, as it does not require any paid APIs or services. However, excessive use could potentially lead to rate limiting by Hacker News.
npm install
```{
"mcpServers": {
"hacker-news": {
"command": "node",
"args": ["/path/to/hn-server/build/index.js"]
}
}
}get_storiesFetches stories from Hacker News based on specified type and limit.
Read-only operation; retrieves data without modifying any resources.
None
This server is generally safe for use as it only fetches and structures data from Hacker News. The primary risk is dependency on the external Hacker News website. It is safe to use as long as the user is aware of the potential for network errors or changes in the website's structure.
The server only provides read access to Hacker News data, so autonomy is limited to fetching and displaying information. No destructive actions are possible.
Production Tip
Implement caching to reduce the load on the Hacker News website and improve response times.
You can fetch 'top', 'new', 'ask', 'show', and 'jobs' stories.
The maximum limit is 30 stories.
No, this server does not require an API key.
Add the server configuration to your VSCode settings JSON file, specifying the command and arguments for running the server.
The server will return a network error if it cannot connect to Hacker News.
No, this server does not support filtering stories based on keywords. You would need to implement that functionality on the client side.
While the server itself doesn't implement rate limiting, Hacker News might impose rate limits if you make too many requests in a short period.