Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@kieksme/swetrix-admin-mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kieksme/swetrix-admin-mcp

MCP server for the Swetrix Admin API – manages projects, funnels, annotations, views and organisations

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

@kieksme/swetrix-admin-mcp

MCP server for the Swetrix Admin API — 34 tools for managing projects, funnels, annotations, views, and organisations.

Note: All tools require a valid SWETRIX_API_KEY. This server performs write operations — use with care.

Installation

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "swetrix-admin": {
      "command": "npx",
      "args": ["-y", "@kieksme/swetrix-admin-mcp"],
      "env": {
        "SWETRIX_API_KEY": "your-api-key",
        "SWETRIX_API_BASE_URL": "https://analytics.example.com"
      }
    }
  }
}

Claude Code

claude mcp add swetrix-admin -e SWETRIX_API_KEY=your-key -e SWETRIX_API_BASE_URL=https://analytics.example.com -- npx -y @kieksme/swetrix-admin-mcp

Environment variables

VariableRequiredDescription
SWETRIX_API_KEYYesYour Swetrix API key (Account Settings → API keys)
SWETRIX_API_BASE_URLNoCustom API base URL for self-hosted Swetrix (default: https://api.swetrix.com)

Tools

Projects

ToolDescription
swetrix_list_projectsList all projects for the authenticated user
swetrix_get_projectGet details for a single project
swetrix_create_projectCreate a new project
swetrix_update_projectUpdate project name, settings, or configuration
swetrix_delete_projectDelete a project permanently
swetrix_pin_projectPin a project to the top of the dashboard
swetrix_unpin_projectUnpin a project
swetrix_assign_project_orgAssign a project to an organisation

Funnels

ToolDescription
swetrix_list_funnelsList all funnels for a project
swetrix_create_funnelCreate a new conversion funnel with ordered steps
swetrix_update_funnelUpdate funnel name or steps
swetrix_delete_funnelDelete a funnel

Annotations

ToolDescription
swetrix_list_annotationsList all annotations for a project
swetrix_create_annotationAdd a dated annotation to the traffic timeline
swetrix_update_annotationEdit an annotation's text or date
swetrix_delete_annotationDelete an annotation

Views

ToolDescription
swetrix_list_viewsList saved dashboard views for a project
swetrix_get_viewGet a specific saved view
swetrix_create_viewCreate a new saved view with filters and settings
swetrix_update_viewUpdate a saved view
swetrix_delete_viewDelete a saved view

Organisations

ToolDescription
swetrix_list_organisationsList all organisations the user belongs to
swetrix_get_organisationGet details for a specific organisation
swetrix_create_organisationCreate a new organisation
swetrix_update_organisationUpdate organisation name or settings
swetrix_delete_organisationDelete an organisation
swetrix_invite_org_memberInvite a user to an organisation by email
swetrix_update_org_memberChange a member's role within the organisation
swetrix_remove_org_memberRemove a member from an organisation

Example prompts

  • "List all my Swetrix projects."
  • "Create a new project called Marketing Site."
  • "Add a funnel for the checkout flow: /cart/checkout/thank-you."
  • "Annotate project abc123 on 2025-01-15 with Launched new homepage."
  • "Invite user@example.com to organisation my-org as a viewer."

License

GPL-3.0-only — see LICENSE

Keywords

mcp

FAQs

Package last updated on 27 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts