PostHog MCP Server
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Google Analytics 4 MCP server with reporting, schema discovery, and admin visibility tools
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ผลตรวจผ่าน 2/2 · ทำงานบนเครื่องคุณ
ขั้นแรก: คุณใช้ AI ตัวไหน
เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง
ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Google Analytics 4 (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
SettingsDeveloperEdit Config
{
"mcpServers": {
"google-analytics": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-google-analytics"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "ใส่ค่าของคุณ",
"GA4_PROPERTY_ID": "ใส่ค่าของคุณ"
}
}
}
}วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
ใช้ Google Analytics 4 บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude บอกว่ากำลังใช้ Google Analytics 4 หรือมีชื่อเครื่องมือของ Google Analytics 4 ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ChatGPT ยังต่อ Google Analytics 4 ไม่ได้
Google Analytics 4 ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ
ก · ใช้แอปที่ต่อ Google Analytics 4 ได้
ข · ตัวอื่นในหมวด การตลาดและโซเชียล ที่ต่อกับ ChatGPT ได้
เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์
ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Google Analytics 4 (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell
claude mcp add google-analytics --env GOOGLE_APPLICATION_CREDENTIALS='ใส่ค่าของคุณ' --env GA4_PROPERTY_ID='ใส่ค่าของคุณ' -- npx -y @mindstone/mcp-server-google-analyticsแก้ “ใส่ค่าของคุณ” เป็นคีย์ของคุณก่อนกด Enter
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
ต้องเห็น Google Analytics 4 ในรายการและขึ้นว่าเชื่อมต่อแล้ว
ใช้ Google Analytics 4 บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude Code บอกว่ากำลังใช้ Google Analytics 4 หรือมีชื่อเครื่องมือของ Google Analytics 4 ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Google Analytics 4 (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
ในค่าตั้งของ Google Analytics 4 ช่อง GOOGLE_APPLICATION_CREDENTIALS, GA4_PROPERTY_ID ยังว่าง ใส่คีย์ของคุณแล้วบันทึก
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
ใช้ Google Analytics 4 บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Cursor บอกว่ากำลังใช้ Google Analytics 4 หรือมีชื่อเครื่องมือของ Google Analytics 4 ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Google Analytics 4 (สมัครที่เว็บของผู้ทำ อาจมีค่าใช้จ่าย) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป อาจมีค่าใช้จ่าย
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
ในค่าตั้งของ Google Analytics 4 ช่อง GOOGLE_APPLICATION_CREDENTIALS, GA4_PROPERTY_ID ยังว่าง ใส่คีย์ของคุณแล้วบันทึก
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
ใช้ Google Analytics 4 บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า VS Code บอกว่ากำลังใช้ Google Analytics 4 หรือมีชื่อเครื่องมือของ Google Analytics 4 ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
Claude Code
claude mcp add google-analytics --env GOOGLE_APPLICATION_CREDENTIALS='ใส่ค่าของคุณ' --env GA4_PROPERTY_ID='ใส่ค่าของคุณ' -- npx -y @mindstone/mcp-server-google-analyticsClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"google-analytics": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-google-analytics"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "ใส่ค่าของคุณ",
"GA4_PROPERTY_ID": "ใส่ค่าของคุณ"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"google-analytics": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-google-analytics"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "ใส่ค่าของคุณ",
"GA4_PROPERTY_ID": "ใส่ค่าของคุณ"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"google-analytics": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-google-analytics"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "ใส่ค่าของคุณ",
"GA4_PROPERTY_ID": "ใส่ค่าของคุณ"
}
}
}
}GOOGLE_APPLICATION_CREDENTIALS จำเป็น envGA4_PROPERTY_ID envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
npm: @mindstone/mcp-server-google-analyticsดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ติดตั้งบนเครื่องได้ใน
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 12 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub mindstone ซึ่งเป็นเจ้าของ repo
มีการแก้โค้ดล่าสุด เมื่อวาน
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์
ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย
ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx
ยังไม่มีรีวิว
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 2 จาก 2 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GOOGLE_APPLICATION_CREDENTIALS
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวาน และส่งรุ่นล่าสุด (0.2.1) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี PostHog MCP Server, Openshorts, Google Ads + Meta Ads + SEO/GEO MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Google Analytics 4 MCP server for Model Context Protocol hosts. Discover account/property structure, explore the live schema, run reports (with row-volume safety), create large asynchronous exports, and inspect admin configuration through a standardised MCP interface. With writes explicitly enabled, it can also set up and change property configuration: key events, custom dimensions and metrics, audiences, channel groups, data streams, enhanced measurement, event create and edit rules, calculated metrics, annotations, attribution, Measurement Protocol secrets, product links, and data retention.
GOOGLE_APPLICATION_CREDENTIALS)STATUS.jsonanalytics.readonly scope, or a service account JSON with access to the GA4 propertyGA4_ALLOW_WRITES=true, credentials with the analytics.edit scope, and the Editor role on the propertyAfter clicking the button, your host will prompt you to fill: GOOGLE_APPLICATION_CREDENTIALS.
Manual config for Claude Desktop / Claude Code / Goose / Continue.dev (Google Analytics 4)
{
"mcpServers": { "Google Analytics 4": { "command": "npx", "args": [ "-y", "@mindstone/mcp-server-google-analytics" ], "env": { "GOOGLE_APPLICATION_CREDENTIALS": "" } } } }
cd <path-to-repo>/connectors/google-analytics
npm install npm run build
npx -y @mindstone/mcp-server-google-analytics
node dist/index.js
This server uses Google Application Default Credentials (ADC). Mint ADC for a user account by installing the Google Cloud CLI and running:
gcloud auth application-default login \
--scopes=https://www.googleapis.com/auth/analytics.readonly \ --client-id-file=/absolute/path/to/oauth-client-secret.json
The --client-id-file is optional but strongly recommended — using your own OAuth client avoids the shared gcloud quota and gives you a stable verification footprint. You'll need a Google Cloud project with the Google Analytics Admin API and Google Analytics Data API enabled.
For service accounts, set GOOGLE_APPLICATION_CREDENTIALS to the absolute path of the service-account JSON. The service account must be granted access to the GA4 property in the GA4 Admin UI.
Write tools are registered but refuse to run (WRITES_DISABLED) unless GA4_ALLOW_WRITES=true. To use them, mint ADC with the edit scope instead:
gcloud auth application-default login \
--scopes=https://www.googleapis.com/auth/analytics.edit \ --client-id-file=/absolute/path/to/oauth-client-secret.json
The account (or service account) also needs the Editor role on the GA4 property. Service-account credentials request the edit scope automatically when writes are enabled; user ADC keeps whatever scope it was minted with.
GOOGLE_APPLICATION_CREDENTIALS — required. Absolute path to ADC or service-account JSON. Node does not expand ~ or %APPDATA% — provide a fully-resolved path.GA4_PROPERTY_ID — optional. Default GA4 property ID (e.g. 123456789). Tools fall back to this when property_id is not passed in the call.GA4_ALLOW_WRITES — optional. Set to true (or 1) to allow the write tools to change GA4 configuration. Any other value, or unset, keeps the connector read-only.{
"mcpServers": { "GoogleAnalytics": { "command": "npx", "args": ["-y", "@mindstone/mcp-server-google-analytics"], "env": { "GOOGLE_APPLICATION_CREDENTIALS": "/Users/you/.config/gcloud/application_default_credentials.json", "GA4_PROPERTY_ID": "123456789" } } } }
{
"mcpServers": { "GoogleAnalytics": { "command": "node", "args": [" /connectors/google-analytics/dist/index.js"], "env": { "GOOGLE_APPLICATION_CREDENTIALS": "/absolute/path/to/credentials.json", "GA4_PROPERTY_ID": "123456789" } } } }
ga_list_account_summaries — discover available accounts and propertiesga_list_properties — flat list of GA4 properties with optional filteringga_get_property_details — currency, time zone, industry category, service levelga_get_metadata — live property schemaga_get_property_schema — same data with summary countsga_search_schema — keyword search across dimensions and metricsga_list_dimension_categories, ga_list_metric_categoriesga_get_dimensions_by_category, ga_get_metrics_by_categoryga_check_compatibility — verify dimension/metric combinations before reportingga_run_report — core report with row-volume safety (estimate, opt-in to large datasets, automatic aggregation suggestions)ga_run_pivot_report — cross-tabulated reportsga_batch_run_reports — up to 5 reports in one callga_run_realtime_report — last 30 minutes of activityga_get_property_quotas_snapshot — remaining tokens / requestsga_run_funnel_report — step-by-step completion and drop-off, with optional breakdown, next action, and trended view (v1alpha)ga_create_report_task — start an asynchronous report task for large exports (no synchronous timeout, no row-volume gate)ga_get_report_task — poll task state until ACTIVEga_query_report_task — page task rows (up to 250,000 per page)ga_create_audience_export — snapshot the users in an audience (incl. predictive segments); charges audience-export quota tokensga_get_audience_export — poll export state until ACTIVEga_list_audience_exports — find and reuse existing exportsga_query_audience_export — page user-level rows from an ACTIVE exportga_list_audiences — audiences configured on the property, with filter clausesga_list_channel_groups — channel groups and their grouping rulesga_get_custom_dimensions_and_metricsga_list_google_ads_linksga_list_key_eventsga_list_data_streamsga_get_global_site_tag — gtag.js snippet for the first web streamga_list_bigquery_linksga_get_data_retention_settingsga_list_firebase_linksga_search_change_history_eventsga_get_enhanced_measurement_settings — automatic events on a web streamga_list_event_create_rules — rules that derive new events on a streamga_list_measurement_protocol_secrets — secret values are returned; treat as sensitivega_list_annotations — chart annotations (v1alpha)ga_get_attribution_settings — attribution model and lookback windows (v1alpha)ga_list_calculated_metrics — formula metrics (v1alpha)ga_list_event_edit_rules — rules that rename or modify events on a stream (v1alpha)ga_get_google_signals_settings (v1alpha)ga_get_data_sharing_settings — account-levelGA4_ALLOW_WRITES=true)Every write is annotated readOnlyHint: false, destructiveHint: true. Archive, delete, acknowledgement, and data-retention tools also require confirm: true. Update tools change only the fields you pass (the update mask is built from them) and fail with NOTHING_TO_UPDATE if you pass none.
ga_create_key_event, ga_update_key_event, ga_delete_key_eventga_create_custom_dimension, ga_update_custom_dimension, ga_archive_custom_dimensionga_create_custom_metric, ga_update_custom_metric, ga_archive_custom_metricga_create_audience, ga_update_audience, ga_archive_audiencega_create_channel_group, ga_update_channel_group, ga_delete_channel_groupga_create_event_create_rule, ga_update_event_create_rule, ga_delete_event_create_rulega_create_property, ga_update_property, ga_delete_property (moves to trash for 35 days), ga_acknowledge_user_data_collectionga_create_web_data_stream, ga_update_data_stream, ga_delete_data_streamga_update_enhanced_measurement_settingsga_create_measurement_protocol_secret, ga_delete_measurement_protocol_secretga_create_google_ads_link, ga_update_google_ads_link, ga_delete_google_ads_linkga_create_firebase_link, ga_delete_firebase_linkga_create_bigquery_link, ga_update_bigquery_link, ga_delete_bigquery_linkga_update_data_retention_settingsga_create_annotation, ga_update_annotation, ga_delete_annotationga_update_attribution_settingsga_create_calculated_metric, ga_update_calculated_metric, ga_delete_calculated_metricga_create_event_edit_rule, ga_update_event_edit_rule, ga_delete_event_edit_ruleExplorations, saved reports, and report layouts have no Google API, so they cannot be created or changed by this connector.
GA4_ALLOW_WRITES=true, the only tools that create anything are ga_create_report_task and ga_create_audience_export, which materialise server-side snapshots and charge quota without modifying property configuration. The admin write tools refuse with WRITES_DISABLED before any request is sent. All of these are annotated readOnlyHint: false, destructiveHint: true, so hosts can gate them behind explicit user approval.