MCP.so
登录

MCP Server for Hacker News

@morinokami

基本信息

分类

其他

许可证

MIT license

传输方式

stdio

作者

morinokami

关于 MCP Server for Hacker News

MCP Server for Hacker News

MCP Server for Hacker News 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "hackernews": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-hackernews"
      ]
    }
  }
}

MCP Server for Hacker News 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is MCP Server for Hacker News?

An MCP server that retrieves Hacker News data including top stories, best stories, new stories, individual stories, and user information. Designed for use with MCP-compatible clients like Claude Desktop.

How to use MCP Server for Hacker News?

Configure it in your Claude Desktop mcpServers configuration with the command npx and arguments ["-y", "mcp-server-hackernews"]. Then access its resources (e.g., top-stories, story) through the client.

Key features of MCP Server for Hacker News

  • Fetches top, best, and new story IDs
  • Retrieves individual story details by ID
  • Retrieves user information by ID
  • Simple setup with Claude Desktop via npx
  • Return types: arrays of IDs or JSON objects

Use cases of MCP Server for Hacker News

  • Displaying current trending Hacker News stories
  • Getting details of a specific story for analysis
  • Looking up a user's profile and info
  • Integrating Hacker News data into AI assistants

常见问题

1

What data can I fetch with this server?

It provides top stories, best stories, new stories (each returning an array of IDs), a specific story by ID (returns a story object), and a user by ID (returns a user object).

2

How do I set up this server with Claude Desktop?

Add the following to your `mcpServers` configuration: `{"hackernews": {"command": "npx", "args": ["-y", "mcp-server-hackernews"]}}`.

3

What input parameters are required for `story` or `user` resources?

Both require an `id` parameter: the ID of the story or user.

4

What does the server return for a story?

It returns a story object. The exact fields are not detailed in the README.

5

What does the server return for a user?

It returns a user object. The exact fields are not detailed in the README.

评论

其他 分类下的更多 MCP 服务器