Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HN_PASSWORDYesYour Hacker News password
HN_USERNAMEYesYour Hacker News username

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
hn_loginA

Login to Hacker News. Persists session cookies to disk so you stay logged in across restarts.

hn_submitA

Submit a story to Hacker News. Requires login first. For link posts: provide title + url. For Ask HN / text posts: provide title + text (no url).

hn_commentA

Post a comment on a Hacker News story or reply to a comment. Requires login.

hn_my_submissionsA

Get your recent HN submissions with their scores and comment counts.

hn_searchB

Search Hacker News stories via Algolia.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/booklib-ai/hn-mcp'

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