wikipedia-trends-mcp
wikipedia-trends-mcp
面向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 / 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/mcpRelated MCP server: news-volume-mcp
示例查询
连接后,向你的AI提问:
get_trends(keyword='quantum computing', source='wikipedia', data_mode='weekly')可用工具
工具 | 功能说明 |
| 获取该来源上某个关键词的时间序列数据 |
| 计算1周、1月、3月、6月、1年各周期的增长率 |
| 获取该来源当前热门趋势 |
| 按流量排名获取热门话题 |
常见问题
Trends MCP 提供哪些维基百科数据?
维基百科页面浏览量趋势——给定主题维基百科文章随时间变化的标准化流量。这是一个强大的信息需求信号:当新闻事件爆发时,维基百科浏览量会在谷歌搜索追上之前出现峰值。
维基百科数据作为趋势信号有何用处?
对于新闻驱动的事件,维基百科的峰值通常比谷歌趋势提前24-72小时。它是公众好奇心的领先指标——适用于媒体、研究和投资应用。
它只追踪英文维基百科吗?
是的,目前仅追踪英文维基百科页面浏览量。多语言支持已在路线图中。
我可以追踪某个人、公司或事件吗?
可以。任何拥有维基百科文章的主题都可追踪。公司页面、政治人物、科学概念和时事新闻均可。
所有数据源
Trends MCP 通过单一连接覆盖12+数据源: 谷歌搜索、YouTube、TikTok、Reddit、亚马逊、维基百科、 新闻情感分析、网站流量、应用下载量、Steam、npm 等。
浏览全部:https://trendsmcp.ai/data-sources
也可作为Python客户端使用
同一个API密钥可直接在Python中使用——无需MCP宿主。
pip install wikipedia-trends-mcpimport 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 toolsget_growthARead-onlyIdempotentInspect
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_seriesARead-onlyIdempotentInspect
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
get_top_trendsARead-onlyIdempotentInspect
Live top-trending board for exactly one feed type. No keyword. For 'Amazon Best Sellers by Category', 'Google Trends by Category', 'Top Websites', and 'Substack by Category', always pass category. Default sort is current rank. Use sort='rank_change' for climbers vs a prior snapshot (window 1d, 3d, 7d, 14d, or 30d). App Store Top Free, App Store Top Paid, and Google Play are live store boards, not keyword lookups. For an app's history use get_growth or get_time_series with source app downloads or app rankings and an Android bundle ID. Do not use get_time_series for live boards. If the request is rate limited or the monthly quota is used up, tell the user their plan limit is reached.
Inputs: type (required), sort, limit, offset, +2 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
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.
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.
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.
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
Related MCP Connectors
Track Wikipedia page-view trends, compare topics and get alerts when attention to a topic spikes.
Topic popularity, interest over time and trending topics from Wikipedia pageviews (x402 paid).
Wikipedia page view trends for any topic over time. Free key at trendsapi.ai
Live Wikipedia pageviews for brand attention share, article trends, top pages, and country ranks.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceMCP 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 PyPI68MIT
- AlicenseNot gradedqualityCmaintenanceMCP server providing news article mention volume data, weekly series, growth percentages, and a live Google News feed as an AI tool.MIT
- AlicenseNot gradedqualityBmaintenanceProvides 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
- AlicenseNot gradedqualityDmaintenanceMCP server providing live Wikipedia recent changes feed, page summaries, trending pages, and Wikidata entity lookup.MIT