Token Lens
Count and cut tokens in prompts, chats and agents for any model. Runs locally, collects no data.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@kunal_dutt/token-lensclaude mcp add token-lens -- npx -y @kunal_dutt/token-lens@0.2.37
{
"mcpServers": {
"token-lens": {
"command": "npx",
"args": [
"-y",
"@kunal_dutt/token-lens@0.2.37"
]
}
}
}
الأسئلة الشائعة
ما هو Token Lens؟
Count and cut tokens in prompts, chats and agents for any model. Runs locally, collects no data.
كيف أثبّت Token Lens؟
يعمل على جهازك. في Claude Code: claude mcp add token-lens -- npx -y @kunal_dutt/token-lens@0.2.37. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Token Lens إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
من يصون Token Lens؟
ينشره duttkunal101-lab. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.