Skip to main content
Glama
Defilan

Plausible Analytics MCP Server

by Defilan

list-sites

Retrieve all accessible websites from your Plausible Analytics account to view and manage analytics data.

Instructions

List all sites you have access to in Plausible Analytics

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The 'list-sites' tool implementation using the PlausibleClient to fetch and return the list of sites.
    server.tool(
      "list-sites",
      "List all sites you have access to in Plausible Analytics",
      {},
      async () => {
        const sites = await client.listSites();
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(sites, null, 2),
            },
          ],
        };
      }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Defilan/plausible-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server