Labsco
imprvhub logo

MCP Claude Hacker News

โ˜… 11

from imprvhub

Interact with Hacker News through the Model Context Protocol (MCP), designed for Claude Desktop.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

MCP Claude Hacker News

Trust Score smithery badge

<table style="border-collapse: collapse; width: 100%; table-layout: fixed;"> <tr> <td style="padding: 15px; vertical-align: middle; border: none; text-align: center;"> <a href="https://mseep.ai/app/imprvhub-mcp-claude-hackernews"> <img src="https://mseep.net/pr/imprvhub-mcp-claude-hackernews-badge.png" alt="MseeP.ai Security Assessment Badge" /> </a> </td> <td style="width: 40%; padding: 15px; vertical-align: middle; border: none;">An integration that allows Claude Desktop to interact with Hacker News using the Model Context Protocol (MCP).</td> <td style="width: 60%; padding: 0; vertical-align: middle; border: none; min-width: 300px; text-align: center;"><a href="https://glama.ai/mcp/servers/@imprvhub/mcp-claude-hackernews"> <img style="max-width: 100%; height: auto; min-width: 300px;" src="https://glama.ai/mcp/servers/@imprvhub/mcp-claude-hackernews/badge" alt="mcp-claude-hackernews MCP server" /> </a></td> </tr> </table>

Features

  • Browse latest stories from Hacker News
  • View top and best-rated stories
  • Get story details
  • Read comments for stories
  • Clean formatting of Hacker News content for better readability

Demo

<p> <a href="https://www.youtube.com/watch?v=SmPD6MLifJo"> <img src="public/assets/preview.png" width="600" alt="Claude Spotify Integration Demo"> </a> </p>

Available Tools

The Hacker News MCP provides 5 specialized tools for different functions:

ToolDescriptionParametersExample Usage
hn_latestGet the most recent stories from Hacker Newslimit: Optional number of stories (1-50, default: 10)Get 20 latest stories
hn_topGet the top-ranked stories from Hacker Newslimit: Optional number of stories (1-50, default: 10)Get 15 top stories
hn_bestGet the best stories from Hacker Newslimit: Optional number of stories (1-50, default: 10)Get 25 best stories
hn_storyGet detailed information about a specific storystory_id: Required story ID (number)Get story details by ID
hn_commentsGet comments for a storystory_id: Story ID (number) OR story_index: Index from last list (1-based)Get comments by story ID or index

Tool Parameters Details

hn_latest, hn_top, hn_best

  • limit (optional): Number of stories to fetch
    • Type: Number
    • Range: 1-50
    • Default: 10

hn_story

  • story_id (required): The ID of the story to fetch
    • Type: Number
    • Example: 12345678

hn_comments

  • story_id (optional): The ID of the story to get comments for
    • Type: Number
    • Example: 12345678
  • story_index (optional): The index of the story from the last fetched list
    • Type: Number (1-based)
    • Example: 3 (for the 3rd story in the last list)

Note: For hn_comments, you must provide either story_id OR story_index

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the Mozilla Public License 2.0 - see the LICENSE file for details.

Related Links