
Mitr Analytics
io.github.shiv9thakur由 GitHub 帳號 shiv9thakur 發布v1.1.0更新於 Oct 25, 2026
諮詢您的 Mitr 無 Cookie 分析:應用、報告、漏斗、提醒和使用情況。
AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。
原文描述
Ask about your Mitr cookie-free analytics: apps, reports, funnels, alerts and usage.
概覽
Mitr Analytics 的託管 MCP 服務(mcp.mitranalytics.dev);需要 API 金鑰;Streamable HTTP。
暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。
- 端點
- mcp.mitranalytics.dev
- 最近檢查
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mitr Analytics,將其新增到工作區。
- 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.shiv9thakur%2Fmitr-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"mitr-analytics": {
"type": "http",
"url": "https://mcp.mitranalytics.dev/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
@mitr-analytics/mcp
Ask Claude, Gemini or any other MCP client about your Mitr analytics, in plain English. It reads your own data (apps, reports, funnels, alerts, plan usage) and hands it to the assistant to analyse.
Mitr is cookie-free analytics, so there is no consent banner to wire up and nothing here changes that: this server only reads what is already in your dashboard.
What you can ask
- "Which of my apps had the biggest drop in visitors this week, and where did it come from?"
- "Show my signup funnel for the last 30 days. Where do people leave?"
- "Is anything odd in the last events for my marketing site? Are the UTM tags coming through?"
- "How much of my monthly event quota have I used?"
- "Register a new web app called Docs for docs.example.com."
Set up (about two minutes)
You need a Mitr account. Nothing to install if you use the hosted endpoint.
1. Create an API key. In the dashboard open Settings → API keys & AI assistants → Create key, give it a name (for example "Claude Code") and copy it. It is shown once.
Keys are read-only unless you tick permissions when creating them: "Can register apps", "Can manage funnels", "Can manage QR campaigns", "Can manage webhooks", and "Can delete" (which also needs one of the manage permissions). They expire after 365 days by default (30, 90, 365 days or never). A key stops working if you leave or are removed from the workspace it was created in.
2. Connect your assistant.
Hosted (no install)
Point any client that supports remote MCP servers at https://mcp.mitranalytics.dev/mcp and send the key in the Authorization header. Never put the key in the URL; the endpoint refuses it.
Claude Code:
Cursor (~/.cursor/mcp.json):
VS Code (.vscode/mcp.json):
Gemini CLI (~/.gemini/settings.json):
Local (npx)
For clients that run a command, such as Claude Desktop. You need Node.js 18 or newer. Open claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\) and add:
The same works in Claude Code (claude mcp add mitr --env MITR_API_KEY=mitr_live_... -- npx -y @mitr-analytics/mcp) and the Gemini CLI if you prefer running it locally.
3. Ask a question (restart the assistant first if it's a local setup). The dashboard shows when the key was last used.
Tools
Every change is its own permission on the key, and deletes need "Can delete" as well. Alerts and team management are not available to the assistant.
Security and privacy
- A key sees what you see. It has the same read access to your workspace as you do in the dashboard. Treat it like a password.
- Revoke it any time under Settings → API keys. It stops working immediately.
- It sits in your assistant's config file in plain text. Use a separate key per tool, so you can revoke one without breaking the others.
- Your AI provider sees the data you ask about. Reports and recent events (page paths, UTM tags, device and location summaries, any custom event properties you send) are returned to the assistant, so they are covered by that provider's terms. Mitr itself identifies visitors only by hashed identifiers; see how we count visitors without cookies.
- Visitor data is marked as untrusted. Page paths, referrers, UTM tags and event properties are written by your visitors, so anyone can put text in them, including text aimed at an AI. Reports and recent events are cleaned of hidden characters and returned inside an
untrusted_dataenvelope telling the assistant to treat them as data, never instructions. - No secrets in the conversation.
add_appdoesn't return the new app's SDK secret key, and the webhook tools don't return signing secrets; copy them from the dashboard. - The key is only ever sent over HTTPS (plain
http://is accepted only forlocalhost).
Plans
During early access the MCP server works on every Mitr plan, including Free. After early access ends it is part of the paid plans; Free workspaces then get a message pointing to pricing, and upgrading restores access with the same key.
Troubleshooting
Hosted: open https://mcp.mitranalytics.dev/ in a browser; it should show the server version. Local: run npx -y @mitr-analytics/mcp --version in a terminal. If either works, the problem is in the client config.
Configuration
Development
Questions or problems: [email protected]
License
MIT
來源:README.md,提交 84d8aea
工具
0版本歷史
1- v1.1.0最新Oct 20, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分