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
| Name | Type | Required | Description |
|---|---|---|---|
title | string | yes | Wikipedia article title, URL-encoded if needed (e.g. “Albert_Einstein”) |
start | string | yes | Start date in YYYYMMDD format (e.g. “20240101”) |
end | string | yes | End 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
| Field | Type | Description |
|---|---|---|
article | string | Wikipedia article title |
start | string | Start date in YYYYMMDD format |
end | string | End date in YYYYMMDD format |
total_views | number | Total pageviews across date range |
daily | array | Daily 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.