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