get_article_views

Pack: wikiviews · Endpoint: https://gateway.pipeworx.io/wikiviews/mcp

Get daily pageview counts for a specific Wikipedia article over a date range. Dates must be in YYYYMMDD format.

Parameters

NameTypeRequiredDescription
titlestringyesWikipedia article title, URL-encoded if needed (e.g. “Albert_Einstein”)
startstringyesStart date in YYYYMMDD format (e.g. “20240101”)
endstringyesEnd date in YYYYMMDD format (e.g. “20240131”)

Example call

Arguments

{
  "title": "Albert_Einstein",
  "start": "20240101",
  "end": "20240131"
}

curl

curl -X POST https://gateway.pipeworx.io/wikiviews/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_article_views","arguments":{"title":"Albert_Einstein","start":"20240101","end":"20240131"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_article_views', {
  "title": "Albert_Einstein",
  "start": "20240101",
  "end": "20240131"
});

More examples

{
  "title": "COVID-19_pandemic",
  "start": "20230101",
  "end": "20231231"
}

Response shape

Always returns: article, start, end, total_views, daily

FieldTypeDescription
articlestringWikipedia article title
startstringStart date in YYYYMMDD format
endstringEnd date in YYYYMMDD format
total_viewsnumberTotal pageviews across date range
dailyarrayDaily pageview breakdown
Full JSON Schema
{
  "type": "object",
  "properties": {
    "article": {
      "type": "string",
      "description": "Wikipedia article title"
    },
    "start": {
      "type": "string",
      "description": "Start date in YYYYMMDD format"
    },
    "end": {
      "type": "string",
      "description": "End date in YYYYMMDD format"
    },
    "total_views": {
      "type": "number",
      "description": "Total pageviews across date range"
    },
    "daily": {
      "type": "array",
      "description": "Daily pageview breakdown",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "Date in YYYYMMDD format"
          },
          "views": {
            "type": "number",
            "description": "Pageviews for that day"
          }
        },
        "required": [
          "date",
          "views"
        ]
      }
    }
  },
  "required": [
    "article",
    "start",
    "end",
    "total_views",
    "daily"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "wikiviews": {
      "url": "https://gateway.pipeworx.io/wikiviews/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026