HN Algolia Search Comments
hnalgolia.search.commentsSearch Hacker News comments by keyword to retrieve community opinions, technical insights, and story context with author and direct HN links for research and discussion analysis.
Instructions
Search HackerNews comments by keyword — retrieves community opinions, technical insights, and discussions across the full HN history. Each result includes comment text (HTML-stripped), parent story context (title + URL), author, and direct HN link. No auth required. Data: Hacker News (CC BY 3.0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based page index for pagination (default 0). | |
| limit | No | Number of comments to return (1–30, default 10). | |
| query | Yes | Search query to find comments across HackerNews history. Returns comment text, story context (title + URL), author, and direct HN link. Useful for finding community opinions or technical discussions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |