WordPress MCP Server

get-top-posts

Retrieve the most viewed posts and pages from a WordPress site by specifying a time period and limit. Authenticate with a username and application password to access site statistics programmatically.

Instructions

View a site's top posts and pages by views

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of posts to return
passwordYesWordPress application password
periodNoTime period for stats
siteIdYesWordPress site ID
siteUrlYesWordPress site URL
usernameYesWordPress username

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "limit": { "description": "Maximum number of posts to return", "maximum": 100, "minimum": 1, "type": "number" }, "password": { "description": "WordPress application password", "type": "string" }, "period": { "description": "Time period for stats", "enum": [ "day", "week", "month", "year" ], "type": "string" }, "siteId": { "description": "WordPress site ID", "type": "number" }, "siteUrl": { "description": "WordPress site URL", "format": "uri", "type": "string" }, "username": { "description": "WordPress username", "type": "string" } }, "required": [ "siteUrl", "username", "password", "siteId" ], "type": "object" }
ID: 4g84e42ylk