Skip to main content
Glama
wikipedia-trends-mcp

wikipedia-trends-mcp

wikipedia-trends-mcp

Wikipedia Trends MCP Works with Claude Works with Cursor

面向AI的维基百科页面浏览量趋势数据 维基百科页面浏览量揭示了世界突然对什么感兴趣。峰值检测、历史页面流量以及跨平台对比——为你的AI提供独特的信息需求信号,该信号先于主流搜索出现。

完整文档和实时演示: https://trendsmcp.ai/wikipedia-trends

属于 Trends MCP 的一部分——涵盖12+数据源的实时趋势数据MCP服务器。 查看主仓库:https://github.com/trendsmcp/trends-mcp


两步快速上手

第一步: 在 trendsmcp.ai 获取免费API密钥 每天100次请求,无需信用卡。

第二步: 添加到你的AI客户端(替换 YOUR_API_KEY):

+ 一键添加到 Cursor

Cursor / Windsurf / Cline   (~/.cursor/mcp.json 或等效文件)

{
  "mcpServers": {
    "trends-mcp": {
      "url": "https://api.trendsmcp.ai/mcp",
      "transport": "http",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

VS Code / GitHub Copilot   (.vscode/mcp.json)

{
  "servers": {
    "trends-mcp": {
      "type": "http",
      "url": "https://api.trendsmcp.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Claude Desktop   (claude_desktop_config.json) 用户 → 设置 → 开发者 → 编辑配置 — 在 mcpServers 内部添加

{
  "mcpServers": {
    "trends-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.trendsmcp.ai/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Claude.ai(浏览器)   设置 -> 连接器 -> 添加自定义连接器:

https://api.trendsmcp.ai/mcp

Related MCP server: news-volume-mcp

示例查询

连接后,向你的AI提问:

get_trends(keyword='quantum computing', source='wikipedia', data_mode='weekly')

可用工具

工具

功能说明

get_trends

获取该来源上某个关键词的时间序列数据

get_growth

计算1周、1月、3月、6月、1年各周期的增长率

get_top_trends

获取该来源当前热门趋势

get_ranked_trends

按流量排名获取热门话题


常见问题

维基百科页面浏览量趋势——给定主题维基百科文章随时间变化的标准化流量。这是一个强大的信息需求信号:当新闻事件爆发时,维基百科浏览量会在谷歌搜索追上之前出现峰值。

维基百科数据作为趋势信号有何用处?

对于新闻驱动的事件,维基百科的峰值通常比谷歌趋势提前24-72小时。它是公众好奇心的领先指标——适用于媒体、研究和投资应用。

它只追踪英文维基百科吗?

是的,目前仅追踪英文维基百科页面浏览量。多语言支持已在路线图中。

我可以追踪某个人、公司或事件吗?

可以。任何拥有维基百科文章的主题都可追踪。公司页面、政治人物、科学概念和时事新闻均可。


所有数据源

Trends MCP 通过单一连接覆盖12+数据源: 谷歌搜索、YouTube、TikTok、Reddit、亚马逊、维基百科、 新闻情感分析、网站流量、应用下载量、Steam、npm 等。

浏览全部:https://trendsmcp.ai/data-sources


也可作为Python客户端使用

同一个API密钥可直接在Python中使用——无需MCP宿主。

pip install wikipedia-trends-mcp
import os
from wikipedia_trends_mcp import TrendsMcpClient, SOURCE

client = TrendsMcpClient(api_key=os.environ["TRENDSMCP_API_KEY"])

series  = client.get_trends(source=SOURCE, keyword="your keyword")
growth  = client.get_growth(source=SOURCE, keyword="your keyword", percent_growth=["1M", "3M", "12M"])
top     = client.get_top_trends(type="Wikipedia", limit=10)

完整Python文档:trendsmcp.ai/docs

许可证

MIT © Trends MCP

Available Tools

3 tools
get_growthA
Read-onlyIdempotent
Inspect

Point-to-point growth for a keyword on one or more sources. Each window is a preset string (12M, 3M, YTD, and the other listed periods). Values are on a 0-100 scale, plus absolute volume when available. Prefer this over get_time_series for growth questions. app downloads and app rankings are keyword sources (Android bundle ID). They are not the App Store / Google Play live boards on get_top_trends. If the request is rate limited or the monthly quota is used up, tell the user their plan limit is reached.

Inputs: source (required), keyword (required), percent_growth. Returns: result

get_time_seriesA
Read-onlyIdempotent
Inspect

Full historical series for one keyword and one source (0-100 values, plus volume when available). Use for charting or custom math. Not for live 'what's trending now' boards (use get_top_trends). For most growth questions, use get_growth. If the request is rate limited or the monthly quota is used up, tell the user their plan limit is reached.

Inputs: source (required), keyword (required). Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.7/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool serves a clearly distinct purpose: get_growth for point-to-point changes, get_time_series for full history, and get_top_trends for live boards. The descriptions explicitly cross-reference each other to prevent misselection, leaving no ambiguity.

    Naming Consistency5/5

    All three tools follow a consistent 'get_' prefix with a descriptive noun: get_growth, get_time_series, get_top_trends. This predictable pattern makes it easy for agents to infer functionality from names.

    Tool Count5/5

    With only 3 tools, the server is tightly scoped but each tool addresses a fundamental need: growth, historical data, and current trends. This is a well-focused set that avoids redundancy.

    Completeness5/5

    The tools cover the main workflows for a trends service: analyzing growth, retrieving full time series for charting, and accessing live rankings. Edge cases like categories and rank changes are handled, leaving no obvious dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      MCP server for trend-pulse, an agentic trend intelligence platform that fetches and analyzes trending topics from 37 sources, provides search, historical data, and lifecycle prediction via 29 tools.
      340 PyPI
      68
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server providing news article mention volume data, weekly series, growth percentages, and a live Google News feed as an AI tool.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides Wikipedia page view trend data including spike detection, historical traffic, and cross-platform comparison, enabling AI to access a leading indicator of public curiosity.
      MIT