
AgentFirstStack Analytics
com.agentfirststack由 agentfirststack.com 发布官方发布者v0.1.1更新于 Nov 4, 2026
Cookieless web analytics an agent creates and queries: goals, funnels, revenue, SQL. Open source.
概览
远程 MCP 服务器,提供无 Cookie 网站分析,AI 助手可自行创建站点并查询目标、漏斗、收入与只读 SQL 数据。
- 可以做什么
- 创建并管理分析站点与跟踪配置
- 按国家、地区、城市、渠道、UTM 与广告点击 ID 查询流量数据
- 定义并查看目标、漏斗、收入与实时活动
- 对采集的事件数据执行只读 SQL 查询
- 发送服务端事件并通过 API 核验结果
- 适用场景
- 适合需要在不填注册表单、不进后台的情况下为网站搭建分析的助手,也适合把流量、转化和收入数据直接取到对话中。希望助手自行验证跟踪配置是否生效时同样适用。
- 运行要求
- 远程 streamable HTTP 端点 analytics.agentfirststack.com。必须认证:Authorization 头携带 Bearer API 密钥(通过向服务商注册端点发送一次 POST 获取),或使用 OAuth。无需本地运行时或安装包。
安装
在 SourceWeft 中
- 打开 控制台中的 AgentFirstStack Analytics,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.agentfirststack%2Fanalytics/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"agentfirststack-analytics": {
"type": "http",
"url": "https://analytics.agentfirststack.com/mcp"
}
}
}README
AgentFirstStack
Analytics, tag management, email inboxes and session replay that an AI agent sets up by itself.
No signup form, no verification email, no dashboard to click through. Free to use, and open source.
agentfirststack.com · Manual · Self-host · Architecture
Every new website needs the same infrastructure: analytics, a tag manager with conversion tracking, and an email address to sign up for everything else. The usual tools all start with a signup form, a verification email and a dashboard. Coding agents can't get past those steps alone.
AgentFirstStack is that infrastructure, rebuilt so an agent can do the whole job:
- One request gets an account.
POST /v1/signupreturns a key that works on every service. - Everything is an API call and an MCP tool. Nothing is hidden behind a settings page.
- The manual is a text file. Each service serves
/llms.txtwith every endpoint, tool and field. - Every step can be verified. The agent checks its own work instead of guessing.
- Humans optional. When it's done, the agent hands its person a claim link. They sign in with Google to see the project in a dashboard, manage keys and teammates, and connect Claude or ChatGPT over OAuth (docs/accounts.md).
Services
Quick start
Hosted (free)
Copy the prompt from agentfirststack.com into Claude Code, Cursor, Codex or any agent that can make HTTP requests. Or do it by hand:
Add one MCP server for every service (tools prefixed analytics_, tags_, mail_, replay_):
Or one per service:
The hosted version has fair-use limits, listed in the manual.
Self-hosted
Everything runs on Cloudflare Workers in your own account:
See docs/self-hosting.md for requirements, signup modes, limits and updates.
How it's built
TypeScript on Cloudflare Workers with Hono and zod. Storage:
- D1: configuration and the shared identity database.
- SQLite Durable Objects: hot per-entity data (a site's events, a container's visitors, an inbox's waiters).
- R2: mail blobs and replay recording chunks.
- Queues: retried delivery to ad platforms and webhooks.
- Email Routing and Email Sending: mail in and out.
More in docs/architecture.md.
Development
docs/development.md covers running services locally, tests, and adding endpoints, migrations and tag destinations. docs/operations.md covers releases, migrations, secrets, monitoring and abuse handling for a running deployment.
Contributing
Issues and pull requests are welcome. Read CONTRIBUTING.md first; it's short. Report security issues privately as described in SECURITY.md.
License
The services are AGPL-3.0; the browser scripts websites load (the analytics tracker, the tag manager runtime, the replay recorder and survey widget) are MIT, so adding them to a site puts no obligations on it. Self-hosting is free either way; if you offer a changed version as a service, publish your changes. Details: LICENSING.md. Built and hosted by StartGlobal.
来源:README.md,提交 0133b63
工具
0版本历史
2- v0.1.1最新Nov 4, 2026
- v0.1.0Nov 4, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Agentfirststack 集成

AgentFirstStack Tags
com.agentfirststack官方发布者
远程标签管理器与服务器端转化路由,让助手配置 GA4、Google Ads、Meta 和 TikTok 的转化跟踪。

AgentFirstStack Replay
com.agentfirststack官方发布者
AgentFirstStack Replay 的远程 MCP 服务器,让助手把会话录制读成文字记录,并获取点击与 JS 错误信号和热力图。

AgentFirstStack
com.agentfirststack官方发布者
远程 MCP 服务器,让 AI 助手自助为网站搭建网页分析、标签管理与转化追踪、邮箱收件箱和会话回放。

AgentFirstStack Mail
com.agentfirststack官方发布者
远程 MCP 服务器,为 AI 智能体提供专属邮箱:等待邮件、提取验证码与链接、读取、回复和发送邮件。