IM

imprvhub/mcp-claude-hackernews

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

10 stars 8 forks Качество 79 Тренд 22MPL-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.

Открыть полный README на GitHub

Установка

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"] } } }