Skip to main content
Glama

HackerNews MCP Server

by wei

get-posts-by-author

Retrieve all posts, stories, and comments from a specific HackerNews author. Filter results by content type and manage pagination to browse user contributions efficiently.

Instructions

Get all posts (stories, comments, etc.) by a specific author

Input Schema

NameRequiredDescriptionDefault
hitsPerPageNoNumber of results per page (default: 20)
pageNoPage number for pagination (default: 0)
tagsNoFilter by type (e.g., "story", "comment")
usernameYesThe username of the author

Input Schema (JSON Schema)

{ "properties": { "hitsPerPage": { "description": "Number of results per page (default: 20)", "type": "number" }, "page": { "description": "Page number for pagination (default: 0)", "type": "number" }, "tags": { "description": "Filter by type (e.g., \"story\", \"comment\")", "type": "string" }, "username": { "description": "The username of the author", "type": "string" } }, "required": [ "username" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wei/hn-mcp-server-vibe'

If you have feedback or need assistance with the MCP directory API, please join our Discord server