WordPress MCP Server

get-post-stats

Retrieve view statistics for a specific WordPress post by providing site URL, credentials, site ID, and post ID. Enables data-driven post performance analysis via REST API integration.

Instructions

View a specific post's views

Input Schema

NameRequiredDescriptionDefault
passwordYesWordPress application password
postIdYesPost ID to get stats for
siteIdYesWordPress site ID
siteUrlYesWordPress site URL
usernameYesWordPress username

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "password": { "description": "WordPress application password", "type": "string" }, "postId": { "description": "Post ID to get stats for", "type": "number" }, "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", "postId" ], "type": "object" }
ID: 4g84e42ylk