Skip to main content
Glama
Hacker News MCP Server

Hacker News MCP Server

by devabdultech

해커 뉴스 MCP 서버

대장간 배지 공식 Hacker News MCP 서버 - Cursor, Claude 및 기타 LLM 클라이언트에 강력한 Hacker News 통합 기능을 추가합니다. 모델 컨텍스트 프로토콜을 통해 기사, 댓글, 사용자 프로필 및 검색 기능에 액세스할 수 있습니다.

특징

  • Algolia의 HN 검색 API를 사용하여 스토리와 댓글 검색

  • 유형별(인기, 신규, 베스트, 문의, 쇼, 직업) 스토리를 받아보세요

  • 댓글이 포함된 개별 스토리를 받아보세요

  • 댓글 트리와 사용자 토론을 받아보세요

  • 사용자 프로필 및 제출물 가져오기

  • Hacker News 데이터에 실시간으로 접근

Related MCP server: HackerNews-Search

설정

Claude Desktop에서 실행

claude_desktop_config.json 에 다음을 추가하세요:

지엑스피1

Smithery를 통해 설치

Smithery를 통해 Claude Desktop에 Hacker News MCP Server를 자동으로 설치하려면:

npx -y @smithery/cli install @devabdultech/hn-mcp --client claude

도구

  1. search

    • Algolia의 검색 API를 사용하여 Hacker News의 스토리와 댓글을 검색하세요

    • 입력: * query (문자열): 검색 쿼리 * type (선택적 문자열): 유형별 필터링('story' 또는 'comment') * page (선택적 숫자): 페이지 번호 * hitsPerPage (선택적 숫자): 페이지당 결과(최대 100개)

    • 반환: 스토리와 댓글이 포함된 검색 결과

  2. getStories

    • 유형별(인기, 신규, 최고, 문의, 쇼, 작업)로 여러 스토리를 받아보세요.

    • 입력: * type (문자열): 가져올 스토리 유형('top', 'new', 'best', 'ask', 'show', 'job') * limit (선택적 숫자): 가져올 스토리 수(최대 100개)

    • 반환: 스토리 객체 배열

  3. getStoryWithComments

    • 댓글 스레드와 함께 스토리를 받아보세요

    • 입력: * id (숫자): 스토리 ID

    • 반환: 중첩된 주석이 있는 스토리 세부 정보

  4. getCommentTree

    • 스토리에 대한 전체 댓글 트리를 얻으세요

    • 입력: * storyId (숫자): 스토리의 ID

    • 반환: 계층적 주석 트리 구조

  5. getUser

    • 사용자 프로필 정보 가져오기

    • 입력: * id (문자열): 사용자 이름

    • 반환: 카르마, 생성 날짜 및 텍스트 정보를 포함한 사용자 프로필 세부 정보

  6. getUserSubmissions

    • 사용자의 제출물(스토리 및 댓글)을 받습니다.

    • 입력: * id (문자열): 사용자 이름

    • 반환: 사용자가 제출한 스토리 및 댓글 배열

기여하다

  1. 저장소를 포크하세요

  2. 기능 브랜치를 생성하세요

  3. 변경 사항을 커밋하세요

  4. 지점으로 밀어 넣기

  5. 새로운 풀 리퀘스트 만들기

특허

이 MCP 서버는 MIT 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 라이선스 파일을 참조하세요.

에 대한

이 MCP 서버는 devabdultech 에서 구축 및 관리합니다. 공식 Hacker News API와 Algolia Search API를 사용하여 Model Context Protocol을 통해 Hacker News 데이터에 대한 포괄적인 접근을 제공합니다.

Available Tools

9 tools
getCommentA

Get a single comment by ID

Inputs: id (required).

getCommentsC

Get comments for a story

Inputs: storyId (required), limit.

getCommentTreeC

Get a comment tree for a story

Inputs: storyId (required).

getStoriesA

Get multiple stories by type (top, new, best, ask, show, job)

Inputs: type (required), limit.

getStoryA

Get a single story by ID

Inputs: id (required).

getStoryWithCommentsB

Get a story with its comments

Inputs: id (required).

getUserA

Get a user profile by ID

Inputs: id (required).

getUserSubmissionsC

Get a user's submissions

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 9 tools

    Disambiguation4/5

    Most tools have distinct purposes, but there is some overlap between getComments, getCommentTree, and getStoryWithComments, which all retrieve comments for stories in slightly different formats. This could cause confusion for an agent about which to use for a given scenario, though the descriptions clarify the differences.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with camelCase (e.g., getComment, getStories, search). The naming is predictable and readable throughout the set, with no deviations in style or convention.

    Tool Count5/5

    With 9 tools, this server is well-scoped for interacting with Hacker News, covering core resources like stories, comments, and users. Each tool has a clear role, and the count is neither too sparse nor bloated for the domain.

    Completeness4/5

    The toolset provides comprehensive read-only coverage for Hacker News, including stories, comments, users, and search. However, it lacks write operations (e.g., posting stories or comments), which might be expected for a full API but are not essential for basic interaction, leaving a minor gap.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A server that enables AI assistants to access, analyze, and understand HackerNews content through standardized Model Context Protocol interfaces, providing tools for searching posts, analyzing users, and tracking trending topics.
      5
      8
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A service that provides HackerNews content search, retrieval and analysis through the Model Context Protocol, suitable for AI agents and developers.
      5
      1
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents and developers to search, retrieve, and analyze HackerNews content including advanced post search, front page access, full comment trees, and user profile lookups through the Model Context Protocol.
      4
      MIT