MCP Server for Hacker News logo

MCP Server for Hacker News

by morinokami

This is a Model Context Protocol (MCP) server designed to fetch data from Hacker News. It provides various resources to retrieve top, best, and new stories, as well as individual story and user information.

View on GitHub

Last updated: N/A

MCP Server for Hacker News

A Model Context Protocol (MCP) server for fetching Hacker News data.

Resources

  • top-stories
    • Top stories
    • Returns: an array of story IDs
  • best-stoies
    • Best stories
    • Returns: an array of story IDs
  • new-stories
    • New stories
    • Returns: an array of story IDs
  • story
    • A story
    • Input:
      • id: the ID of the story
    • Returns: a story object
  • user
    • A user
    • Input:
      • id: the ID of the user
    • Returns: a user object

Usage with Claude Desktop

{
  "mcpServers": {
    "hackernews": {
      "command": "npx",
      "args": ["-y", "mcp-server-hackernews"]
    }
  }
}