
imprvhub/mcp-claude-hackernews
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
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
- Clone or download this repository:
git clone https://github.com/imprvhub/mcp-claude-hackernews
cd mcp-claude-hackernews
- Install dependencies:
npm install
- Build the project:
npm run build
Running the MCP Server
There are two ways to run the MCP server:
Option 1: Running manually
- Open a terminal or command prompt
- Navigate to the project directory
- 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.
Option 2: Auto-starting with Claude Desktop (recommended for regular use)
Установка
npx -y @smithery/cli@latest mcp add imprvhub/mcp-claude-hackernews --client claudeКонфигурация
{
"mcpServers": {
"hackerNews": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_DIRECTORY/mcp-claude-hackernews/build/index.js"]
}
}
}