Skip to main content
Glama

HackerNews MCP Server

by wei

get-user

Retrieve HackerNews user profiles to check karma scores, read bios, verify account creation dates, and confirm user existence before accessing their content.

Instructions

Retrieve public profile information for a HackerNews user.

Returns user profile including karma, bio, and account creation date. Use this to:

  • Check user reputation (karma score)

  • Read user bio and about information

  • See when account was created

  • Verify user existence before searching their content

Features:

  • Username (case-sensitive)

  • Karma score (total upvotes received)

  • About/bio text (may contain HTML)

  • Account creation date (Unix timestamp)

Examples:

  • Get famous user: { "username": "pg" }

  • Check moderator: { "username": "dang" }

  • Verify author: { "username": "tptacek" }

Username validation:

  • Alphanumeric characters and underscores only

  • Case-sensitive

  • Must exist on HackerNews

Returns error if user doesn't exist or username format is invalid.

Input Schema

NameRequiredDescriptionDefault
usernameYesHackerNews username (alphanumeric + underscores, e.g., 'pg')

Input Schema (JSON Schema)

{ "properties": { "username": { "description": "HackerNews username (alphanumeric + underscores, e.g., 'pg')", "type": "string" } }, "required": [ "username" ], "type": "object" }

Other Tools from HackerNews MCP Server

Related Tools

    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'

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