Skip to main content

MCP server for tech & AI intelligence โ€“ aggregates HackerNews, arXiv, Lobste.rs and GitHub. No API key required.

Project description

๐Ÿ‡จ๐Ÿ‡ญ 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     โ†’ Top/best stories + Algolia full-text search
            Lobste.rs      โ†’ Curated, lower-noise tech signal
PRACTICE    GitHub Search  โ†’ What engineers are actually building right now

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.


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 top/best/new โ€“ With optional AI-keyword filter
  • ๐Ÿ”Ž HackerNews search โ€“ Full history via Algolia, with date range filter
  • ๐Ÿ”ง 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
# Tool Source Description
1 hn_top_stories HackerNews Top/best/new stories, with optional AI filter
2 hn_search HN Algolia Full-text search across all HN history
3 arxiv_latest arXiv Latest papers by category (cs.AI etc.)
4 arxiv_search arXiv Search papers by keyword/title/author
5 lobsters_hot Lobste.rs Curated tech stories, filterable by tag
6 github_trending_ai GitHub Trending AI repos by topic and stars
7 tech_signal_digest All sources Aggregated Markdown briefing

Prerequisites

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

Installation

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

# Alternative: pip
pip install hn-tech-signal-mcp

Quickstart

# Start the server (stdio mode for Claude Desktop)
uvx hn-tech-signal-mcp

# With optional GitHub token for higher rate limits
GITHUB_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

Variable Default Description
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_TRANSPORT stdio Transport: stdio or streamable_http
MCP_HOST 127.0.0.1 Bind host for HTTP transport. Non-loopback values require MCP_BEARER_TOKEN.
MCP_PORT 8000 Port for HTTP transport
MCP_BEARER_TOKEN โ€“ Required when MCP_HOST is not loopback. Shared secret to gate the HTTP endpoint.

Claude Desktop Configuration

{
  "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
# 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) โ”‚
                       โ”‚  7 Tools                          โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  Lobste.rs JSON API   โ”‚
                       โ”‚  Stdio | Streamable HTTP          โ”‚โ”€โ”€โ”€โ”€โ–ถโ”‚  GitHub Search API    โ”‚
                       โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Project Structure

hn-tech-signal-mcp/
โ”œโ”€โ”€ src/
โ”‚   โ””โ”€โ”€ hn_tech_signal_mcp/
โ”‚       โ”œโ”€โ”€ __init__.py
โ”‚       โ””โ”€โ”€ server.py          # All 7 tools
โ”œโ”€โ”€ tests/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ””โ”€โ”€ test_server.py         # 21 unit + 5 live tests
โ”œโ”€โ”€ pyproject.toml
โ”œโ”€โ”€ CHANGELOG.md
โ”œโ”€โ”€ CONTRIBUTING.md
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ README.md                  # This file (English)
โ””โ”€โ”€ README.de.md               # German version

Testing

# 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

Category Full Name Key Topics
cs.AI Artificial Intelligence Agents, planning, knowledge representation
cs.LG Machine Learning Training, optimisation, generalisation
cs.CL Computation & Language NLP, LLMs, translation, summarisation
cs.CV Computer Vision Image recognition, generation, multimodal
cs.RO Robotics Embodied AI, navigation
stat.ML Statistics ML Probabilistic methods, Bayesian ML

Rate Limits

Source Auth Required Limit
HackerNews Firebase No Very generous (Firebase)
HN Algolia Search No ~10,000 req/hour
arXiv No ~3 req/second (be respectful)
Lobste.rs No Reasonable use
GitHub Search No 60 req/hour
GitHub Search GITHUB_TOKEN 5,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.
  • 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:

Combination Use Case
+ news-monitor-mcp Global research + Swiss institutional media coverage
+ fedlex-mcp Tech discourse + Swiss regulatory context
+ global-education-mcp AI research trends + education policy data
+ swiss-statistics-mcp Tech 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


License

MIT License โ€” see LICENSE


Author

Hayal Oezkan ยท malkreide


Credits & Related Projects

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hn_tech_signal_mcp-0.2.4.tar.gz (46.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hn_tech_signal_mcp-0.2.4-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file hn_tech_signal_mcp-0.2.4.tar.gz.

File metadata

  • Download URL: hn_tech_signal_mcp-0.2.4.tar.gz
  • Upload date:
  • Size: 46.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for hn_tech_signal_mcp-0.2.4.tar.gz
Algorithm Hash digest
SHA256 cf26a2fb000c461b47c74ffef652d50796d81f5d6b8af083b0e20f40fe5de7a9
MD5 d8ee7cdb44769c946789ee50b89df132
BLAKE2b-256 4eca0a7c67cb6ff84ec6bafb59cb55d9e260ea202e8db1526ea2a2c3e7ba1360

See more details on using hashes here.

File details

Details for the file hn_tech_signal_mcp-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for hn_tech_signal_mcp-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7739208f0d12a47768dcd9839b928a3593dcd34634267149abcfc51020ef3a71
MD5 00c6c875f6934852b30b28a7df9cba0d
BLAKE2b-256 ec13279bef29f8af5e832bee8b1b088737035833651147e286a24c83b9150bd7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page