MCP.so
登录

MCP Server for Hacker News

@morinokami

关于 MCP Server for Hacker News

MCP Server for Hacker News

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

morinokami

配置

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

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from MCP Server for Hacker News

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).

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"]}}.

What input parameters are required for story or user resources?

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

What does the server return for a story?

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

What does the server return for a user?

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

评论

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