Sign inSign up

mcp/hackernews-mcp

Verified Publisher

By mcp

•Updated about 1 year ago

A Model Context Protocol (MCP) server that provides access to Hacker News stories, comments, and ...

Image
Machine learning & AI
1

50K+

mcp/hackernews-mcp repository overview

⁠Hacker News MCP Server

A Model Context Protocol (MCP) server that provides access to Hacker News stories, comments, and user data, with support for search and content retrieval.

What is an MCP Server?⁠

⁠MCP Info

⁠Image Building Info

AttributeDetails
Dockerfilehttps://github.com/AayushBahukhandi/hackernews-mcp/blob/b3d01052c2bc1f01d890b4e5d0d22a55fe5dadcd/Dockerfile⁠
Commitb3d01052c2bc1f01d890b4e5d0d22a55fe5dadcd
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/hackernews-mcp --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
Licence

⁠Available Tools (4)

Tools provided by this ServerShort Description
get_storiesGet stories from Hacker News.
get_story_infoGet detailed story info from Hacker News, including the comments
get_user_infoGet user info from Hacker News, including the stories they've submitted
search_storiesSearch stories from Hacker News.

⁠Tools Details

⁠Tool: get_stories

Get stories from Hacker News. The options are top, new, ask_hn, show_hn for types of stories. This doesn't include the comments. Use get_story_info to get the comments.

ParametersTypeDescription
num_storiesinteger optionalNumber of stories to get
story_typestring optionalType of stories to get, one of: top, new, ask_hn, show_hn

⁠Tool: get_story_info

Get detailed story info from Hacker News, including the comments

ParametersTypeDescription
story_idintegerStory ID

⁠Tool: get_user_info

Get user info from Hacker News, including the stories they've submitted

ParametersTypeDescription
user_namestringUsername of the user
num_storiesinteger optionalNumber of stories to get, defaults to 10

⁠Tool: search_stories

Search stories from Hacker News. It is generally recommended to use simpler queries to get a broader set of results (less than 5 words). Very targeted queries may not return any results.

ParametersTypeDescription
querystringSearch query
num_resultsinteger optionalNumber of results to get
search_by_dateboolean optionalSearch by date, defaults to false. If this is false, then we search by relevance, then points, then number of comments.

⁠Use this MCP Server

{
  "mcpServers": {
    "mcp-hackernews": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "mcp/hackernews-mcp"
      ]
    }
  }
}

Why is it safer to run MCP Servers with Docker?⁠

Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:2e5c5cc89…

Size

81.6 MB

Last updated

about 1 year ago

docker pull mcp/hackernews-mcp

This week's pulls

Pulls:

219

Last week