# Wikipedia Trends API

Supplies Wikipedia page-view analytics directly to your coding assistant, covering historical attention indexes, growth rates, and live trending topics.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: trendsapi-ai
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/trendsapi-ai/wikipedia-trends-api
- Updated: 2026-08-18
- HTML: https://affpapa.org/en/nevibecode/mcp/wikipedia-trends-api

## What it does

This server connects to the HTTP endpoint at `https://wikipedia.api.trendsapi.ai/mcp` to expose Wikipedia readership data. The tools report interest levels scaled from 0 to 100 over custom date ranges. It also calculates growth across intervals such as `3M`, `12M`, or `YTD`, and retrieves current leaderboards of viral articles.

Article headings must match Wikipedia titles strictly. Submitting `Java` instead of `Java (programming language)` returns an entirely different dataset, while invalid names yield a 404 status. An API key from `trendsapi.ai` is required to authenticate requests.

## Requirements
- Remote server: `https://wikipedia.api.trendsapi.ai/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http wikipedia-trends-api https://wikipedia.api.trendsapi.ai/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add wikipedia-trends-api --url https://wikipedia.api.trendsapi.ai/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "wikipedia-trends-api": {
            "url": "https://wikipedia.api.trendsapi.ai/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "wikipedia-trends-api": {
            "type": "http",
            "url": "https://wikipedia.api.trendsapi.ai/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http wikipedia-trends-api https://wikipedia.api.trendsapi.ai/mcp
```

## When to use it
- track article interest history on a 0-100 index scale
- calculate percentage view growth over quarterly or yearly spans
- inspect currently trending pages on Wikipedia in real time
- detect readership spikes for research and content planning

## Example prompts
- Pull the 12-month page-view trend for Artificial intelligence on Wikipedia
- Show the top ten trending Wikipedia articles right now
- Compare readership growth for Rust (programming language) between 3M and 12M windows

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40459
- [dbx](https://affpapa.org/en/nevibecode/mcp/dbx.md) — MCP server · ★ 27844
- [Metabase](https://affpapa.org/en/nevibecode/mcp/metabase.md) — MCP server · ★ 49863

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
