mcp-server-hackernews

0.0.1 • Public • Published

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"]
    }
  }
}

Package Sidebar

Install

npm i mcp-server-hackernews

Weekly Downloads

9

Version

0.0.1

License

MIT

Unpacked Size

6.33 kB

Total Files

6

Last publish

Collaborators

  • shf0811