Hn MCP Server

Browse Hacker News feeds, threads, and user profiles with full-text search via MCP. STDIO or Streamable HTTP. Its 5 documented tools cluster into stories, thread, user, content.

People connecting this server to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-25 · ★ 4 · #160 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

Apache-2.0 · TypeScript servers · how we verify → /methodology

01 · Install Hn MCP Server

before you install - you'll need

Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL before connecting.

Claude Code

claude mcp add cyanheads-hn-mcp-server --transport http https://hn.caseyjhand.com/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cyanheads-hn-mcp-server": {
      "url": "https://hn.caseyjhand.com/mcp"
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

https://hn.caseyjhand.com/mcp

transport: streamable-http

endpoint alive - responded to MCP initialize · probed 2026-08-25

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions · remote - your agent's requests go to hn.caseyjhand.com

endpoint auth accepted our unauthenticated MCP initialize - no credentials needed to connect

license Apache-2.0 - declared in the repository

npm package @cyanheads/hn-mcp-server - published under the repo owner's npm scope (@cyanheads)

registry namespace io.github.cyanheads is GitHub-verified and matches the repo owner

03 · What Hn MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Capability map

Tools grouped from the project's README - what Hn MCP Server lets an agent do.

Stories

1 tool - e.g. Fetch stories from an HN feed (top, new, best, ask, show, jobs) with pagination.

hn_get_stories

Thread

1 tool - e.g. Get an item and its comment tree as a threaded discussion with depth/count controls.

hn_get_thread

User

1 tool - e.g. Fetch a user profile with karma, about, and optionally a page of their submissions.

hn_get_user

Content

1 tool - e.g. Search stories and comments via Algolia with type, author, date, and score filters.

hn_search_content

read & search

1 tool - e.g. "compact" drops the two body-text fields (text, highlights.text), which otherwise repeat a long comment twice per hit - pass a hit id to hn_get_thread to read t

view

Latest releases

v0.5.14 · 2026-08-25

MCP SDK v2 compatibility and stateless HTTP serving · HTTP serves protocol revision 2026-07-28 and the 2025 era, rejects undeclared tool inputs, and advertises structured tool errors. · Container and self-hosted…

v0.5.13 · 2026-07-28

submission paging, compact search view, upstream error classification · Adds two additive capabilities and improves error fidelity, all · backward-compatible. · hn_get_user: submissionOffset pages through a full…

v0.5.12 · 2026-07-28

Input validation, Algolia page count, username encoding, mcp-ts-core 0.11.0 · reject fractional and blank/whitespace-only tool inputs (#9, #10) · hn_search_content reports Algolia's own page count instead of a…

04 · Who maintains Hn MCP Server

hn-mcp-server is maintained by cyanheads. We track 125 MCP servers from cyanheads - 124 actively maintained, 1,730 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from cyanheads.

  1. mcp-ts-core Agent-native TypeScript framework for building MCP servers with declarative definitions. ★ 148
  2. obsidian-mcp-server Read, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP. ★ 668
  3. git-mcp-server Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more. ★ 235
  4. pubmed-mcp-server Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms. ★ 137
  5. clinicaltrialsgov-mcp-server Search ClinicalTrials.gov - find studies, retrieve results, match patients to eligible trials. ★ 90
  6. mcp-ts-template TypeScript template for building MCP servers with declarative tooling, observability, and auth. ★ 148

05 · Facts

category
other - ranked #160 of 848 actively-maintained other servers as of 2026-08-25.
release cadence
9 releases in the last 90 days (latest 2026-08-25)
registry
io.github.cyanheads/hn-mcp-server (active, first published 2026-03-22 · 29 versions)
packages
npm:@cyanheads/hn-mcp-server · npm:@cyanheads/hn-mcp-server

06 · Hn MCP Server FAQ

Is Hn MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-25 and it shipped 9 releases in the last 90 days. We re-verify nightly.

What can Hn MCP Server do?

Its README documents 5 tools, including hn_get_stories, hn_get_thread, hn_get_user.

How do I install Hn MCP Server?

Run `npx -y @cyanheads/hn-mcp-server`. The README documents 2 environment variables (MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL) to set first. Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL before connecting. You can also paste the ready-made client config above.

Does Hn MCP Server require authentication?

No - the endpoint accepted our unauthenticated MCP initialize when probed on 2026-08-25; you can connect without credentials.

07 · Alternatives to Hn MCP Server