IM

imprvhub/mcp-claude-hackernews

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

10 stars 8 forks 品質 79 トレンド 32MPL-2.0

An integration that allows Claude Desktop to interact with Hacker News using the Model Context Protocol (MCP).

概要

An integration that allows Claude Desktop to interact with Hacker News using the Model Context Protocol (MCP). - Browse latest stories from Hacker News - View top and best-rated stories - Search stories by keyword, by relevance or most recent (Algolia HN Search API) - Get story details - Read comments for stories, capped so a busy thread cannot flood the context - Clean formatting of Hacker News content for better readability, including HTML entity decoding - Node.js 20 or higher - Claude Desktop - Internet connection to access Hacker News API Install the packaged bundle from the Smithery server page, or from the CLI: There are two ways to run the MCP server: 1. Open a terminal or command prompt 2. Navigate to the project directory 3. Run the server directly: Keep this terminal window open while using Claude Desktop. The server will run until you close the terminal. The Claude Desktop can automatically start the MCP server when needed. To set this up:

README

以下は原文 README の抜粋です。原文を見る。

MCP Claude Hacker News

Features

  • Browse latest stories from Hacker News
  • View top and best-rated stories
  • Search stories by keyword, by relevance or most recent (Algolia HN Search API)
  • Get story details
  • Read comments for stories, capped so a busy thread cannot flood the context
  • Clean formatting of Hacker News content for better readability, including HTML entity decoding

Demo

Requirements

  • Node.js 20 or higher
  • Claude Desktop
  • Internet connection to access Hacker News API

Installation

Installing via Smithery

Install the packaged bundle from the Smithery server page, or from the CLI:

npx -y @smithery/cli@latest mcp add imprvhub/mcp-claude-hackernews --client claude

Installing Manually

  1. Clone or download this repository:
git clone https://github.com/imprvhub/mcp-claude-hackernews
cd mcp-claude-hackernews
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Running the MCP Server

There are two ways to run the MCP server:

Option 1: Running manually

  1. Open a terminal or command prompt
  2. Navigate to the project directory
  3. Run the server directly:
node build/index.js

Keep this terminal window open while using Claude Desktop. The server will run until you close the terminal.

GitHub で README 全文を見る

インストール

npx -y @smithery/cli@latest mcp add imprvhub/mcp-claude-hackernews --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "hackerNews": { "command": "node", "args": ["ABSOLUTE_PATH_TO_DIRECTORY/mcp-claude-hackernews/build/index.js"] } } }