Back to MCP Directory
Hn
Model Context Protocol low risk

Hn

The Hacker News MCP server provides tools to fetch stories, comments, user info, and search Hacker News, enabling users to stay informed about tech and current events.

Connections & Capabilities

Connects To

Puppeteer

Capabilities

read

Quickstart

Install

npx -y @smithery/cli install mcp-hn --client claude

Config

{
  "mcpServers": {
    "mcp-hn": {
      "command": "uvx",
      "args": ["mcp-hn"]
    }
  }
}

Exposed MCP Tools (4)

safe
get_stories

Fetches the top, new, ask_hn, or show_hn stories from Hacker News.

Read-only operation, no data modification.

safe
get_story_info

Fetches comments associated with a specific Hacker News story.

Read-only operation, no data modification.

safe
search_stories

Searches for Hacker News stories based on a user-provided query.

Read-only operation, no data modification.

safe
get_user_info

Fetches information about a specific Hacker News user.

Read-only operation, no data modification.

Safety Assessment

This MCP server is generally safe due to its read-only nature and limited scope. However, users should be aware of potential information overload and reliance on the Hacker News API. It is safe to use as long as the user is aware of the limitations.

  • Read-only access to Hacker News data
  • No write or delete operations
  • No authentication required
  • Limited scope of tools
  • Potential for information overload
  • Reliance on Hacker News API availability
  • No input validation or sanitization is mentioned
  • Rate limiting not explicitly addressed