naftiko: 1.0.0-alpha2 info: label: Plausible Events API description: The Plausible Events API allows server-side and non-browser clients to send pageviews and custom events to Plausible. tags: - Plausible - API created: '2026-05-06' modified: '2026-05-06' capability: consumes: - type: http namespace: plausible baseUri: https://plausible.io description: Plausible Events API HTTP API. resources: - name: api-event path: /api/event operations: - name: recordevent method: POST description: Record a pageview or custom event inputParameters: - name: User-Agent in: header type: string required: true description: Used to derive the visitor identifier. - name: X-Forwarded-For in: header type: string description: Client IP address; defaults to the sender's remote IP. - name: X-Debug-Request in: header type: boolean description: When true, returns the IP used for visitor counting. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest port: 8080 namespace: plausible-rest description: REST adapter for Plausible Events API. resources: - path: /api/event name: recordevent operations: - method: POST name: recordevent description: Record a pageview or custom event call: plausible.recordevent outputParameters: - type: object mapping: $. - type: mcp port: 9090 namespace: plausible-mcp transport: http description: MCP adapter for Plausible Events API for AI agent use. tools: - name: recordevent description: Record a pageview or custom event hints: readOnly: false destructive: false idempotent: false call: plausible.recordevent outputParameters: - type: object mapping: $.