PostHog MCP Server
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
Privacy-first cookieless web analytics with agent one-prompt setup via remote MCP OAuth.
使っているAIアプリを選んで、設定をコピーしてください。
チェック 5/5 合格 · 質問内容は提供元のサーバー(slimlytics.com)を通ります · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげます · 約 2 分
キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
CustomizeConnectors
ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します
Slimlyticshttps://slimlytics.com/api/mcpClaude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します
+ConnectorsSlimlytics
Slimlytics を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Slimlytics を使っていると言うか、回答に Slimlytics のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT との接続はプランしだい
フル MCP:Web 版 ChatGPT の Business・Enterprise・Edu · Pro:読み取り/取得の権限で接続、データを変えるツールは使えないことがあります · Plus:公式ドキュメントで未確認。プラグイン画面にカスタム MCP を追加する項目があれば試せます · Web のみ
Plugins+Add custom MCP server
名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します
Slimlyticshttps://slimlytics.com/api/mcp新しいチャットを開き、入力前にプラグインの一覧から Slimlytics を選びます
Slimlytics を使って、私に何ができるか教えて、1 つやってみせて✓ ChatGPT が Slimlytics を使っていると言うか、回答に Slimlytics のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Claude Code につなげます · 約 2 分
キー不要、インストール不要
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
claude mcp add --transport http --scope user slimlytics https://slimlytics.com/api/mcpSlimlytics が一覧にあり、接続済みと表示されれば OK です
Slimlytics を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Slimlytics を使っていると言うか、回答に Slimlytics のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげます · 約 2 分
キー不要、インストール不要
Slimlytics を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Slimlytics を使っていると言うか、回答に Slimlytics のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげます · 約 2 分
キー不要、インストール不要
Slimlytics を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Slimlytics を使っていると言うか、回答に Slimlytics のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
Web 経由でつなぐアプリ用のアドレス
https://slimlytics.com/api/mcpJSON 設定は下の「開発者向け」にあります
Claude Code
claude mcp add --transport http --scope user slimlytics https://slimlytics.com/api/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"slimlytics": {
"url": "https://slimlytics.com/api/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"slimlytics": {
"type": "http",
"url": "https://slimlytics.com/api/mcp"
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
インターネット経由でつなげるアプリ
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
このサーバーは、ツール一覧を表示する前にサインインを求めます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月13日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント djedi で確認済みです
コードの最終更新:一昨日
AGPL-3.0を使用
469ミリ秒で応答(HTTP 401)
OAuthでのサインインに対応しているため、AIアプリがログイン画面へ案内してくれます
まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
まだレビューはありません
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック5項目のうち5項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。
GitHubリポジトリの最終更新は一昨日、最新バージョン(1.0.0)がレジストリに届いたのは32 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。
同じカテゴリには:PostHog MCP Server, Openshorts, Google Ads + Meta Ads + SEO/GEO MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.
Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AI
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Private, real-time web analytics. Know what works, skip the noise.
Website · Start free (hosted) · Pricing · Docs · Agent setup · Privacy model
Slimlytics shows you who is on your site right now, where they came from, and what they did, without cookies, fingerprinting, or session replay. One small first-party script, a clean dashboard, and a live visitor stream. Your AI coding agent can even install it for you.
Looking for the product? Head to [slimlytics.com](https://slimlytics.com). You do not need to clone this repository to use Slimlytics. The hosted version has a free plan and takes about a minute to set up.
Every feature is included on every option. Pick the one that fits.
| Slimlytics Cloud (hosted) | Self-hosted (this repo) | |
|---|---|---|
| Best for | Anyone who wants analytics, not another server to babysit | Teams who want full control of their infrastructure |
| Setup | Create an account, paste one script tag | Docker Compose, PostgreSQL, Caddy |
| Servers, upgrades, TLS, GeoIP data | Handled for you | You run them |
| Cost | Free plan for one site; paid plans from $7/month | $0, unlimited sites and page views |
| Support | Community, email, or priority email by plan | Community |
| Get started | [Create a free account](https://slimlytics.com/register) | Quick start below |
Plan limits and current prices are on the pricing page.
Connect your coding agent to the hosted MCP server once, then ask it to set up analytics:
claude mcp add --transport http slimlytics https://slimlytics.com/api/mcp
> Set up Slimlytics for https://shop.example.com behind Nginx and verify it.
The agent creates the site, adds the first-party proxy routes and script tag, and confirms the first page view landed. Codex and Hermes instructions are in the agent guide (repository copy: docs/MCP.md). Scoped personal tokens and the REST API are also supported.
Everything below is for running your own instance or contributing. If you just want analytics, Slimlytics Cloud is the faster path.
Browser tracker ──POST──▶ Rust/Axum API ──▶ PostgreSQL
│ Dashboard ◀── JSON + SSE ─────┘ ▲ └──────── Caddy ──────── Internet
backend/ — Axum, Tokio, SQLx, PostgreSQLfrontend/ — Svelte 5, SvelteKit, TypeScripttracker/ — framework-independent TypeScript trackercli/ — installable Rust CLI for account, site, and tracking setup automationmigrations/ — PostgreSQL schemadocker/ — production container definitions and reverse proxyscripts/ — verified backup and guarded restore toolingRequirements: Docker with Compose v2+. Prefer not to run servers? Slimlytics Cloud is free to start.
Generate a private .env with independent random database, JWT, and visitor-hash secrets:
./scripts/generate-env.sh
Review the generated URLs and deployment settings before starting. The script refuses to overwrite an existing .env.
Then start the stack:
make up
docker compose ps curl --fail http://localhost:8080/health
Open http://localhost:8080 for the public marketing site. Create an account at /register (or sign in at /login), then use the dashboard at /app to add a site and copy its generated tracking snippet. Pricing and privacy pages live at /pricing and /privacy. The default listener is deliberately loopback-only and is suitable for local use or an existing TLS reverse proxy.
For a public VPS where this stack should terminate TLS itself, point DNS at the host, set SLIMLYTICS_DOMAIN and ACME_EMAIL in .env, then run:
docker compose -f compose.yaml -f compose.production.yaml up -d --build
The production overlay publishes ports 80/443, enables automatic HTTPS, persists Caddy certificates, and configures the application origin. Do not expose the base HTTP stack directly to the Internet.
Requirements:
rust-toolchain.toml)make setup
make test make check make build
make dev # http://localhost:8080
make dev-logs # follow frontend and backend output make down
make dev layers compose.dev.yaml over the normal stack. Svelte changes hot-reload in the browser through Caddy. Changes to backend sources, Cargo.toml/Cargo.lock, build.rs, migrations, or docs/openapi.json rebuild and restart the API automatically. The first backend build compiles every dependency and takes a few minutes; later rebuilds are incremental. If edits are not detected (some network or VM file systems), set VITE_WATCH_POLLING=true in .env. Run make up to return to the production-like images.
make geoip downloads the free DB-IP City Lite database (CC BY 4.0, no account) to data/geoip/, and Compose mounts it into the backend. Lookups happen locally, so visitor IPs are never sent to a third party. Production deploys refresh it monthly. Without the file, locations are simply disabled. Local requests arrive from private Docker addresses, which have no location; test against a deployment or with cargo test --test enrichment -- --ignored (set GEOIP_TEST_DATABASE). Trusted Cloudflare location headers take precedence when TRUST_PROXY=true.
make sync-account copies one account from a remote deployment into the local Docker database, so you can sign in locally with the same email and password and see the same sites and analytics. Configure SYNC_SOURCE_SSH, SYNC_SOURCE_PATH, SYNC_SOURCE_COMPOSE_FILES, SYNC_EMAIL, and optionally SYNC_EVENT_DAYS in .env (see .env.example). The remote is only read; locally, that account and its sites are replaced, including any local site with the same domain. Other users, API tokens, OAuth state, and Search Console connections are never copied, and report subscriptions arrive disabled. Both databases must be on the same migration.
Start PostgreSQL with Docker if desired, then run the API and Svelte dev server separately:
docker compose up -d db
export DATABASE_URL='postgres://slimlytics:YOUR_PASSWORD@localhost:5432/slimlytics' cargo run --manifest-path backend/Cargo.toml npm --prefix frontend run dev
The dashboard generates random, editable first-party paths plus the matching Caddy, Nginx, or Apache configuration. After installing that server configuration, the measured site needs only a same-origin snippet:
<script async src="/456bbb63bb86.js"></script>
The generated JavaScript path returns the complete tracker initialized for that site's exact beacon path. The generated test links verify both routes without inserting a fake analytics event. See docs/FIRST_PARTY_PROXY.md.
The tracker never captures form values. Cookieless tracking, Do Not Track, and Global Privacy Control behavior are documented in docs/PRIVACY.md.
Install the slimlytics binary with Rust's Cargo:
cargo install --locked --git https://github.com/djedi/slimlytics --tag cli-v0.2.0 slimlytics-cli
slimlytics auth login --email you@example.com
Login exchanges the short-lived password session for an expiring, revocable personal API token. The credential file is stored in the operating system's private configuration directory with 0600 permissions; automation can instead provide SLIMLYTICS_TOKEN without writing a file.
The idempotent command intended for AI agents creates or reuses a domain and returns the complete server configuration, same-origin snippet, and test URLs:
slimlytics --json site ensure example.com --server caddy
The complete public guide is available at https://slimlytics.com/docs/cli; docs/CLI.md is the repository copy. The interactive Scalar API reference is at https://slimlytics.com/api/docs, backed by the downloadable OpenAPI 3.1 document at https://slimlytics.com/api/openapi.json.
Production releases use the guarded deployment script:
make deploy
The script requires a clean main branch whose HEAD is already pushed to origin/main. It connects through the dedicated slimdeploy account, requires canonical-path and repository-sentinel checks before any synchronization, runs the complete local test/check/build suite with a lockfile-pinned OpenAPI validator, creates a verified PostgreSQL backup and a source rollback snapshot, synchronizes source while preserving production .env and backups, applies compose.yaml with the production compose.proxy.yaml overlay, and verifies health, readiness, the exact OpenAPI contract, redirect behavior, and the deployed Scalar stylesheet. A failed deployment automatically restores the prior source snapshot, reapplies Compose, and waits for healthy services.
Manual backup and guarded restore remain available:
./scripts/backup.sh
./scripts/restore.sh backups/slimlytics-YYYYMMDDTHHMMSSZ.sql.gz
Backups are gzip-verified. Restore requires typing RESTORE and runs PostgreSQL with ON_ERROR_STOP.
Before upgrading: