Hn MCP server
io.github.wei/hn-mcp-server·v1.1.0·7 starsModel Context Protocol server for HackerNews API access.
7 stars
Reviews
Write oneNobody has reviewed Hn yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Hn tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
get-front-pageRetrieve posts currently on the HackerNews front page. Returns stories sorted by HackerNews ranking algorithm. The front page typically contains the most popular and trending stories. Supports: - Pagination to view beyond the first page - Customizable results per page (default: 30) - All posts are tagged with 'front_page' Examples: - Get first page: { } - Get with custom page size: { "hitsPerPage"
get-itemRetrieve detailed information about a specific HackerNews item by ID. Returns complete item details including the full nested comment tree. Use this to: - View a story with all comments - Read a specific comment with its replies - Explore discussion threads in depth - Get complete metadata for any item Features: - Full nested comment tree (all levels) - Complete item metadata (title, url, text, po
get-latest-postsRetrieve the most recent HackerNews posts sorted by date. Returns posts in chronological order (newest first), including all types of content unless filtered. Supports: - Filter by content type using tags (story, comment, poll, show_hn, ask_hn, etc.) - Pagination to view older posts - Customizable results per page (default: 20) - Empty query to get all recent posts Examples: - Get latest stories:
get-userRetrieve public profile information for a HackerNews user. Returns user profile including karma, bio, and account creation date. Use this to: - Check user reputation (karma score) - Read user bio and about information - See when account was created - Verify user existence before searching their content Features: - Username (case-sensitive) - Karma score (total upvotes received) - About/bio text (m
search-postsSearch HackerNews for stories, comments, and other content by keyword. Supports: - Keyword search across titles, text, and authors - Tag filtering (story, comment, poll, show_hn, ask_hn, front_page, author_USERNAME) - Numeric filters for points, comments, and dates - Pagination with customizable results per page - Advanced filtering with OR logic and multiple conditions Basic Examples: - Search fo
Public scan report
scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it
- Code scan21 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 353 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Hn compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 4,460 AI and agents servers
- Tools
- 5
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 7
- more than 81% of 2,711 AI and agents servers
What its tools let an agent do: 5 read
Install Hn in Claude Code, Cursor or VS Code
Runs npx -y hn-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add hn-mcp-server -- npx -y hn-mcp-server
Hn: common questions
- Is Hn MCP server safe?
- Mostly: it is graded B (75/100). Read the Hn safety report
- How do I install Hn?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Hn need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Hn maintained?
- The last commit was 387 days ago (2025-10-13). The latest release is v1.1.0.
- How does Hn compare with other AI and agents MCP servers?
- safety score 75/100 (higher than 45% of 4,460 AI and agents servers); tools 5 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.