# TrendHub MCP server

Evidence-backed AI content studio with 21 stable trend intelligence tools.

## Facts

- Endpoint: https://trendhub-remote-production.up.railway.app/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: A (100/100, scanned 2026-09-18) · report https://gateturbo.com/report/ef780487-da68-41e3-adbf-fb1ccd0680b9
- Tools: 21
- Category: Dev tools · source: registry
- Last probed: 2026-09-17 · first listed: 2026-09-17
- Directory page: https://gateturbo.com/mcp/trendhub · this document: https://gateturbo.com/mcp/trendhub.md · JSON: https://gateturbo.com/api/directory/servers/trendhub

## Tools (21)

- `list_platforms`: 列出可查询的全部热点平台（调用名、中文名、分类、数据来源）
- `list_categories`: 列出平台分类与内容/模板分类
- `get_trending`: 获取当下热点榜单。可按 platform（逗号分隔多个平台调用名）或 category（social/video/news/tech/dev/ai/global）查询；都不传则返回跨平台核心榜单。每次查询会在本地积累快照和有界历史，用于趋势变化、生命周期与 benchmark。
- `xhs_hot_topics`: 小红书热点聚合（主打平台）：一次性返回官方首页『热门推荐流』笔记（含封面/作者/点赞展示值/原文链接）、由热门标题词频派生的高频话题词（非官方热搜词榜）、当前会话模式（游客/登录）。配置环境变量 XHS_COOKIE 后额外返回官方『热搜词榜』。游客零配置即可用热门推荐流。
- `cross_platform_overlap`: 分析某个关键词/话题当前在多少个平台同时上榜（跨平台共振），给出各平台命中条目、最佳排名与共振分。用于判断一个话题是否具备全网热度。
- `discover_trending_topics`: 无需关键词，自动聚类发现当前在多个平台共振的话题（基于标题相似度，结果需大模型复核归纳）。
- `trend_change_alerts`: 对比历史快照，输出各平台新晋上榜、排名飙升(≥3位)、掉榜的话题。需要先有两次以上快照（get_trending 会自动积累，或用 take_snapshot）。
- `take_snapshot`: 立即对各平台落一次历史快照（也可由系统定时调用以持续监测）。
- `source_reliability`: 量化数据源稳定性：UP/DEGRADED/DOWN/AUTH_REQUIRED/RATE_LIMITED、24h/7d/30d ok/usable rate、P50/P95延迟、连续失败、schema drift 信号与历史深度。默认只读本地观测；refresh=true 时先真
- `keyword_trend_curve`: 获取关键词在 Google Trends 上的相对热度时间序列（0-100，非绝对搜索量），支持1-5个关键词对比。
- `related_queries`: 获取关键词在 Google Trends 的相关搜索词：top（长期热门）与 rising（近期飙升），用于选题与 SEO/搜索流量。
- `future_signals`: 聚合高质量科技/AI/商业/营销信源的最新文章（未来趋势信号素材），可按分类或关键词过滤。趋势判断由调用方大模型完成。
- `upcoming_events`: 查询未来 N 天的趋势节点（科技展会/财报季/政策/电商大促/节假日），含距今天数与预热等级，用于提前布局内容。
- `analyze_topic`: 话题深度情报包：一次性聚合跨平台共振、搜索热度曲线与动量、相关词、未来信号、临近节点、规则情感，供大模型做定性/阶段判断/机会风险分析。
- `trend_intelligence`: Trend Intelligence Engine：基于本地真实历史计算生命周期(emerging/accelerating/mainstream/saturating/declining)、排名速度、持续性、跨平台扩散、数据源可靠度和置信度。默认先刷新当前核心平台；历史不足会明
- `benchmark_trend_lead`: 真实场景 Lead-time Benchmark：把 TrendHub 本地历史的最早命中，与用户提供的外部事实 reference_time 对比，计算是否提前24h/72h发现。reference_time 必须来自官方公告、主流爆发点或团队约定的外部 ground trut
- `list_templates`: 列出内置专家内容模板（短视频分镜脚本/小红书/微博/公众号/X线程/直播脚本/营销方案/内容日历/新品发布/标题钩子）。
- `get_template`: 获取某个模板的完整结构（章节/目的/写作指引/填空位/checklist）。
- `get_content_brief`: 专家创作简报：围绕主题聚合真实热点证据、相关搜索词、情感信号、同平台真实爆款样本，并匹配模板，输出逐格填充指引与可直接交给大模型的 productionPrompt。脚本/文案/方案的成稿由调用方大模型完成。
- … 2 more after connecting

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect TrendHub to your gate (https://gateturbo.com/login?next=/discovery?connect=trendhub).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/trendhub/claude · Claude Desktop → https://gateturbo.com/mcp/trendhub/claude-desktop · ChatGPT → https://gateturbo.com/mcp/trendhub/chatgpt · Codex → https://gateturbo.com/mcp/trendhub/codex · Cursor → https://gateturbo.com/mcp/trendhub/cursor · Windsurf → https://gateturbo.com/mcp/trendhub/windsurf · VS Code → https://gateturbo.com/mcp/trendhub/vscode · Gemini CLI → https://gateturbo.com/mcp/trendhub/gemini-cli · OpenClaw → https://gateturbo.com/mcp/trendhub/openclaw · n8n → https://gateturbo.com/mcp/trendhub/n8n · A script or server → https://gateturbo.com/mcp/trendhub/script

### Direct: Claude Code

Add TrendHub to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http trendhub https://trendhub-remote-production.up.railway.app/mcp
```

### Direct: Cursor

Add TrendHub to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

```json
{
  "mcpServers": {
    "trendhub": {
      "url": "https://trendhub-remote-production.up.railway.app/mcp"
    }
  }
}
```

### Direct: VS Code

Add TrendHub to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "trendhub": {
      "type": "http",
      "url": "https://trendhub-remote-production.up.railway.app/mcp"
    }
  }
}
```

### Direct: Codex

Add TrendHub to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

```toml
[mcp_servers.trendhub]
url = "https://trendhub-remote-production.up.railway.app/mcp"
```

### Direct: Claude

Add TrendHub as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "TrendHub" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://trendhub-remote-production.up.railway.app/mcp
```

### Direct: ChatGPT

Add TrendHub as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "TrendHub" with the URL below.
3. Set authentication to none.

```
https://trendhub-remote-production.up.railway.app/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
