Prerequisites
Before you begin, create an account and get your API Key.
Getting started
Connect to Hacker News to fetch stories, user profiles, and analyze technology news through AI agents.1
Install the SDKs (optional)
2
Create a server instance
Response Information: The API returns:
serverUrl
: The URL for connecting your MCP client to Hacker NewsinstanceId
: Unique identifier for your server instance
🎉 Your Hacker News MCP Server is ready! No additional authentication required - you can use your MCP server URL with any MCP-compatible client.
Available Tools
Tools Information
Tools Information
Tool Name | Description |
---|---|
hackerNews_item | Fetches a single Hacker News item by its unique ID |
hackerNews_user | Retrieves a Hacker News user’s profile by their username |
hackerNews_topstories | Fetches a list of the current top stories |
hackerNews_beststories | Fetches a list of the all-time best stories |
hackerNews_newstories | Fetches a list of the most recent stories |
hackerNews_showstories | Fetches a list of the latest “Show HN” stories |
hackerNews_askstories | Fetches a list of the latest “Ask HN” stories |
hackerNews_jobstories | Fetches a list of the latest job postings |
hackerNews_updates | Fetches recent updates, including new items and changed profiles |
For more details about tool input schema, use the get_tools API.