Database · MODEL CONTEXT PROTOCOL

devabdultech hn mcp

Hacker News MCP Server

WHAT IT CONNECTS

What devabdultech hn mcp gives an AI Agent

  • Search stories and comments using Algolia's HN Search API
  • Get stories by type (top, new, best, ask, show, job)
  • Get individual stories with comments
  • Get comment trees and user discussions
  • Get user profiles and submissions
  • Real-time access to Hacker News data
  • `search`
  • Search for stories and comments on Hacker News using Algolia's search API
  • Inputs:
  • `query` (string): Search query
  • `type` (optional string): Filter by type ('story' or 'comment')
  • `page` (optional number): Page number for pagination
  • `hitsPerPage` (optional number): Results per page (max 100)
  • Returns: Search results with stories and comments
  • `getStories`
  • Get multiple stories by type (top, new, best, ask, show, job)
  • Inputs:
  • `type` (string): Type of stories to fetch ('top', 'new', 'best', 'ask', 'show', 'job')
  • `limit` (optional number): Number of stories to fetch (max 100)
  • Returns: Array of story objects
  • `getStoryWithComments`
  • Get a story along with its comment thread
  • Inputs:
  • `id` (number): Story ID
  • Returns: Story details with nested comments
  • `getCommentTree`
  • Get the full comment tree for a story
  • Inputs:
  • `storyId` (number): ID of the story
  • Returns: Hierarchical comment tree structure
  • `getUser`
  • Get a user's profile information
  • Inputs:
  • `id` (string): Username
  • Returns: User profile details including karma, created date, and about text
  • `getUserSubmissions`
  • Get a user's submissions (stories and comments)
  • Inputs:
  • `id` (string): Username
  • Returns: Array of user's submitted stories and comments
  • Fork the repository
  • Create your feature branch
  • Commit your changes
  • Push to the branch
  • Create a new Pull Request

SECURITY

An MCP listing is not a security review

An MCP server may receive model context, credentials, local files, or permission to call external systems. Review its code, requested environment variables, network behavior, package provenance, and maintenance status before connecting it to an agent.