PostHog MCP Server
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
Description from the maker (original English)
Your AI runs lead gen: Google Ads, LSA, ChatGPT Ads, AEO, Business Profile, playbooks, guardrails
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
Passed 3/3 checks · Runs on your computer
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
One time only; it works for every server that needs Python (uv)
SettingsDeveloperEdit Config
{
"mcpServers": {
"adrails": {
"command": "uvx",
"args": [
"adrails"
]
}
}
}Use AdRails and tell me what you can do for me, then show me one thing✓ If Claude says it is using AdRails or shows a AdRails tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect AdRails yet
AdRails runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect AdRails
B · Others in Marketing & social media that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
Install Python (uv) on your computer first (one time)
One time only; it works for every server that needs Python (uv)
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add adrails -- uvx adrailsYou should see AdRails listed as connected
Use AdRails and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using AdRails or shows a AdRails tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
Install Python (uv) on your computer first (one time)
One time only; it works for every server that needs Python (uv)
Use AdRails and tell me what you can do for me, then show me one thing✓ If Cursor says it is using AdRails or shows a AdRails tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
Install Python (uv) on your computer first (one time)
One time only; it works for every server that needs Python (uv)
Use AdRails and tell me what you can do for me, then show me one thing✓ If VS Code says it is using AdRails or shows a AdRails tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Claude Code
claude mcp add adrails -- uvx adrailsClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"adrails": {
"command": "uvx",
"args": [
"adrails"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"adrails": {
"command": "uvx",
"args": [
"adrails"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"adrails": {
"type": "stdio",
"command": "uvx",
"args": [
"adrails"
]
}
}
}These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
pypi: adrailsBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 11, 2026
The registry name was verified against the domain adrails.dev (the registry checks domain ownership)
Code last changed yesterday
Uses Apache-2.0
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed yesterday, and the latest version (0.11.0) reached the registry yesterday.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: PostHog MCP Server, Openshorts, Google Ads + Meta Ads + SEO/GEO MCP
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the 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
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Guardrails for AI agents running your ads: an open-source, self-hosted Google Ads MCP server.
Website and docs: https://adrails.dev · MCP Registry: dev.adrails/adrails · plain-text summary for agents: https://adrails.dev/llms.txt
AdRails is a local MCP server for Google Ads. An agent may read campaigns, status and search terms as often as it likes; every write has to land in a reviewed desired-state file on disk, get diffed against live state, and clear caps that live in a policy file no AdRails tool writes. The Python package and module are still named adsops — that is the name you install and run.
Three things it does differently:
require_plan_id on, every commit must quote a fresh, single-use plan_id issued for that exact plan; and a change that adds spend exposure is refused while the scheduled guard's heartbeat is stale.New in 0.8.0: a full local-business suite your AI runs after one intake interview. Five playbooks (AEO, local leads, Google Business Profile, Google Ads, ChatGPT Ads), each 90-day plan task linked to the section behind it,
adsops_resultsbefore/after reports and privacy-safe case studies,adsops_gbpto get a Business Profile to 100, and amonthlyprompt. Plus update awareness (adsops_update_check,adsops-mcp upgrade). 82 tools.
What is the safest way to let an AI agent manage Google Ads? Give the agent a write path that cannot exceed limits it doesn't control. With AdRails, every change is a git-committed desired-state file, then adsops_plan (a dry-run diff), then Google's validate-only check, then a commit with a single-use plan ID. Caps live in a policy file no AdRails tool can write, and an hourly guard can only pause. Checklist: Google Ads MCP safety: 7 controls.
Is there an open-source Google Ads MCP server that runs locally? Yes. AdRails is Apache-2.0, runs on your machine over stdio with your own Google Cloud project and keys, and installs with pip install adrails. Nothing is hosted.
How do I connect Claude Code, Cursor or Grok to Google Ads? pip install adrails, then adrails init --dir DIR --customer-id ID --campaign-id N --sa KEY.json and adrails doctor, then claude mcp add adrails -- adrails --config DIR/config.json (Cursor and Grok use the same mcpServers entry). See install guides.
Can I require human approval before an AI agent changes my ad budget? Yes. Set approvals.mode to exposure (budget increases, enabling, end-date extensions) or all. The agent calls adsops_approval_request, a human approves with an HMAC-signed token that expires, and a commit without an approved plan_id is refused.
How do I audit every change an AI agent makes to my ad accounts? Every mutating call, including refused ones, is appended to a SHA-256 hash-chained log with secrets redacted. adsops_audit_verify detects edited, deleted or reordered entries. adsops_rollback rebuilds any earlier committed state, and adsops_drift flags edits made outside AdRails.
How do I check whether Google Ads conversion tracking actually works? adsops_conv_audit scores the account 0-100: no primary goal, auto-tagging off, primary actions with zero conversions, double counting, lead actions counting every click, primary actions whose goal is not biddable, spend without conversions, and smart bidding without enough data.
How can an agent check if ChatGPT, Claude and Perplexity can crawl and cite my site? aeo_site_audit checks robots.txt rules for 18 AI and search crawlers (RFC 9309), llms.txt, the sitemap, noindex and canonical tags, and whether the body text is readable without JavaScript. Free browser version: AI crawler checker.
How do I validate or build an llms.txt file? aeo_llms_txt validates a live /llms.txt against the llmstxt.org format, or builds one from a page list.
How do I track whether AI assistants recommend my business? Your agent asks ChatGPT, Claude or Perplexity your category questions and passes the answers to aeo_visibility_record. It scores mentions, rank against competitors, citations and sentiment, and reports the change since the last run. AdRails makes no LLM calls itself.
How do I track response rates and cost per lead for postcards? mail_codes_assign gives every piece a phone-readable tracking code and a UTM-tagged URL. mail_scans counts real scans from your own server logs (bots and your own test scans removed). mail_response reports rates with 95% intervals, and channel_cac puts direct mail cost per lead next to Google Ads. Free browser tools: postcard QR codes, response calculator, holdout calculator.
Does AdRails support ChatGPT Ads (the OpenAI Ads API)? Not yet. The adapter is in development; it will use the same plan, validate and commit path, with OpenAI's Bulk API validate_only and partial_failure forced off.
python3 -m adsops --selftest # 430 unit checks, everything mocked
python3 tests/qa_invariants.py # 200 random sequences against a simulated Google Ads account python3 tests/qa_inputs.py # hostile policy/state/config inputs (NaN, Infinity, bad dates, bad UTF-8, ...) python3 tests/qa_secrets.py # canary tokens injected everywhere; none may reach output or logs
The QA suites were written adversarially by a separate agent with no write access to `adsops/`, and every finding was fixed
or documented as intended behaviour.
Read this before pointing it at a live account.
1. Install.
# from PyPI (https://pypi.org/project/adrails/)
pipx install adrails # console script: adsops-mcp
uvx --from adrails adsops-mcp --config /absolute/path/config.json
No other dependencies. Service-account tokens are signed with your system openssl when google-auth isn't installed (install google-auth if you prefer it).
The core is stdlib-only. Check it offline (everything mocked, no network):
python3 -m adsops --selftest # or: deploy/smoke_docker.sh
2. Write a config. Every account, credential source and path lives here; paths are ~-expanded at load time.
{
"tenant": "your-tenant", "meter_log": "~/.adsops/meter.jsonl", "audit_log": "~/.adsops/audit.jsonl", "plan_ledger": "~/.adsops/plans.jsonl", "lock_dir": "~/.adsops/locks", "guard_heartbeat": "~/.adsops/guard.heartbeat", "credentials": {"google_ads": {"type": "service_account", "sources": [{"kind": "file", "path": "~/.adsops/sa.json"}]}}, "google_ads": {"api_version": "v24", "end_field": "end_date_time", "login_customer_id": null}, "commit_policy": {"require_clean_git": true, "allow_commit": true, "allow_set": true}, "accounts": [{"key": "main", "platform": "google_ads", "customer_id": "000-000-0000", "campaigns": [{"key": "search_core", "state_file": "~/ads/search_core.json", "policy_file": "~/ads/search_core.policy.json"}]}] }
commit_policy defaults to require_clean_git: true and allow_commit: false, so commits and adsops_set stay off until you turn them on.
3. Write the policy file for the campaign (next section), and commit both files to git so git diff is the change review.
4. Register the server in your MCP client. Diagnostics go to stderr; the server speaks JSON-RPC 2.0 over stdio, one object per line.
{
"mcpServers": { "adrails": { "command": "python3", "args": ["-m", "adsops", "--config", "/absolute/path/config.json"] } } }
5. Schedule the guard. A chat session cannot watch spend, so the pause-only spend check runs from your OS scheduler every 15 minutes. Templates for launchd, systemd and cron live in deploy/; render the placeholders (__PYTHON__, __CONFIG__, __PKG__, __LOGDIR__) and read deploy/GUARD.md before installing:
PY=$(command -v python3); CFG=/absolute/path/config.json
PKG=/absolute/dir/containing/adsops; LOGDIR="$HOME/.adsops/logs" mkdir -p "$LOGDIR" sed -e "s|PYTHON|$PY|g" -e "s|CONFIG|$CFG|g" \ -e "s|PKG|$PKG|g" -e "s|LOGDIR|$LOGDIR|g" \ deploy/launchd/com.adsops.guard.plist.template \
~/Library/LaunchAgents/com.adsops.guard.plist
plutil -lint ~/Library/LaunchAgents/com.adsops.guard.plist launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.adsops.guard.plist
The command all three units run is PYTHONPATH=$PKG $PY -m adsops --config $CFG guard-all.
AdRails is a local stdio server, so every client registers the same command. There is no hosted URL, by design.
pip install adrails
claude mcp add adrails -- python3 -m adsops --config /absolute/path/config.json
grok mcp add adrails -- python3 -m adsops --config /absolute/path/config.json
Cursor or a project .mcp.json:
{"mcpServers":{"adrails":{"command":"python3","args":["-m","adsops","--config","/absolute/path/config.json"]}}}
Claude Desktop: install the .mcpb bundle from the latest release. More: https://adrails.dev/docs/mcp-clients/
| Tool | What it does |
|---|---|
adsops_campaigns | Lists the campaigns this deployment may operate: keys, accounts, state files, and the active commit policy. |
adsops_status | Live read for one campaign: status, end date, daily budget, spend today and lifetime, negative count, whether caps come from the policy file, and the guard heartbeat's age. When the state file manages URL fields it also returns urls: the campaign final URL suffix and, per ad group, its custom parameters, final URL suffix and the final URLs of each enabled ad. |
| adsops_terms | Clicked search terms for the last N days (1–90