Socket
Book a DemoInstallSign in
Socket

mcp-hacker-news

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcp-hacker-news

Hacker News MCP Server

1.0.2
Source
npmnpm
Version published
Weekly downloads
671
21.34%
Maintainers
1
Weekly downloads
 
Created
Source

mcp-hacker-news

A Model Context Protocol (MCP) server implementation for Hacker News built with TypeScript.

Features

  • Fetches posts, comments, and user information from the Hacker News API
  • Exposes standard MCP server endpoints for tools and resources
  • TypeScript + ESM project structure
  • Real-time access to Hacker News data

Requirements

  • Node.js >= 16.0.0

Installation

npm install -g mcp-hacker-news

Option 2: Development Setup

Clone or copy the repository to your local folder:

git clone https://github.com/paablolc/mcp-hacker-news.git
cd mcp-hacker-news
pnpm install && pnpm build

Usage with Claude Desktop

Add to your Claude Desktop configuration (claude_desktop_config.json):

{
  "mcpServers": {
    "mcp-hacker-news": {
      "command": "npx",
      "args": ["-y", "mcp-hacker-news"]
    }
  }
}

Testing

Run with MCP Inspector:

npx @modelcontextprotocol/inspector mcp-hacker-news

Project Structure

└── src/
    ├── index.ts
    ├── resources.ts
    ├── tools.ts
    ├── fetch-actions.ts
    ├── helpers.ts
    └── types-hn.ts
├── package.json
├── pnpm-lock.yaml
├── tsconfig.json
├── .nvmrc
├── .gitignore
├── README.md

mcp-inspector

Keywords

mcp

FAQs

Package last updated on 08 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.