Skip to main content
Glama

trendmcp

English | 한국어

An MCP server that reads Hacker News, arXiv and GitHub Trending and hands the results to your AI assistant. No API keys required, and every tool returns token-efficient Markdown.

Tools

Tool

Description

hackernews_stories

HN top / new / best / ask / show feeds

hackernews_search

Search HN stories via Algolia (filter by age and minimum points)

hackernews_thread

A story plus its top comment tree, for summarizing the discussion

arxiv_search

Search arXiv by keywords and categories; latest papers when no query is given

github_trending

GitHub Trending (by language, daily / weekly / monthly)

tech_trends_digest

A one-shot digest of today's trends across all three sources

Related MCP server: HN Pulse

Usage

Requires Node.js 20.18.1 or later. No install step needed — npx fetches it from npm.

Claude Code

claude mcp add trendmcp -- npx -y trendmcp

Codex CLI / IDE extension

With the Codex CLI installed, register the server:

codex mcp add trendmcp -- npx -y trendmcp

Alternatively, add the following to ~/.codex/config.toml:

[mcp_servers.trendmcp]
command = "npx"
args = ["-y", "trendmcp"]

The CLI and IDE extension share this configuration. Run codex mcp list to verify registration, or use /mcp inside Codex to check active servers. See the official Codex MCP documentation for details.

Claude Desktop / other MCP clients (claude_desktop_config.json, etc.)

{
  "mcpServers": {
    "trendmcp": {
      "command": "npx",
      "args": ["-y", "trendmcp"]
    }
  }
}

Development

npm install
npm run build
claude mcp add trendmcp -- node /absolute/path/to/trendmcp/dist/index.js

Notes

  • Responses are cached in memory for 5 minutes.

  • Per arXiv's API terms of use, arXiv requests are spaced 3 seconds apart and retried on HTTP 429.

  • GitHub Trending has no official API, so the HTML page is parsed. It may need updating if GitHub changes the page layout.

Available Tools

6 tools
hackernews_storiesHacker News storiesB
Read-only

Get the current Hacker News front page (top), newest, best, Ask HN or Show HN stories.

Inputs: feed, limit.

hackernews_threadHacker News threadB
Read-only

Read a Hacker News story or Ask HN post with its top comments, to summarise what people are saying.

Inputs: id (required), depth, max_comments.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct source and action: arXiv search, HN listing/search/thread reading, GitHub trending, and a composite digest. The digest tool overlaps with individual sources but is explicitly positioned as a convenience aggregator, so it does not create ambiguity.

    Naming Consistency4/5

    All names use snake_case with a service prefix (arxiv_, hackernews_, github_, tech_trends_), which is highly predictable. However, the action portion mixes verbs (search, trending) and nouns (stories, thread, digest), a minor deviation from a pure verb_noun pattern.

    Tool Count5/5

    Six tools is well-scoped for a tech trend aggregation server. Each tool covers a necessary capability (searching arXiv, browsing/searching/reading HN, GitHub trending, and a one-shot digest) without redundancy.

    Completeness4/5

    The surface covers the core trend sources (arXiv, Hacker News, GitHub) with search, listing, thread reading, and a digest. Minor gaps exist, such as no direct GitHub search beyond trending or deeper arXiv paper retrieval, but agents can work around these.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables browsing Hacker News, searching discussions, analyzing users, and tracking tech trends with zero setup required—no API keys or authentication needed.
      5
      29 npm
      6
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to read and search Hacker News for top stories, comments, user profiles, and job listings using the Firebase and Algolia APIs. It facilitates natural language research into community discussions and technological trends across the HN platform.
      8
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to fetch top, new, best, Ask HN, Show HN, and job stories, as well as specific posts, comments, and user information from Hacker News through the Model Context Protocol.
      1
      -