hnalgolia.search.relevance
Full-text search over the entire HackerNews history ranked by relevance — covers 20+ years of tech stories, Ask HN threads, Show HN posts, and job listings. Returns title, URL, author, score, comment count, and submission time. Supports filtering by type (story/ask/show/job/poll). Powered by Algo...
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/hnalgolia.search.relevance.md
What hnalgolia.search.relevance does on Apibase
AI agents call hnalgolia.search.relevance to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | — | Zero-based page index for pagination (default 0). |
type | string | — | Content type filter. "story" = submitted links; "ask" = Ask HN threads; "show" = Show HN posts; "job" = job listings; "poll" = polls. Default: story. |
limit | integer | — | Number of results to return (1–30, default 10). |
query | string | Yes | Full-text search query. Searches across HN story titles, URLs, and authors. Supports multi-word queries (e.g. "rust programming language", "openai gpt"). |
Parameters from the server's own tool schema.
Why hnalgolia.search.relevance is rated Low
Retrieves and queries public Hacker News data without side effects or authorization requirements.
From the tool's definition Full-text search, returns title URL author score; no auth required; no modification capability
Risk signalsBulk/mass operation — affects multiple targets
Attacks that exploit this kind of access
The rule that runs hnalgolia.search.relevance safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For hnalgolia.search.relevance, this is the rule to start with:
hnalgolia.search.relevance is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every hnalgolia.search.relevance call is checked against it from then on.
Questions about hnalgolia.search.relevance
Full-text search over the entire HackerNews history ranked by relevance — covers 20+ years of tech stories, Ask HN threads, Show HN posts, and job listings. Returns title, URL, author, score, comment count, and submission time. Supports filtering by type (story/ask/show/job/poll). Powered by Algolia. No auth required. Data: Hacker News (CC BY 3.0). It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
hnalgolia.search.relevance accepts 4 parameters: page, type, limit, query. Required: query. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for hnalgolia.search.relevance: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
hnalgolia.search.relevance is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the hnalgolia.search.relevance rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for hnalgolia.search.relevance. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
hnalgolia.search.relevance is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue