Skip to main content
Glama

get_trending_topics

Extract trending topics from news data using preset keywords or automatic frequency analysis to identify current or daily patterns.

Instructions

获取热点话题统计

Args: top_n: 返回TOP N话题,默认10 mode: 时间模式 - "daily": 当日累计数据统计 - "current": 最新一批数据统计(默认) extract_mode: 提取模式 - "keywords": 统计预设关注词(基于 config/frequency_words.txt,默认) - "auto_extract": 自动从新闻标题提取高频词(无需预设,自动发现热点)

Returns: JSON格式的话题频率统计列表

Examples: - 使用预设关注词: get_trending_topics(mode="current") - 自动提取热点: get_trending_topics(extract_mode="auto_extract", top_n=20)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
top_nNo
modeNocurrent
extract_modeNokeywords

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LeePresident/TrendRadar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server