Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Ask which of your customers cost more in LLM calls than they pay, per user and per feature.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
WECKR_API_KEY, WECKR_PROJECT_ID, WECKR_BASE_URLค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"weckr": {
"command": "npx",
"args": [
"-y",
"@weckr/mcp"
],
"env": {
"WECKR_API_KEY": "ใส่ค่าของคุณ",
"WECKR_PROJECT_ID": "ใส่ค่าของคุณ",
"WECKR_BASE_URL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add weckr --env WECKR_API_KEY='ใส่ค่าของคุณ' --env WECKR_PROJECT_ID='ใส่ค่าของคุณ' --env WECKR_BASE_URL='ใส่ค่าของคุณ' -- npx -y @weckr/mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"weckr": {
"command": "npx",
"args": [
"-y",
"@weckr/mcp"
],
"env": {
"WECKR_API_KEY": "ใส่ค่าของคุณ",
"WECKR_PROJECT_ID": "ใส่ค่าของคุณ",
"WECKR_BASE_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"weckr": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@weckr/mcp"
],
"env": {
"WECKR_API_KEY": "ใส่ค่าของคุณ",
"WECKR_PROJECT_ID": "ใส่ค่าของคุณ",
"WECKR_BASE_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
WECKR_PROJECT_ID envWECKR_BASE_URL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ผู้ลงทะเบียน (useweckr.com) ไม่ใช่เจ้าของ repo (Ghiles3232) อาจเป็นคนอื่นที่นำมาลงต่อ
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 0 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: WECKR_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.2) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Query your Weckr AI cost and margin data directly from Claude, Cursor, or any other MCP-compatible AI assistant.
See what Weckr looks like before connecting your own data. 👉 https://app.useweckr.com/demo
Ask things like:
Claude calls the Weckr API and gives you the real numbers from your dashboard, in the conversation.
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.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "weckr": { "command": "npx", "args": ["-y", "@weckr/mcp"], "env": { "WECKR_API_KEY": "wk_your_key_here" } } } }
Restart Claude Desktop. Try: *"Use the Weckr tools to show me my AI costs this month."*
Why `npx` and not `npm 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-installed
weckr-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.
Add to .cursor/mcp.json at your project root (or ~/.cursor/mcp.json for global):
{
"mcpServers": { "weckr": { "command": "npx", "args": ["-y", "@weckr/mcp"], "env": { "WECKR_API_KEY": "wk_your_key_here" } } } }
| Tool | Use it to ask |
|---|---|
get_overview | "How am I doing this month?" Total cost, revenue, margin, requests, unprofitable user count |
get_users | "Which users are unprofitable?" / "Show me my top-cost users." Per-user margin (filterable) |
get_feature_breakdown | "Which features cost me the most?" Per-feature cost share |
get_model_recommendations | "Where can I cut AI cost?" Same-provider cheaper-model swaps with $-saving estimate |
get_pricing_recommendations | "Is my pricing sustainable?" Per-plan margin health + recommended price |
get_spending_cap_url | Returns the dashboard URL where caps are edited (does NOT mutate state) |
| Env var | Required | Default | Notes |
|---|---|---|---|
WECKR_API_KEY | yes | none | Your wk_ key from app.useweckr.com |
WECKR_PROJECT_ID | no | resolved from /api/v1/me | Optional: pre-set the project UUID to skip one round-trip on startup |
WECKR_BASE_URL | no | https://app.useweckr.com | Override for self-hosted Weckr. Your wk_ key is sent here on every request, so do not set this to a host you do not control. Only https:// is accepted (loopback http:// allowed for dev). |
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.
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.
git clone https://github.com/Ghiles3232/weckr-sdks
cd weckr-sdks/mcp npm install npm run build
WECKR_API_KEY=wk_... node dist/index.js
To point at a local Weckr backend:
WECKR_API_KEY=wk_... WECKR_BASE_URL=http://localhost:3000 node dist/index.js
Open source at github.com/Ghiles3232/weckr-sdks.
MIT