H

Hn Server

An MCP server that provides Hacker News content acquisition services, supports querying multiple story types and returns structured data.
2.5 points
43

What is the Hacker News MCP Server?

The Hacker News MCP server is a tool based on the Model Context Protocol (MCP) that can obtain different types of stories (such as popular, latest, Q&A, showcase, and job opportunities) from Hacker News. It parses the HTML pages of Hacker News and returns structured data.

How to Use the Hacker News MCP Server?

Users can add the server to the MCP settings through a configuration file and then obtain the required story data through natural language queries or commands.

Applicable Scenarios

Suitable for developers, news enthusiasts, and users who need to obtain popular Hacker News content in real - time.

Main Features

Support Multiple Story TypesIt can obtain various types of stories from Hacker News, such as popular, latest, Q&A, showcase, and job opportunities.
Structured Data OutputReturns structured data including title, URL, number of upvotes, author, timestamp, and number of comments.
Customizable Story Quantity LimitUsers can set the upper limit of the number of stories to be returned according to their needs.
Powerful Error HandlingProvides detailed error information and friendly user feedback.

Advantages and Limitations

Advantages
Supports multiple story types to meet diverse needs.
The returned data is structured, facilitating further analysis and use.
Built - in error handling mechanism ensures high reliability.
Open - source and easy to integrate into other tools.
Limitations
Requires a certain network environment support and may be affected by network latency.
Relies on the public API and HTML page structure of Hacker News. If the page structure changes, the function may be affected.
Only supports interaction through the MCP protocol.

How to Use

Install the Server
Clone the code repository and install the necessary dependencies.
Configure MCP Settings
Add the server configuration to the MCP settings.
Use the Tool to Get Stories
Obtain the required story data through natural language queries or commands.

Usage Examples

Case Title: Get Top StoriesThe user wants to get the top stories from Hacker News.
Case Title: Get Latest StoriesThe user wants to get the latest stories from Hacker News.

Frequently Asked Questions

How to install the Hacker News MCP server?
How to query stories on Hacker News?
What if the server doesn't work properly?

Related Resources

GitHub Code Repository
The open - source code repository for the Hacker News MCP server.
MCP Official Documentation
Learn detailed information about the MCP protocol.
Hacker News Official Website
Visit the official website of Hacker News.
Installation
Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
823
4.3 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
79
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
130
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
554
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.6K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
745
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase