Hn Tech Signal Mcp

io.github.malkreide由 GitHub 账号 malkreide 发布v0.5.0更新于 Oct 24, 2026

MCP server for tech & AI signal intelligence: HackerNews, arXiv, Lobste.rs and GitHub

发布方自己的服务:Tech.eu Funding Explorer

概览

AI 生成的概览

聚合 HackerNews、arXiv、Lobste.rs 与 GitHub,为助手生成结构化的科技与 AI 信号简报。

可以做什么
提供八个只读工具,从公开科技数据源抓取内容:HackerNews 各类信息流与 Algolia 搜索、嵌套评论线程、arXiv 最新论文与全文检索、Lobste.rs 热门条目,以及 GitHub 上热门的 AI 仓库。另有一个摘要工具把四个来源合并成一份 Markdown 简报。所有调用都是对公开 API 的 HTTP GET 请求。
适用场景
适合让助手按需跟踪 AI 研究、开发者讨论或开源动态,例如生成每日科技信号摘要、查看某分类下最新的 arXiv 论文,或了解 HackerNews 对某个话题的讨论。
运行要求
以 Python 包形式在本地运行,可通过 uvx 或 pip 安装;需要 Python 3.11+ 以及 uv 或 pip,并能访问这些公开 API 的网络。无需 API 密钥。可选的 GITHUB_TOKEN 可将 GitHub 搜索限额从每小时 60 次提高到 5,000 次。HTTP 传输模式使用 MCP_TRANSPORT、MCP_HOST、MCP_PORT 和 MCP_BEARER_TOKEN。
安装前请注意
只读,不会向上游发布、评论或投票。可选的 GITHUB_TOKEN 属于凭据,只会发送给 api.github.com。若绑定到非回环地址,服务器要求设置 MCP_BEARER_TOKEN,并应置于终止 TLS 的反向代理之后。评论内容为去除标记的纯文本,并未做 HTML 渲染的净化处理。数据来自第三方公开 API,受其各自条款约束。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Hn Tech Signal Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

🇨🇭 Part of the Swiss Public Data MCP Portfolio

📡 hn-tech-signal-mcp

[Version] [License: MIT] [Python 3.11+] [MCP] [No Auth Required] [CI]

MCP server for global tech & AI signal intelligence — aggregates HackerNews, arXiv, Lobste.rs and GitHub into a structured briefing. No API key required.

🇩🇪 Deutsche Version

Demo

[Demo: Claude using tech_signal_digest across arXiv, HackerNews and GitHub]


Overview

hn-tech-signal-mcp turns any AI assistant into a proactive tech intelligence analyst. The server aggregates four signal layers — research frontier, developer discourse, curated signal, and open-source practice — into a single, structured briefing.

No authentication required. All four data sources are public APIs. Optional: set GITHUB_TOKEN for higher GitHub rate limits (5,000 req/h vs. 60 req/h unauthenticated).

Anchor demo query: "Give me a tech signal digest on AI today — what is happening in research, developer discourse and open source?"


Signal Architecture

FRONTIER    arXiv API      → Latest AI/ML papers (cs.AI, cs.LG, cs.CL, cs.CV)DISCOURSE   HackerNews     → Six feeds + Algolia search + comment threads            Lobste.rs      → Curated, lower-noise tech signalPRACTICE    GitHub Search  → What engineers are actually building right now            HN Show HN     → What individuals are shipping this week

Think of the four layers as a radar: arXiv shows what's coming over the horizon, HN and Lobste.rs show what practitioners are discussing, and GitHub shows what teams are actually shipping.

Within the discourse layer there are two levels of depth. The feeds and the search tell you what is being discussed; hn_discussion tells you what is actually being argued — the counter-arguments and the "we tried this in production" replies that carry the real signal.


Features

  • 🔬 Research frontier – Latest arXiv papers by category (cs.AI, cs.LG, cs.CL, and more)
  • 🔍 arXiv full-text search – Find papers by keyword, title, or author
  • 🗣️ HackerNews feeds – top, best, new, Ask HN, Show HN and YC job posts
  • 🔎 HackerNews search – Full history via Algolia, with date range filter
  • 💬 HackerNews comment threads – Read the actual discussion under a story, nested, with a bounded fetch budget
  • 🔧 Lobste.rs hottest – Curated developer signal, filterable by tag
  • 🛠️ GitHub trending AI repos – Search by topic, stars, sort by activity or popularity
  • 📋 Tech signal digest – One-call cross-source briefing in Markdown
  • ☁️ Dual transport – stdio for Claude Desktop, Streamable HTTP for cloud deployment
#ToolSourceDescription
1hn_top_storiesHackerNewsSix feeds: top/best/new/ask/show/job, with score filter
2hn_searchHN AlgoliaFull-text search across all HN history
3hn_discussionHackerNewsNested comment thread under a story
4arxiv_latestarXivLatest papers by category (cs.AI etc.)
5arxiv_searcharXivSearch papers by keyword/title/author
6lobsters_hotLobste.rsCurated tech stories, filterable by tag
7github_trending_aiGitHubTrending AI repos by topic and stars
8tech_signal_digestAll sourcesAggregated Markdown briefing

HackerNews feeds

FeedContentUpstream size
topFront page as ranked right now500 items
bestHighest-voted recent stories200 items
newNewest submissions, unfiltered500 items
askAsk HN — what practitioners are stuck on~30 items
showShow HN — what people are shipping200 items
jobYC portfolio job posts (type: "job", no comments, score always 1)~30 items

ask and job are short feeds upstream, so a large limit may return fewer stories than requested.


Prerequisites

  • Python 3.11+
  • uv or pip
  • No API key required
  • Optional: GITHUB_TOKEN for higher GitHub rate limits

Installation

bash
# Recommended: uvx (no install step needed)uvx hn-tech-signal-mcp
# Alternative: pippip install hn-tech-signal-mcp

Quickstart

bash
# Start the server (stdio mode for Claude Desktop)uvx hn-tech-signal-mcp
# With optional GitHub token for higher rate limitsGITHUB_TOKEN=ghp_yourtoken uvx hn-tech-signal-mcp

Try immediately in Claude Desktop:

"Give me a tech signal digest on AI today" "What are the latest cs.AI papers from the last 48 hours?" "What is HackerNews discussing about MCP this week?" "Show me trending GitHub repos for the topic 'ai-agents'"


Configuration

Environment Variables

VariableDefaultDescription
GITHUB_TOKEN–Optional. GitHub personal access token. Without it: 60 req/h. With it: 5,000 req/h. The token is only sent to api.github.com, never to other upstreams.
MCP_TRANSPORTstdioTransport: stdio or streamable_http
MCP_HOST127.0.0.1Bind host for HTTP transport. Non-loopback values require MCP_BEARER_TOKEN.
MCP_PORT8000Port for HTTP transport
MCP_BEARER_TOKEN–Required when MCP_HOST is not loopback. Shared secret to gate the HTTP endpoint.

Claude Desktop Configuration

json
{  "mcpServers": {    "hn-tech-signal": {      "command": "uvx",      "args": ["hn-tech-signal-mcp"],      "env": {        "GITHUB_TOKEN": "ghp_yourtoken_optional"      }    }  }}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

After restarting Claude Desktop, all 7 tools are available.

Cloud Deployment (Streamable HTTP)

For use via claude.ai in the browser (e.g. on managed workstations):

Render.com (recommended):

  1. Push/fork the repository to GitHub
  2. On render.com: New Web Service → connect GitHub repo
  3. Optionally set GITHUB_TOKEN in the Render dashboard
  4. In claude.ai under Settings → MCP Servers, add: https://your-app.onrender.com/mcp
bash
# Local HTTP mode (binds 127.0.0.1 by default)MCP_TRANSPORT=streamable_http MCP_PORT=8000 python -m hn_tech_signal_mcp.server
# Public bind (requires bearer token, intended behind a reverse proxy that terminates TLS)MCP_TRANSPORT=streamable_http \MCP_HOST=0.0.0.0 \MCP_BEARER_TOKEN="$(openssl rand -hex 32)" \python -m hn_tech_signal_mcp.server

Hardening: the server refuses to bind to non-loopback hosts unless MCP_BEARER_TOKEN is set. Run cloud deployments behind a TLS-terminating reverse proxy (Render, Fly, Caddy, …) and treat MCP_BEARER_TOKEN as the shared client secret your proxy enforces.


Architecture

┌─────────────────┐    ┌─────────────────────────────────┐    ┌───────────────────────┐│  Claude / AI    │────▶│   HN Tech Signal MCP             │────▶│  HackerNews Firebase  ││  (MCP Host)     │◀────│   (MCP Server)                   │────▶│  HN Algolia Search    │└─────────────────┘    │                                   │────▶│  arXiv.org (Atom API) │                       │  8 Tools                          │────▶│  Lobste.rs JSON API   │                       │  Stdio | Streamable HTTP          │────▶│  GitHub Search API    │                       └─────────────────────────────────┘    └───────────────────────┘

Architecture decision

This server uses Architecture A (live API only, two paths per source). There is no bulk dump to fall back on.

Rationale (verified live on 2026-07-28 against the official HackerNews API):

  • All six feed endpoints ({top,best,new,ask,show,job}stories.json) answer HTTP 200 with 29–500 IDs. No auth, no rate-limit headers, Cache-Control: no-cache.
  • HackerNews publishes no bulk export, so caching is entirely this server's responsibility. TTLs live in CACHE_TTL.
  • The Firebase API has no search. Historical and full-text queries go through the Algolia index instead — that is the second path, used by hn_search.
  • item/<id>.json is one request per item. Feeds and comment threads therefore fan out, which is why both are bounded (HN_MAX_CONCURRENCY, max_comments).

Consequences:

  • Every upstream call retries with exponential backoff (2s / 4s / 8s) on network errors, 5xx and 429. Other 4xx fail fast.
  • One process-wide pooled httpx.AsyncClient, closed via the FastMCP lifespan.
  • Unknown item IDs return HTTP 200 with a null body rather than a 404 — hn_discussion translates that into an explicit "no item found" message.

Project Structure

hn-tech-signal-mcp/├── src/│   └── hn_tech_signal_mcp/│       ├── __init__.py│       ├── server.py          # All 8 tools│       └── outputs.py         # outputSchema models, one per tool├── tests/│   ├── __init__.py│   └── test_server.py         # 64 unit + 12 live tests├── pyproject.toml├── CHANGELOG.md├── CONTRIBUTING.md├── LICENSE├── README.md                  # This file (English)└── README.de.md               # German version

MCP Protocol Version

This server speaks two protocol eras over the same endpoint. The client's first request on a connection decides which one applies; a later claim from the other era is refused.

EraRevisionWho reaches it
initialize handshake2024-11-05 … 2025-11-25What today's clients speak. The server answers with the revision asked for, or with the 2025-11-25 ceiling when the request asks for something newer.
Per-request envelope2026-07-28A request carrying the 2026-07-28 _meta envelope opens a modern connection.

Both revisions are pinned in tests/test_protocol_version.py and asserted against the installed SDK, so a Dependabot bump of mcp cannot move either one silently.

Spoken, not just named: tests/test_modern_era.py actually connects — in-process in every era (2026-07-28, auto, legacy) and over HTTP with single POSTs, no initialize and no Mcp-Session-Id, against the ASGI app that MCP_TRANSPORT=streamable_http starts. It checks server/discover, tools/list with its freshness hint, tools/call with the Mcp-Name header, the serverInfo stamp in the _meta of every response, and that no feature deprecated by SEP-2577 (sampling, roots, logging) is involved. Two negative controls sit alongside: a wrong Mcp-Method header is rejected with -32020, and the same request under 2025-11-25 still requires a session.

Known, SDK-side: server/discover advertises resources and prompts (with listChanged / subscribe) although this server registers neither — MCPServer always installs those handlers. Switching that off would mean touching private attributes; instead the tests assert that both lists answer empty and without error.

Note that the SDK's LATEST_PROTOCOL_VERSION is an alias for the modern era, not for the handshake era — pinning against it alone would leave the era that current clients actually negotiate free to drift.

Update policy. When the gate fails, do not edit the constant blindly: read the spec changelog between the two revisions, verify the server still behaves, then move the constant, this section, README.de.md and CHANGELOG.md together.


Tool Output

Every tool declares its own outputSchema (closed: additionalProperties: false) from the models in src/hn_tech_signal_mcp/outputs.py, and answers in the three forms the spec separates:

Casecontent[0].textstructuredContentisError
SuccessThe JSON object, pretty-printedThe same objectfalse
Source failed[Source] Error: …—true
Unknown or wrong ID (hn_discussion)A sentence saying what to pass instead—true
Digest with some sources downThe JSON object, with degraded_sources and a per-source errorThe same objectfalse

Before, the SDK derived a schema of {"result": string} from the -> str annotation, so structured clients got the JSON as one string field, and every failure arrived as isError: false.

The text stays byte-for-byte what it was — clients that only read text see no change. A response that does not fit its schema is reported as a server defect naming the offending field paths (never the values) instead of reaching the client unvalidated. The recorded fixtures and the daily live run both go through this path, in both protocol eras.


Testing

bash
# Unit tests (no network required)PYTHONPATH=src pytest tests/ -m "not live"
# Live integration tests (requires network)PYTHONPATH=src pytest tests/ -m "live"

Example Use Cases

KI-Fachgruppe / AI Working Group

"Give me a tech signal digest on AI today"→ tech_signal_digest(focus="AI")
"What are the top 5 arXiv papers on LLM agents this week?"→ arxiv_search(query="LLM agents", category_filter="cs.AI", limit=5)
"What is HackerNews discussing about model context protocol?"→ hn_search(query="model context protocol", days_back=30)

Research Monitoring

"Show me the latest NLP papers from arXiv"→ arxiv_latest(category="cs.CL", limit=10)
"Search arXiv for papers on retrieval-augmented generation"→ arxiv_search(query="retrieval augmented generation RAG", limit=10)

Open Source Intelligence

"What AI agent frameworks are trending on GitHub?"→ github_trending_ai(topic="ai-agents", sort="updated", limit=10)
"Show me the most starred MCP-related repos"→ github_trending_ai(topic="mcp", sort="stars", min_stars=50)
[→ More use cases by audience →](EXAMPLES.md)

arXiv Category Reference

CategoryFull NameKey Topics
cs.AIArtificial IntelligenceAgents, planning, knowledge representation
cs.LGMachine LearningTraining, optimisation, generalisation
cs.CLComputation & LanguageNLP, LLMs, translation, summarisation
cs.CVComputer VisionImage recognition, generation, multimodal
cs.RORoboticsEmbodied AI, navigation
stat.MLStatistics MLProbabilistic methods, Bayesian ML

Rate Limits

SourceAuth RequiredLimit
HackerNews FirebaseNoVery generous (Firebase)
HN Algolia SearchNo~10,000 req/hour
arXivNo~3 req/second (be respectful)
Lobste.rsNoReasonable use
GitHub SearchNo60 req/hour
GitHub SearchGITHUB_TOKEN5,000 req/hour

Known Limitations

  • GitHub rate limit: 60 req/h without token. Set GITHUB_TOKEN for production use.
  • arXiv: Papers may take up to 24h to appear after submission. Weekends/holidays have delayed batches.
  • HackerNews: Top/best story lists update every few minutes. Very new stories may have low scores.
  • HackerNews ask / job feeds: Only ~30 items exist upstream, so a large limit returns fewer stories than requested. Job posts carry type: "job", no comment count, and a score of 1.
  • hn_discussion is always a sample, never the full thread: one request per comment upstream means popular stories (900+ comments) cannot be fetched whole. The budget is split across nesting levels and spread round-robin across sibling threads, so you get a representative cross-section rather than one exhaustively-read sub-thread. Check the truncated flag.
  • hn_discussion comment text is plain text, not HTML: HN's markup is stripped for readability. Do not re-render the output as HTML — the conversion is not a sanitiser.
  • Lobste.rs: Smaller community than HN; tech-focused but may not cover all AI topics.
  • tech_signal_digest: Makes ~4 concurrent requests; if one source is slow it may delay the full response.

Synergies with Other MCP Servers

hn-tech-signal-mcp combines well with:

CombinationUse Case
+ news-monitor-mcpGlobal research + Swiss institutional media coverage
+ fedlex-mcpTech discourse + Swiss regulatory context
+ global-education-mcpAI research trends + education policy data
+ swiss-statistics-mcpTech landscape + Swiss economic/structural data

Safety & Limits

  • Read-only: All tools perform HTTP GET requests only — no posts, comments, votes, or writes are issued upstream.
  • No personal data: The server queries public tech aggregators. No PII is collected; author handles in public posts/papers are returned as-is from upstream and never enriched or cross-referenced.
  • Rate limits: See the Rate Limits table. arXiv's ≤3 req/sec guidance is respected by default; GitHub search is capped at 60 req/h without a GITHUB_TOKEN. A request timeout is enforced per call.
  • No bulk harvesting: This server is built for interactive, conversational use — not for scraping or mirroring. Do not use it to bypass upstream pagination or ToS limits.
  • Terms of service: Data is subject to the ToS of each source — HackerNews, arXiv API, Lobste.rs, GitHub.
  • No guarantees: Community project, not affiliated with HackerNews / Y Combinator, arXiv / Cornell, Lobste.rs, or GitHub. Availability depends on upstream APIs.

Changelog

See CHANGELOG.md


Contributing

See CONTRIBUTING.md (Deutsch).


Security

See SECURITY.md (Deutsch) for the security posture and how to report a vulnerability.


License

MIT License — see LICENSE


Author

Hayal Oezkan · malkreide


Credits & Related Projects

Installation

Run via uv's uvx — no clone or manual install needed. Add to your MCP client config (mcpServers for Claude Desktop, Cursor and Windsurf; use a top-level servers key for VS Code in .vscode/mcp.json):

json
{  "mcpServers": {    "hn-tech-signal-mcp": {      "command": "uvx",      "args": [        "hn-tech-signal-mcp"      ]    }  }}

来源:README.md,提交 785784d

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.5.0最新Sep 27, 2026
  2. v0.4.1Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Tech 集成