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

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
feedNotop
limitNo

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description only adds 'current', implying live/fresh data rather than historical archives, but says nothing about pagination, result ordering, or how the limit interacts with the feed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the resource and the feed variants are stated immediately. Slightly awkward parenthetical aside, but nothing that wastes the agent's attention.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only feed lister this is close to adequate: annotations cover safety and the enum covers valid feed values. Missing pieces are the default limit behavior and what a returned story contains, and with no output schema the description could have said more about the return shape.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. It does enumerate the five feed values for the 'feed' parameter (matching the enum), but the 'limit' parameter (default 20, max 50) is never mentioned, leaving half the parameters unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ('Get'), resource ('Hacker News ... stories'), and scope (five feed variants: top, new, best, ask, show). It clearly distinguishes a feed-browsing tool from a keyword search, but never names the siblings (hackernews_search, hackernews_thread) it should be chosen over or alongside.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by enumerating the feeds ('front page (top), newest, best, Ask HN or Show HN'), so an agent can infer this is for browsing ranked story lists rather than searching. However, there is no explicit when-to-use guidance and no mention of hackernews_search as the alternative for keyword queries, leaving the routing decision to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesHN item id (the number in news.ycombinator.com/item?id=...)
depthNoReply levels to include
max_commentsNoTop-level comments to load

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and external-fetch behavior are covered. The description usefully confirms the scope is a thread plus its top comments, but says nothing about rate limits, failure modes for bad IDs, or how the comment tree is shaped.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single compact sentence with the core action front-loaded and no filler. There is little structure to speak of, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description could say more about what the returned thread looks like (nested comments, truncation behavior). Annotations cover the safety profile and the schema covers every parameter, so it is adequate but not fully self-sufficient.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and all three parameters carry their own descriptions and bounds, so the schema does the heavy lifting. The tool description adds nothing about the meaning of 'depth' or 'max_comments' beyond what is already documented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb ('Read') and resource ('a Hacker News story or Ask HN post with its top comments'), so the agent knows exactly what it returns. It does not distinguish itself from siblings like hackernews_search or hackernews_stories, leaving the agent to infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The trailing clause 'to summarise what people are saying' implies a use case, but there is no explicit when-to-use guidance, no exclusion rules, and no named alternative for fetching a single item vs. searching or listing stories.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 6 tool updatesv1.0.0
    • First observedarxiv_search
    • First observedgithub_trending
    • First observedhackernews_search
    • First observedhackernews_stories
    • First observedhackernews_thread
    • First observedtech_trends_digest

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.

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
    18 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
    -