hn_search
Search Hacker News stories by keyword via the Algolia HN Search API, sorting by relevance or date to find discussions and links.
Instructions
Search Hacker News stories by keyword, via the Algolia HN Search API
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "hn_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Rank by relevance (default) or most recent first | relevance |
| limit | No | Number of items to fetch (1-50, default: 10) | |
| query | Yes | Search terms, e.g. "rust async" or "claude mcp" |