🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@fre4x/hn

Package Overview
Dependencies
Maintainers
1
Versions
44
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.

latest
npmnpm
Version
1.1.1
Version published
Maintainers
1
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
get_top_storiesCurrent top stories (paginated)
get_new_storiesNewest submissions (paginated)
get_best_storiesAll-time best stories (paginated)
get_ask_storiesAsk HN threads (paginated)
get_show_storiesShow HN threads (paginated)
get_job_storiesJob postings (paginated)
get_itemFull details for any item — story, comment, poll
get_userUser profile and karma
get_updatesIDs of recently changed items and profiles
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 08 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