get_project_views

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

Get aggregate daily pageview totals for all of English Wikipedia over a date range. Dates must be in YYYYMMDD format.

Parameters

NameTypeRequiredDescription
startstringyesStart date in YYYYMMDD format (e.g. “20240101”)
endstringyesEnd date in YYYYMMDD format (e.g. “20240131”)

Example call

Arguments

{
  "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_project_views","arguments":{"start":"20240101","end":"20240131"}}}'

TypeScript (@pipeworx/sdk)

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

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

Response shape

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

FieldTypeDescription
projectstringProject identifier
startstringStart date in YYYYMMDD format
endstringEnd date in YYYYMMDD format
total_viewsnumberTotal pageviews for English Wikipedia
dailyarrayDaily pageview breakdown
Full JSON Schema
{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "description": "Project identifier"
    },
    "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 for English Wikipedia"
    },
    "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": [
    "project",
    "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