H

Hacker新闻数据服务

myalone/mcp-hn
Hosted
1 Stars 1.8k 次浏览 transfer 更新于 2026-08-23
该服务暂未提供标准配置,请参考 README 手动接入

可用工具 (4 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

get_stories 2 个参数

该工具无需必填参数,直接调用即可

get_user_info 2 个参数 需填 1 项

必填参数:user_name

search_stories 3 个参数 需填 1 项

必填参数:query

get_story_info 1 个参数

该工具无需必填参数,直接调用即可

服务介绍

Hacker新闻数据服务 mcp-hn

一个提供从Hacker News获取信息的工具集,包括获取故事、评论、用户信息和搜索故事等功能。
null## 工具列表 Tool List

本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。 本MCP服务封装下列工具,可让模型通过标准化接口调用以下功能。

工具 Tool 描述 Description
get_stories Get stories from Hacker News. The options are top, new, ask_hn, show_hn for types of stories. This doesn't include the comments. Use get_story_info to get the comments.
get_user_info Get user info from Hacker News, including the stories they've submitted
search_stories Search stories from Hacker News. It is generally recommended to use simpler queries to get a broader set of results (less than 5 words). Very targetted queries may not return any results.
get_story_info Get detailed story info from Hacker News, including the comments

检查服务 ## Inspector

工具在线测试: https://mcp.xiaobenyang.com/inspector/1777419073035267

Online Tool test https://mcp.xiaobenyang.com/inspector/1777419073035267

服务配置 MCP Server Config

如何获取 XBY-APIKEY ? How to get XBY-APIKEY ?

访问小笨羊科技网站 https://xiaobenyang.com,注册用户即可获得APIKEY
Visit XiaoBenYang website https://xiaobenyang.com, register and get the APIKEY.

SSE

{
  "mcpServers": {
    "Hacker新闻数据服务": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "sse",
      "url": "https://mcp.xiaobenyang.com/1777419073035267/sse"
    }
  }
}

STREAMABLE HTTP

{
  "mcpServers": {
    "Hacker新闻数据服务": {
      "headers": {
        "XBY-APIKEY": "<YOUR_XBY_APIKEY>"
      },
      "type": "streamable_http",
      "url": "https://mcp.xiaobenyang.com/1777419073035267/mcp"
    }
  }
}

STDIO

{
    "mcpServers": {
        "Hacker新闻数据服务": {
          "command": "npx",
          "args": [
            "-y",
            "xiaobenyang-mcp"
          ],
          "env": {
            "XBY_APIKEY": "<YOUR_XBY_APIKEY>",
            "mcpId": "1777419073035267",
          },
          "transport": "stdio"
        }
      }
}

相关 MCP 服务