Hacker News MCP Server
Created at a month ago
by pskill9
Hacker news MCP server
Categories
Tags
hacker-news
mcp-server
news-fetcher
![Hacker News MCP Server](https://github.com/pskill9/hn-server/raw/main/Claude.png)
What is the Hacker News MCP Server?
The Hacker News MCP Server is a Model Context Protocol (MCP) server designed to fetch and parse stories from Hacker News, offering structured data about various types of stories available on the site.
How to use the Hacker News MCP Server?
To use the server, clone the repository from GitHub, install the required dependencies, build the server, and configure it in your MCP settings. Once set up, you can use the tool get_stories
to fetch stories based on your specifications.
Key features of the Hacker News MCP Server?
- Fetches different types of stories: top, new, ask, show, and jobs.
- Provides structured data including title, URL, points, author, timestamp, and comment counts.
- Configurable limit on the number of stories returned.
- Robust error handling and validation mechanisms.
Use cases of the Hacker News MCP Server?
- Automating the retrieval of top news stories for integration with applications.
- Developers can build tools or dashboards that display Hacker News content dynamically.
- Fetching specific types of stories, such as job postings, for job-related applications.
FAQ from the Hacker News MCP Server?
- What types of stories can I fetch?
You can fetch stories categorized as top, new, ask, show, and jobs.
- How do I install the server?
Clone the repository, run npm install, and build it with npm run build.
- Is there an example of how to use the
get_stories
tool?
Yes, you can use
get_stories
by providing the story type and limit in your natural language query with Claude.
View More