list_sites
List every site on the authenticated account (id, name, domain, trackingMode). trackingMode is cookieless (default, visitor identity rotates every UTC day) or cookie. Read-only.
无需输入参数。
com.xpmetric由 xpmetric.com 发布v0.1.4更新于 Oct 29, 2026
向你的AI询问你网站的流量、渠道、收入、目标和漏斗(XPmetric analytics)。
AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。
Ask your AI about your site's traffic, channels, revenue, goals and funnels (XPmetric analytics).
XPmetric 的本地 MCP 服务,由 xpmetric.com 发布;无需登录;STDIO;24 个工具。
暂无 AI 概览:以下信息来自注册中心条目和服务本身。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
List every site on the authenticated account (id, name, domain, trackingMode). trackingMode is cookieless (default, visitor identity rotates every UTC day) or cookie. Read-only.
无需输入参数。
List goals for a site with completion counts and cvr for the chosen period. period is today | yesterday | 7d | 30d | all | custom (also now, 24h, 12m, wtd, mtd, ytd). custom requires start and end as YYYY-MM-DD. On cookieless sites a multi-day cvr is a conservative floor because visitor identity rotates every UTC day. Optional filters: JSON array [{ "d": "country", "o": "is", "v": ["DE"] }]. Values OR within a dimension, AND across dimensions. Region uses country:region (e.g. US:CA). Acquisition filters select entry-session cohorts; downstream events need no UTMs. Read-only.
endstartperiodsiteId必填filtersCreate a goal for a custom event. eventName is immutable after creation and must match window.xpmetric('eventName') exactly (case-sensitive). (siteId, eventName) is unique — a duplicate returns 409. At most 10 goals can be active per site. A goal for an event that never fires sits at 0 completions indefinitely and reads as broken — add the track call first (get_tracking_snippet) unless discover_goal_candidates already shows the event.
name必填emojisiteId必填isActiveeventName必填Update a goal's name, emoji, or isActive. eventName cannot be changed. At most 10 goals can be active per site. Read-modify via list_goals first.
nameemojigoalId必填siteId必填isActiveDelete a goal by id. Custom events already stored are kept. Takes siteId and goalId from list_goals.
goalId必填siteId必填Intended first call when a user asks what to track. Returns custom events already firing on the site in the last 30 days that have no goal attached ({ eventName, count }). Read-only.
siteId必填List funnels for a site. Funnels have no natural key and allow duplicate names, so this is a required first call before update or delete — those take a funnel id. Read-only.
siteId必填Create a funnel (2–8 steps: pageview {path, match?, hostname?, label?} or event {eventName, label?}). At most 10 funnels per site. On cookieless sites (the default) visitor identity resets every UTC day, so visitor scope cannot complete across days. Use session scope, or windowHours ≤ 24, or ask the user to switch the site to cookie mode. Never silently rewrite scope or windowHours Duplicate names are allowed.
name必填scopesteps必填siteId必填windowHoursUpdate a funnel by id from list_funnels. On cookieless sites (the default) visitor identity resets every UTC day, so visitor scope cannot complete across days. Use session scope, or windowHours ≤ 24, or ask the user to switch the site to cookie mode. Never silently rewrite scope or windowHours Changing steps recomputes from existing events; history is not deleted.
namescopestepssiteId必填funnelId必填windowHoursDelete a funnel by id from list_funnels. ClickHouse events are kept.
siteId必填funnelId必填Step counts, conversionRate, totalEntered, setupSuspect, and identityWindowExceeded for a funnel id. period is today | yesterday | 7d | 30d | all | custom (also now, 24h, 12m, wtd, mtd, ytd); custom requires start and end as YYYY-MM-DD. Optional filters: JSON array [{ "d": "country", "o": "is", "v": ["DE"] }]. Values OR within a dimension, AND across dimensions. Region uses country:region (e.g. US:CA). Acquisition filters select entry-session cohorts; downstream events need no UTMs. Read-only.
endstartperiodsiteId必填filtersfunnelId必填Return the exact client snippet for a custom event. The MCP server never writes files — paste this with your editor tools after the action succeeds (signup, checkout, CTA). Requires p.js on the page. eventName must match the goal exactly (case-sensitive).
eventName必填Period totals for a site: pageviews, visitors, bounce rate, avg session time, optional revenue, optional compare window. Optional filters: JSON array [{ "d": "country", "o": "is", "v": ["DE"] }]. Values OR within a dimension, AND across dimensions. Region uses country:region (e.g. US:CA). Revenue is absent (not zero) when no payment provider is connected. compare is previous | yoy | custom; custom needs compareStart and compareEnd (YYYY-MM-DD). Read-only.
endstartformatperiodsiteId必填comparefilterscompareEndcompareStartBucketed traffic series (visitors, pageviews, bounce, session time per bucket). Optional filters: JSON array [{ "d": "country", "o": "is", "v": ["DE"] }]. Values OR within a dimension, AND across dimensions. Region uses country:region (e.g. US:CA). granularity is hourly | daily | weekly | monthly (coerced to what the period allows). On cookieless sites newVisitors and returningVisitors are null — the API notes field says: "newVisitors and returningVisitors are null: cookieless visitor hashes rotate daily, so new vs returning would be a salt artifact, not a person." Read-only.
endstartformatperiodsiteId必填filtersgranularityRanked breakdown for one dimension: pages, sources, countries, regions, cities, devices, browsers, goals, etc. dim must be one of the schema enum values. Optional filters: JSON array [{ "d": "country", "o": "is", "v": ["DE"] }]. Values OR within a dimension, AND across dimensions. Region uses country:region (e.g. US:CA). Source dimensions use session entry; visitors can overlap across source rows and must not be summed as a period total. viewsMetric labels views as sessions, pageviews, or events. Rows are sorted by primaryMetric from the response: views for path, hostname, entry_page, exit_page; visitors for all other dims — re-sorting on the other column disagrees with the dashboard. Read-only.
dim必填endlimitstartformatperiodsiteId必填filtersRead/export separate search metrics, crawl/index observations, fixed prompt observations and Bing AI citation totals. Filters provider, inclusive measured date, canonical page and experiment. Includes collection method, coverage, lag, source and retrieval time; unavailable/stale never means zero. Google Web includes Google AI surfaces; citation visibility is not traffic. Never sum different exports or uniques.
endpagestartreportsiteId必填providerexperimentRead site-scoped server crawler hits by provider/category/path/status and period, including 404s. path supports * wildcards and must be a sanitized path without query strings. Agent labels are classifications, never verified identity from user agent alone. UTC server hit timestamps; unavailable returns an error, not zero traffic.
endpathstartperiodsiteId必填statuscategoryproviderList chart annotations visible in the dashboard. Filter by period or stable external experiment id. date is UTC chart day; occurredAt is optional exact event time (null means unavailable); source distinguishes API/dashboard creation.
endstartperiodsiteId必填externalIdCreate an annotation visible on dashboard charts. Required externalId is a stable experiment/deployment key unique within site: retries return the same original marker without changing it. Use update_chart_marker for corrections. date is UTC chart day; optional occurredAt records actual event time. Keep label public and URL free of queries, credentials and fragments.
urldate必填kind必填emojilabel必填siteId必填externalId必填occurredAtUpdate an existing chart marker id from list_chart_markers. Stable externalId and creation source are preserved. URLs must be public HTTP paths without query strings/credentials/fragments.
urldatekindemojilabelsiteId必填markerId必填occurredAtExport private XPmetric measured-landing evidence for a server milestone producer. Defaults to v1; opt into v2 for a SHA-256 proof of the currently stored eligible measured population at the requested cutoff. The proof does not establish total browser delivery or an ingestion watermark. Owned cookie-tracked site only. Returns each browser's exact first eligible measured landing since experiment launch, then filters the inclusive UTC period. Maximum 90 days from launch and 100,000 measured session entries; excess or query failure is an error, never truncated evidence. Contains browser hashes: keep private and do not paste into public logs. This proves measured arrivals, not account activation or complete consent coverage.
formatsiteId必填periodEnd必填periodStart必填experimentId必填observedThroughList owned acquisition experiments and persisted cohort/report definitions. Filter stable externalId. Server milestone integration is pending until the application supplies confirmed account/task milestones; browser goals cannot establish activation.
siteId必填externalIdRead an owned experiment plus separate leading evidence, human arrivals, server-confirmed activation and mature paid outcomes. Reviews require full 30/60/90 day sampling plus outcome maturation. Unknown/partial/zero activation yields null cost per activation; no causal claim. Same-browser consented attribution only. Revenue uses existing PaymentEvent billing windows and net refunds, separate currencies.
asOfsiteId必填reviewDaysexperimentId必填Save a public experiment definition with stable site-scoped externalId. Retries preserve id. Tie annotationId to an owned existing chart marker. Record public hypothesis, primary/guardrails, URLs/cohort, rollout/control, launch/change, windows, spend/time, evidence/decision/rollback and ACO roadmap/task references only. Do not include private task/user text or credentials.
cohort必填siteId必填status必填acoRefsrollout必填changeAtcurrencydecisionlaunchAt必填controlRefexternalId必填hypothesis必填另有 13 个已满足适用检查项的 65%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。
请在仓库或注册中心条目中声明许可证。