Hacker News Companion MCP

by georgeck
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

해커 뉴스 컴패니언 MCP

Claude를 사용하여 Hacker News 토론을 요약하기 위한 모델 컨텍스트 프로토콜(MCP)입니다.

개요

이 MCP는 해커 뉴스 토론을 가져와 처리하여 클로드가 고품질 요약을 생성하는 데 사용할 수 있는 형식으로 정리합니다. 댓글의 계층 구조와 메타데이터(점수, 비추천 등)를 모두 처리하여 클로드가 여러 댓글의 상대적 중요도와 관계를 이해하는 데 도움을 줍니다.

특징

  • 해커 뉴스 URL 또는 게시물 ID 처리
  • HN에서 댓글 구조를 다운로드하고 분석하세요
  • 커뮤니티 참여에 따른 점수 댓글
  • Claude의 요약에 최적화된 데이터 형식

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 Hacker News Companion을 자동으로 설치하는 방법:

지엑스피1

수동 설치

  1. 저장소를 복제합니다.
    git clone https://github.com/yourusername/hn-companion-mcp.git cd hn-companion-mcp
  2. 종속성 설치:
    npm install

용법

CLI

node index.js <post-id-or-url>

예:

node index.js 43448075 # or node index.js https://news.ycombinator.com/item?id=43448075

API 서버

서버를 시작합니다:

npm start

요청하기:

curl -X POST http://localhost:3000/api/summarize \ -H "Content-Type: application/json" \ -d '{"input": "https://news.ycombinator.com/item?id=43448075"}'

API 참조

POST /api/summarize

요청 본문:

{ "input": "https://news.ycombinator.com/item?id=43448075" }

응답:

{ "status": "success", "data": { "systemPrompt": "...", "userPrompt": "...", "commentPathIdMapping": { ... }, "postTitle": "...", "postId": "...", "commentCount": 123 } }

Claude와의 통합

이 MCP는 Claude가 요약할 데이터를 준비하도록 설계되었습니다. 사용자가 Claude에게 Hacker News 토론 요약을 요청하면 Claude는 이 MCP를 호출하여 형식화된 데이터를 가져온 다음, 제공된 시스템 및 사용자 프롬프트를 기반으로 요약을 생성할 수 있습니다.

"hn-companion": { "command": "node", "args": ["<full path to src>/hn-companion-mcp/server.js"] } }

특허

MIT

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

클로드가 고품질 요약을 생성할 수 있도록 해커 뉴스 토론을 가져와 처리하고, 클로드가 다양한 댓글의 상대적 중요성을 이해하도록 돕기 위해 댓글 구조와 메타데이터를 처리합니다.

  1. Overview
    1. Features
      1. Installation
        1. Installing via Smithery
        2. Manual Installation
      2. Usage
        1. CLI
        2. API Server
      3. API Reference
        1. POST /api/summarize
      4. Integration with Claude
        1. License
          ID: rngu6hfthm