SuperAPI AI Directory

plainsignal-mcp

Official MCP server that connects to PlainSignal's API and querying realtime website analytics data in conversational AI.

Open website

About this tool

PlainSignal MCP Server is the official Model Context Protocol (MCP) server implementation provided by PlainSignal, used to retrieve PlainSignal analytics data through the MCP protocol. It provides tools for obtaining analytics reports and metrics, enabling conversational AI to query real-time website analytics data.

Main capabilities:

  • Provides the getReport tool: retrieves analytics reports based on a specified domain and time period. Parameters include organizationID (organization ID), domainID (domain ID), periodFrom (report start time, RFC3339 format), periodTo (report end time, RFC3339 format), periodSelection (period type: m month, y year, d day), aggregationWindow (data aggregation window: h hour, d day), filters (optional, list of key-value pairs).
  • Provides a tool for obtaining detailed metrics: used to retrieve detailed metrics for specific aspects of analytics data. Parameters include subReportType (report type, such as 1 page, 2 entry page, etc.), filters (optional, list of key-value pairs), pagination (optional, pagination control, including limit and offset).

Usage:

  1. Clone the repository and install dependencies. The project uses ES modules rather than CommonJS and requires Node.js 14+.
  2. It can be installed via npm or used from source.
  3. When running the server, an access token must be provided, and a custom API base URL can also be specified. Supports setting the access token and API base URL in short format or via environment variables, and uses a test script. Default connection https://app.plainsignal.com/api/v1。
  4. Add the MCP server configuration snippet to claude_desktop_config.json to integrate it.
  5. The server is implemented using the MCP SDK and communicates via STDIO.
  6. Provides an example client that demonstrates how to connect to the MCP server, list available tools, call the getReport tool, and handle and display the results; it also provides a resource example client that demonstrates listing available resources and reading the listDomains resource.

Applicable scenarios: Suitable for scenarios that require querying PlainSignal website analytics data in conversational AI, such as obtaining analytics reports and metrics through MCP clients such as Claude Desktop.

Limitations: The project uses the MIT license. Information regarding specific fees, pricing, platform support scope, etc. is not currently provided.