PM

paablolc/mcp-hacker-news

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

34 stars 4 forks 품질 55 트렌드 12

이 MCP 서버는 Claude와 Cursor와 같은 모델 콘텍스트 프로토콜을 지원하는 공식 해커 뉴스 API 및 AI 전원 도구 사이의 다리 역할을합니다.

개요

TypeScript에 내장된 Hacker News에 대한 Model Context Protocol (MCP) 서버. 이 MCP 서버는 Claude와 Cursor와 같은 모델 콘텍스트 프로토콜을 지원하는 공식 해커 뉴스 API 및 AI 전원 도구 사이의 다리 역할을합니다. 그것은 표준화 된 MCP 엔드 포인트를 통해 라이브 해커 뉴스 데이터 (posts, 코멘트, 사용자)와 fetch 및 상호 작용하는이 도구를 가능하게합니다. Claude Desktop config (claude desktop config.json) 또는 Cursor config 파일에 추가 (mcp.json) : - 공식 해커 뉴스 API와 통합하여 게시물, 의견 및 사용자 정보. - Claude, Cursor 및 기타 LLM 기반 도구와 원활한 통합을위한 표준 모델 콘텍스 프로토콜 엔드 포인트를 노출합니다. - AI 및 자동화 워크플로우에 대한 최신 해커 뉴스 데이터. - Node.js가 필요합니다. - npm 또는 pnpm 패키지 관리자로. ⚠️ Node.js 버전에 대해 알려지지 않은 경우, 노드 실행 --버전을 터미널에서 실행합니다. v18.x.x 또는 더 높은 표시를 확인합니다. Node를 업그레이드하는 방법.

개요(AI 번역)

TypeScript에 내장된 Hacker News에 대한 Model Context Protocol (MCP) 서버.

이 MCP 서버는 Claude와 Cursor와 같은 모델 콘텍스트 프로토콜을 지원하는 공식 해커 뉴스 API 및 AI 전원 도구 사이의 다리 역할을합니다.

그것은 표준화 된 MCP 엔드 포인트를 통해 라이브 해커 뉴스 데이터 (posts, 코멘트, 사용자)와 fetch 및 상호 작용하는이 도구를 가능하게합니다.

Claude Desktop 또는 Cursor 사용

Claude 데스크톱 설정에 추가 (claude_desktop_config.json) 또는 Cursor 설정 파일 (mcp.json) :

특징

  • 공식 해커 뉴스 API와 통합하여 게시물, 의견 및 사용자 정보.
  • Claude, Cursor 및 기타 LLM 기반 도구와 원활한 통합을위한 표준 모델 콘텍스 프로토콜 엔드 포인트를 노출합니다.
  • AI 및 자동화 워크플로우에 대한 최신 해커 뉴스 데이터.

요구 사항

  • Node.jsversion 18 이상가 필요합니다.
  • npm 또는 pnpm 패키지 관리자로.

⚠️ Node.js 버전에 대해 알려지지 않은 경우, 터미널에서 node --version를 실행합니다. v18.x.x이상을 보여줍니다. Node.js를 업그레이드하는 방법


기여하시겠습니까? 아래 단계를 따르십시오.

# 저장소를 복제하고 의존성을 설치하십시오:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

mcp-hacker-news

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

This MCP server acts as a bridge between the official Hacker News API and AI-powered tools that support the Model Context Protocol, such as Claude and Cursor.

It enables these tools to fetch and interact with live Hacker News data (posts, comments, users) via standardized MCP endpoints.

Using with Claude Desktop or Cursor

Add to your Claude desktop config (claude_desktop_config.json) or your Cursor config file (mcp.json) :

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

Features

  • Integrates with the official Hacker News API to fetch posts, comments, and user information.
  • Exposes standard Model Context Protocol endpoints for seamless integration with Claude, Cursor, and other LLM-based tools.
  • Fetches the latest Hacker News data for AI and automation workflows.

Requirements

  • Node.js version 18 or higher is required.
  • npm or pnpm as a package manager.

⚠️ If you are unsure about your Node.js version, run node --version in your terminal. Make sure it shows v18.x.x or higher.
How to upgrade Node.js


Want to contribute? Just follow the steps below

Clone the repository and install dependencies:
git clone https://github.com/paablolc/mcp-hacker-news.git
cd mcp-hacker-news
pnpm install
pnpm build
  • To test the server with the MCP Inspector:
pnpm inspector
  • or, if running from the source:
npx @modelcontextprotocol/inspector node dist/index.js

Resources

This MCP server exposes the following fixed resources, each corresponding to a core Hacker News endpoint:

Resource URI Description Hacker News API Endpoint
hackernews://top Top stories /v0/topstories
hackernews://new Newest stories /v0/newstories
hackernews://best Best (algorithmic) stories /v0/beststories

These three collections match the main list endpoints officially provided by the Hacker News API.

GitHub에서 전체 README 보기

설치

npx -y mcp-hacker-news
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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