
Hn Developer Sentiment Mcp
io.github.digitalgremlin由 GitHub 帳號 digitalgremlin 發布v0.1.0更新於 Oct 28, 2026
Deterministic Hacker News developer sentiment, themes & feature requests via MCP. No API key.
概覽
遠端 MCP 伺服器,針對任何品牌、工具或主題提供 Hacker News 開發者情緒、主題與功能請求的確定性、可稽核分析。
- 可以做什麼
- 取得某個查詢的整體情緒結論:淨情緒分數、情緒標籤、提及量、主要主題與代表性樣本
- 搜尋提及該查詢的貼文與留言,並附上每則內容各自的情绪分數與摘要
- 挖掘功能請求與痛點,並依 request、wish、missing、plans、painpoint 分類彙總
- 不需查詢字串即可列出指定時間範圍內互動量最高的 Hacker News 貼文
- 可依貼文類型(story、ask_hn、show_hn、comment)與回溯天數縮小查詢範圍
- 適用情境
- 適合需要快速、可重複掌握開發者如何在 Hacker News 上評價某產品、框架或版本的場合,例如撰寫比較、發布文案或客服回覆之前,或追蹤產品定位與反覆出現的抱怨。
- 執行需求
- 需要一個遠端 Streamable HTTP 端點(以 Standby 模式執行的 Apify Actor);清單宣告必須使用 OAuth 驗證。底層 Hacker News(Algolia)API 不需 API 金鑰或帳號,未宣告任何環境變數或請求標頭。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Hn Developer Sentiment Mcp,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.digitalgremlin%2Fhn-developer-sentiment-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"hn-developer-sentiment": {
"type": "http",
"url": "https://joeslade--hn-developer-sentiment-mcp.apify.actor/mcp"
}
}
}README
What developers really think about your tool.
A deterministic read on Hacker News developer sentiment for any brand, tool, or library — sentiment, mention volume, recurring themes, and feature requests across HN stories and comments, exposed as four agent-callable MCP tools. The differentiator is judgment and aggregation, not raw access: it scores, clusters, and mines public HN discussion so an AI agent can act in a single call, and returns the raw matched items alongside the aggregates so every number is auditable.
Zero setup — no API key. The Hacker News (Algolia) API is open, so this Actor boots and returns data immediately. No credentials, no approval queue, no first-run friction.
No LLM in the analysis layer — sentiment is a transparent lexicon-plus-rules scorer, so the same posts always produce the same answer.
Who is this for?
- AI agents that need a one-call read on how developers feel about a product before drafting a comparison, a launch post, or a support reply.
- DevRel and product teams tracking how a tool, framework, or release is landing with the Hacker News crowd.
- Founders and marketers validating positioning against what developers actually say in public.
Why use Hacker News Developer Sentiment?
- Zero setup — no API key, no login, no approval process. Deploy and call.
- One call, a usable answer — sentiment label, net score, volume, top themes, and representative samples in a single structured response.
- Deterministic and auditable — no model temperature, no per-call drift. Same posts plus same config always produce the same output, and the raw items ship alongside the aggregates.
- Built for agents — a Standby MCP server speaking the Streamable HTTP transport, so any MCP client can connect and call it directly.
- Cheap and fast — one HN payload per query, cached and shared across the query tools. No LLM cost in the analysis path.
How to use Hacker News Developer Sentiment
- Deploy the Actor — run it in Standby mode on Apify. It boots with no input required and returns data immediately.
- Connect your MCP client to the Standby endpoint (
https://<your-standby-url>/mcp) using the Streamable HTTP transport. - Call
get_sentiment_summarywith aquery(a brand, tool, or topic) for the headline read. - Drill in with
search_mentions,get_feature_requests, orget_trending_discussionswhen you need detail. The query tools share the same cached payload per query.
The four tools
query is a brand/tool/topic string (e.g. "prisma", "tailwind"). channels, windowDays, and limit are optional and fall back to the Actor's configured defaults. channels selects HN post types — story, ask_hn, show_hn, comment — and defaults to all (stories and comments, since HN opinion lives in the comments).
get_sentiment_summary — the headline read
Aggregate sentiment, mention volume, top themes, and representative samples for a query. Input: query (required), channels?, windowDays?.
netSentiment is the mean compound score in [-1, 1]; sentimentLabel buckets it at ±0.05. topSamples are the three highest-engagement items. topThemes are stopword- and query-term-filtered unigrams/bigrams ranked by frequency.
search_mentions — matched items with per-item sentiment
Stories and comments mentioning the query, each scored, ranked by score then recency. Input: query (required), channels?, windowDays?, limit?.
excerpt is the item text truncated to 280 characters. sentimentScore is the per-item compound in [-1, 1]. Comments have an empty title and numComments: 0.
get_feature_requests — requests and pain points, grouped
Items that voice a feature request, wish, gap, roadmap question, or pain point about the query — grouped by cue category. Input: query (required), channels?, windowDays?, limit?.
cueCategory is one of request / wish / missing / plans / painpoint (matched by priority in that order). excerpt is the matching sentence. byCategory totals always sum to count.
get_trending_discussions — highest-engagement stories (no query)
Top Hacker News stories by engagement, no query required. Input: windowDays?, limit?.
engagement is score + numComments; items are ranked by it descending. Trending is story-level (comments excluded — they have no thread engagement).
Input
The server boots with no input required and returns data immediately — the Hacker News (Algolia) API needs no credentials. All fields below are optional.
Output
Each tool returns a single structured JSON object (shown above per tool). Responses are deterministic — the same posts plus the same config always produce the same result. Every response includes a fetchedAt timestamp reflecting when the underlying Hacker News payload was pulled; a cached read returns the same payload (and timestamp) for that TTL window.
Data fields reference
Pricing
This Actor runs in Standby mode and is billed for the compute used while warm and serving requests. Reads are lightweight — each query's HN data is fetched once, cached (default 20 minutes), and shared across the query tools, so calling several tools for the same query costs a single upstream fetch. There is no LLM in the analysis path, so no per-call model cost, and the Hacker News API is free.
Tips
- Start with
get_sentiment_summaryfor the headline, then call a detail tool only when you need it — the query tools share the same cached payload. - Narrow
channels(e.g.["ask_hn"]) to focus on solicitation threads, or dropcommentto look only at story-level signal. - Raise
cacheTtlMinuteswhen batching many queries; lower it when you need fresh reads. - Widen
windowDays(up to 90) to capture a steadier baseline.
How it works
- An MCP client sends a tool call (e.g.
get_sentiment_summary) with aquery. - The server checks an in-memory LRU + TTL cache. On a miss, it makes one request to the open Hacker News (Algolia) search API across the selected channels and caches the raw items.
- HN text (which arrives HTML-ish) is stripped of tags and decoded, then pure analysis functions score sentiment (lexicon + negation/intensifier/emoji rules), aggregate it, extract themes, mine feature-request cues, and rank — with no further network calls.
- The matched window is filtered to the exact day count, and the tool's structured result — aggregates plus raw items plus
fetchedAt— is returned to the MCP client.
All analysis is deterministic and clock-injected (testable without network). Transient errors (network blips, 5xx) are retried with bounded backoff; rate limits (429) surface a resetAt for the caller to handle.
Works well with
Part of a small slate of agent-focused Apify Actors:
- GitHub Repo Intelligence MCP — opinionated maintainability verdicts for any GitHub repo across five MCP tools.
- SERP Topic Gap Monitor — finds topic gaps in search-result coverage and produces scored gap reports.
- Docs MCP Server — an MCP server giving AI assistants queryable access to framework documentation.
FAQ and support
Do I need an API key or account? No. The Hacker News (Algolia) search API is open — the Actor boots and returns data with zero setup.
Is the sentiment from an LLM? No. Sentiment is a transparent lexicon-plus-rules scorer (negation, intensifiers, emoji, VADER-style normalization). There is no model in the analysis layer, which is what makes every call deterministic and auditable.
Does it read comments or just stories?
Both, by default — HN opinion lives in the comments. Use the channels argument to narrow to specific post types.
Is the output stable? Yes. Same items plus same config always yield the same aggregates, and the raw matched items are returned alongside so you can audit every number.
It returned a rate-limit message — what do I do?
Hacker News rate limits (429) surface a resetAt timestamp; retry after it. Raising cacheTtlMinutes reduces upstream calls when batching.
Found a bug or want a feature? Open an issue on the Actor's Issues tab. Custom variations are available on request.
Acknowledgements
The sentiment lexicon is expanded from VADER (Hutto, C.J. & Gilbert, E.E., 2014), used under its MIT license. Hacker News data via the Algolia HN Search API.
License
Copyright © 2026 Joe Slade.
Licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). You're free to use, study, modify, and self-host this software; if you run a modified version as a network service, the AGPL requires you to offer your modified source to its users under the same license. For a commercial license not subject to the AGPL's network-copyleft, contact the author.
來源:README.md,提交 6955353
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分