关于 Trends API
面向追踪多来源关键词趋势的分析人员和开发者,覆盖 Google、TikTok、Amazon、Reddit、YouTube、Steam 和 npm 等来源。以 JSON 提供历史趋势、增长情况和实时排名信息。
主要功能
- 01关键词每周趋势历史
- 02关键词百分比增长
- 03实时排名趋势源
- 04多种趋势数据来源
适用场景
- 01跨来源追踪关键词
- 02查看趋势历史与增长情况
- 03获取实时排名趋势源
MCP 相关
远程 MCP 服务位于 `https://api.trendsapi.ai/mcp`,向 MCP 客户端提供 `get_trends`、`get_growth` 和 `get_top_trends` 工具,并需使用 Bearer 令牌。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://api.trendsapi.ai/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http ai-trendsapi-trends https://api.trendsapi.ai/mcpCursor.cursor/mcp.json
{"mcpServers":{"ai-trendsapi-trends":{"type":"http","url":"https://api.trendsapi.ai/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"ai-trendsapi-trends":{"type":"http","url":"https://api.trendsapi.ai/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"ai-trendsapi-trends":{"type":"http","url":"https://api.trendsapi.ai/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"ai-trendsapi-trends":{"serverUrl":"https://api.trendsapi.ai/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
全部服务地址
Streamable HTTP
https://api.trendsapi.ai/mcp需要授权工具
详细介绍
远程 MCP 服务
托管的 MCP,地址为 https://api.trendsapi.ai/mcp。提供与 REST 相同的三种操作和目录。令牌:trendsapi.ai/#get-key。
REST 协议:trendsapi-ai/trendsapi。
工具
| MCP 工具 | REST mode | 必填项 | 返回内容 |
|---|---|---|---|
get_trends | get_time_series | source、keyword | 每周历史数据 |
get_growth | get_growth | source、keyword | 百分比变化 |
get_top_trends | get_top_trends | type | 实时排名动态 |
app downloads / app rankings 仍需要 Android Bundle ID(com.openai.chatgpt)。
Cursor
~/.cursor/mcp.json:
{
"mcpServers": {
"trend-feeds": {
"url": "https://api.trendsapi.ai/mcp",
"transport": "http",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
VS Code
.vscode/mcp.json:
{
"servers": {
"trend-feeds": {
"type": "http",
"url": "https://api.trendsapi.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
Claude Desktop
{
"mcpServers": {
"trend-feeds": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.trendsapi.ai/mcp", "--header", "Authorization:${AUTH_HEADER}"],
"env": { "AUTH_HEADER": "Bearer YOUR_TOKEN" }
}
}
}
Claude.ai:设置 → 连接器 → 添加自定义连接器 → https://api.trendsapi.ai/mcp。
此仓库中没有本地生产服务。
许可证
MIT。参见 LICENSE。
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。