
Weckr
com.useweckr由 useweckr.com 發布v0.1.2更新於 Oct 27, 2026
Ask which of your customers cost more in LLM calls than they pay, per user and per feature.
概覽
Weckr MCP 讓助手在對話中查詢 Weckr 的 AI 成本與毛利資料,可依使用者、功能與方案查看。
- 可以做什麼
- 讀取當月總覽:成本、營收、毛利、請求數與虧損使用者數
- 列出各使用者毛利與高成本使用者,支援篩選
- 依功能拆分成本佔比
- 提供同供應商更便宜模型的替換建議與預估節省金額
- 檢視各方案的毛利健康度與建議定價
- 回傳用於編輯消費上限的儀表板連結(唯讀,不變更狀態)
- 適用情境
- 適合在 Weckr 追蹤 AI 產品資料、想用自然語言詢問哪些使用者或功能在虧錢、目前 AI 毛利如何、定價是否永續,而不必打開儀表板時使用。
- 執行需求
- 透過 npx 以 stdio 本機程序執行 @weckr/mcp 套件,需要 Node.js。需要 Weckr 帳號,並在 WECKR_API_KEY 提供專案 API 金鑰。可選 WECKR_PROJECT_ID 固定專案,可選 WECKR_BASE_URL 覆寫 API 位址。需要能連線至 Weckr API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Weckr,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@weckr/mcp
Query your Weckr AI cost and margin data directly from Claude, Cursor, or any other MCP-compatible AI assistant.
Try it live
See what Weckr looks like before connecting your own data. 👉 https://app.useweckr.com/demo
What you can ask
Ask things like:
- "Which of my users are losing me money this month?"
- "What's my AI margin right now?"
- "Which feature should I switch to a cheaper model?"
- "Is my pricing sustainable given my actual AI costs?"
- "Show me the feature cost breakdown."
Claude calls the Weckr API and gives you the real numbers from your dashboard, in the conversation.
Get an api key
Sign up at app.useweckr.com. Your wk_ key is
shown once when you create a project. Copy it. If you missed it, mint a new
project at
app.useweckr.com/dashboard/projects/new.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Restart Claude Desktop. Try: "Use the Weckr tools to show me my AI costs this month."
Why
npxand notnpm install -g? Claude Desktop runs under launchd on macOS, which doesn't inherit your interactive shell's PATH. If you installed Node via nvm / asdf / volta, a globally-installedweckr-mcpbinary usually isn't on Claude Desktop's PATH and the server fails to start with no diagnostic.npx -y @weckr/mcpsidesteps the PATH problem entirely.
Cursor
Add to .cursor/mcp.json at your project root (or ~/.cursor/mcp.json for global):
Tools exposed
Configuration
How it works
The MCP server is a tiny stdio process spawned by your AI client. It calls
the Weckr HTTP API using your wk_ key (server-to-server, no JWT needed).
The api key authoritatively identifies one project. The server uses it to
resolve projectId once at startup, then scopes every subsequent call to
that project. The dashboard endpoints (/api/v1/stats, /users,
/recommendations/*) verify the URL project id matches the api key's project
and return 404 on mismatch, so a leaked api key cannot be used to read
another project's data.
No prompt text or completion text is sent anywhere by this package. The
tools only read aggregated stats. The api key never leaves your local
process except to the URL configured via WECKR_BASE_URL (default
app.useweckr.com). If you change WECKR_BASE_URL, the SDK prints a stderr
warning so you can spot a copy-paste config that points at the wrong host.
Troubleshooting
Claude Desktop shows the weckr server as disconnected, with no error.
Likely a PATH issue. Switch to the npx -y @weckr/mcp form above. To see
the actual error from the spawn, run the server manually in a terminal:
WECKR_API_KEY=wk_... npx -y @weckr/mcp. Anything wrong (missing api key,
401 from Weckr, network issue) prints to stderr.
Weckr API 401 on /api/v1/me.
Your WECKR_API_KEY is empty, malformed, revoked, or pasted with a trailing
space. Confirm a working key by visiting
app.useweckr.com/dashboard/projects/new
and creating a fresh project.
Tools show "Project not found or forbidden" (404).
You set WECKR_PROJECT_ID to a UUID that doesn't belong to the project the
api key owns. Remove WECKR_PROJECT_ID so the server resolves the right
project id from the api key.
Local development
To point at a local Weckr backend:
Source
Open source at github.com/Ghiles3232/weckr-sdks.
License
MIT
來源:mcp/README.md,提交 e824773
工具
0版本歷史
1- v0.1.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分