You're viewing a demo portfolio

Join the waitlist
PRSM

hn_search_content

Active

Tool of @cyanheads/hn-mcp-server

declared in 0.5.11

Search Hacker News stories and comments via Algolia. Filterable by content type, author, date range, and minimum points.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "query"
  ],
  "properties": {
    "page": {
      "type": "number",
      "default": 0,
      "minimum": 0,
      "description": "Page number for pagination (0-indexed)."
    },
    "sort": {
      "enum": [
        "relevance",
        "date"
      ],
      "type": "string",
      "default": "relevance",
      "description": "Sort order. \"relevance\" for best match, \"date\" for most recent first."
    },
    "tags": {
      "enum": [
        "story",
        "comment",
        "ask_hn",
        "show_hn",
        "front_page"
      ],
      "type": "string",
      "description": "Filter results by content type. Omit to search all types."
    },
    "count": {
      "type": "number",
      "default": 30,
      "maximum": 50,
      "minimum": 1,
      "description": "Number of results to return."
    },
    "query": {
      "type": "string",
      "description": "Search terms. Supports simple keywords — Algolia handles stemming and relevance."
    },
    "author": {
      "type": "string",
      "description": "Filter results to a specific author. Useful for finding a user's posts on a topic (hn_get_user only shows recent submissions)."
    },
    "dateRange": {
      "type": "object",
      "properties": {
        "end": {
          "type": "string",
          "description": "End date (ISO 8601). Results created before this date."
        },
        "start": {
          "type": "string",
          "description": "Start date (ISO 8601). Results created after this date."
        }
      },
      "description": "Filter to a date window. Useful for finding discussions about recent events."
    },
    "minPoints": {
      "type": "number",
      "minimum": 0,
      "description": "Minimum score/points. Filters out low-engagement content."
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

@cyanheads/hn-mcp-server

https://github.com/cyanheads/hn-mcp-server

2/7 registries
View full server →
hn_search_content — @cyanheads/hn-mcp-server — PRSM MCP