🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@fre4x/hn

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fre4x/hn

A Hacker News MCP server for LLMs.

npmnpm
Version
1.1.2
Version published
Weekly downloads
28
-73.08%
Maintainers
1
Weekly downloads
 
Created
Source

hn — The Street Pulse

Every revolution began as a comment. This B1TE listens before it acts.

Part of FRE4X-B1TE — a monorepo of MCP servers built for autonomous agents.

Hacker News is where technologists think out loud. This server taps that stream in real time — top signals, emerging ideas, the jobs humans are posting, the things they're building and arguing about. An informed agent is a dangerous agent.

Tools

ToolWhat it reads
hn_get_top_storiesCurrent top stories (paginated)
hn_get_new_storiesNewest submissions (paginated)
hn_get_best_storiesAll-time best stories (paginated)
hn_get_ask_storiesAsk HN threads (paginated)
hn_get_show_storiesShow HN threads (paginated)
hn_get_job_storiesJob postings (paginated)
hn_get_itemFull details for any item — story, comment, poll
hn_get_userUser profile and karma
hn_get_updatesIDs of recently changed items and profiles
hn_get_max_itemLatest item ID — the frontier of the stream

All tools return paginated Markdown or JSON. Token limit enforced at ~3,000 tokens per response.

Mock Mode

Run without any API key (returns fixture data of identical shape):

MOCK=true npx @fre4x/hn

Deploy

{
  "mcpServers": {
    "hackernews": {
      "command": "npx",
      "args": ["-y", "@fre4x/hn"]
    }
  }
}

Development

npm install
npm run dev      # tsx, no build
npm run build    # esbuild → dist/
npm test         # vitest unit tests

License

MIT — WE ARE THE FRE4X.

Keywords

mcp

FAQs

Package last updated on 24 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts