get_top_articles
Pack: wikiviews · Endpoint: https://gateway.pipeworx.io/wikiviews/mcp
Get the most viewed Wikipedia articles for a specific day. Returns up to 1000 articles ranked by view count.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
year | string | yes | Year as 4-digit string (e.g. “2024”) |
month | string | yes | Month as zero-padded 2-digit string (e.g. “01”) |
day | string | yes | Day as zero-padded 2-digit string (e.g. “15”) |
Example call
Arguments
{
"year": "2024",
"month": "01",
"day": "15"
}
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_top_articles","arguments":{"year":"2024","month":"01","day":"15"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_top_articles', {
"year": "2024",
"month": "01",
"day": "15"
});
More examples
{
"year": "2023",
"month": "12",
"day": "25"
}
Response shape
Always returns: date, count, articles
| Field | Type | Description |
|---|---|---|
date | string | Date in YYYY-MM-DD format |
count | number | Number of top articles returned |
articles | array | Top viewed articles for the day |
Full JSON Schema
{
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "Date in YYYY-MM-DD format"
},
"count": {
"type": "number",
"description": "Number of top articles returned"
},
"articles": {
"type": "array",
"description": "Top viewed articles for the day",
"items": {
"type": "object",
"properties": {
"rank": {
"type": "number",
"description": "Article rank by view count"
},
"article": {
"type": "string",
"description": "Article title with underscores replaced by spaces"
},
"views": {
"type": "number",
"description": "Number of pageviews"
}
},
"required": [
"rank",
"article",
"views"
]
}
}
},
"required": [
"date",
"count",
"articles"
]
}
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.