What it does
Shows what your AI coding agents spend, and helps to spend less.
- Connects 在你的电脑上运行
- Account or key No key needed
- Category 开发者工具
可搭配使用
教 AI 做这类工作的 Skill,可与本项一起使用
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
archify
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
为什么排在这里
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 4/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 12/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 16/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
安装
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
双击文件,然后在电脑版 Claude 应用中点击 Install
试一试
用 Kestrel 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Kestrel,或回答中出现 Kestrel 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Kestrel
Kestrel 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
你可以改用这些方式
A · 使用能连接 Kestrel 的应用
- 不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code 暂时无法连接 Kestrel
开发者只提供了电脑版 Claude 应用的安装文件
你可以改用这些方式
A · 使用能连接 Kestrel 的应用
- 不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
Cursor 暂时无法连接 Kestrel
开发者只提供了电脑版 Claude 应用的安装文件
你可以改用这些方式
A · 使用能连接 Kestrel 的应用
- 不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
VS Code 暂时无法连接 Kestrel
开发者只提供了电脑版 Claude 应用的安装文件
你可以改用这些方式
A · 使用能连接 Kestrel 的应用
- 不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月16日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 Widal-Inc 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于今天
- ✓ 通过
有许可证
使用 MIT
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/widal-inc-kestrel)讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5984 个服务器的 70%
- 发布到注册中心的时间比此分类中其他 5984 个服务器的 99% 更新
- 基础检查结果等于或优于此分类中其他 5984 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Kestrel 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于今天,最新版本(0.1.0)于今天进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 MCPB。
有什么可以替代它?
同一分类中有:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
功能相近的其他选择
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| 本项 Kestrel | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 云端或安装在电脑上都可以 |
| 需要密钥 | 否 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 是 | 否 | 否 |
| 基础检查 | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| 许可证 | MIT | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Kestrel
Kestrel shows what the AI coding agents on your machine spend, and what the spend pays for. It reads the session logs of Claude Code, Codex and Cowork. Nothing leaves the machine, unless you link it to your team's Kestrel board (see "The Kestrel board"). In Claude Code it also shows your plan's limits in the status line, warns you before a cache ends, says when to compact the context, proposes a cheaper model or effort level, and can hold a limit. It checks the agents' settings, what they did and the code they changed for security risks (see "Security and compliance").
The project is called Kestrel. Its command is kestrel, and its folder on your machine is ~/.kestrel.
Status: version 0.1.0, started on 2026-11-12. So far it has run on macOS only. No dependencies, Node 22 or newer. Made by Widal, Inc. Free and open source under the MIT licence (see "Licence").
What it looks like
The screenshots use made-up data: invented projects and two weeks of invented sessions. Nothing in them comes from a real computer.
The status line in Claude Code. The model and effort level, the context, how long the prompt cache stays warm, the plan's limits and how fast they fill, the task in progress and the other sessions.
Every agent session on this computer, now (kestrel top). Which session works, which waits for you, how warm each cache is, and what each one spent today.
What the money paid for (kestrel summary). Spend by account, day, project and model, and the share that paid for carrying context and for lost caches.
Changes that would have saved money (kestrel advise). Each one comes from a replay of your own logs, with the reason, the setting, the risk and the command that applies it.
Security risks of your agents (kestrel check). Each finding names the controls it touches in the frameworks you turn on, and the command that fixes it where there is one.
Install as a plugin
Type these three commands in Claude Code:
/plugin marketplace add Widal-Inc/kestrel
/plugin install kestrel@kestrel /kestrel:setup
The first two add the plugin from this repo. The third one sets the tool up. It does five things, and says each one:
- It copies the tool to
~/.kestrel/app/. Claude Code keeps a plugin's files in a folder that changes with every update, so Claude Code's settings must not point there. - It makes the link
~/.kestrel/bin/kestrelto that copy. Claude Code's settings call the tool through this link. - It links the command to
~/.local/bin/kestrel, so that you can typekestrel. That folder has to be on your PATH. Another program at that path stays as it is (see "Another program named kestrel" below). - It sets Claude Code's status line in
~/.claude/settings.json, with a refresh every 30 seconds. A copy of the file is saved in~/.kestrel/backup/first. Another tool's status line is kept. - It adds the three hooks of the security checks to the same file: at the start of a session, at the end of a turn, and before a shell command (see "Security and compliance").
Kestrel needs Node 22 or newer. The setup says so when your Node is older.
What the plugin brings.
- Eight commands.
/kestrel:setup,/kestrel:report(the spend of the last 7 days, askestrel summaryshows it),/kestrel:compactions,/kestrel:advise,/kestrel:status,/kestrel:hudfollowed by what you want to change in the status line, and/kestrel:openand/kestrel:settings, which open the Kestrel pane. The first five show the tool's output as it is. - A pane. The Kestrel pane beside the chat, with the sessions that run now, the spend, the settings as checkboxes and the open security findings. See "The Kestrel pane".
- A skill. When you ask what your agents spend, where the tokens go or how to spend less, Claude runs the report that fits and passes on the numbers. Claude never opens a session log itself: the tool reads the logs and prints only numbers.
- Seven hooks. Three are hooks that you can also add with
kestrel apply: the text a summary has to keep at a compaction, the warning when a prompt goes to a session whose cache has ended, and the cost of a change of model. Three start the security checks and ask before a push while a high risk is open. The seventh keeps the copy in~/.kestrel/app/at the plugin's version. See "The plugin's hooks".
The commands, the skill, the hooks and the pane work before the setup too. Only the warning for a sent prompt needs the status line, which saves when each cache ends.
Install in the Claude desktop app
The desktop extension answers questions about your agents' spend in a chat in the Claude desktop app. It needs no terminal and no Claude Code. Download kestrel.mcpb from the newest release, and drag it onto Settings, Extensions in the app. See docs/desktop.md.
The extension is also listed in the official MCP Registry as io.github.Widal-Inc/kestrel.
In the Claude desktop app
- The Code tab is Claude Code. It reads the same
~/.claude/settings.jsonand runs the same hooks. So whatkestrel installandkestrel applyset works there too. - Cowork, the agent mode of the app, can add the same plugin. It loads the plugin's commands, its skill and its hooks. That is why the plugin carries the hooks: Cowork does not read
~/.claude/settings.json. Cowork does not install a plugin that has a top-levelbin/folder, so the command's files are incli/. - The status line: whether it shows in the desktop app is not known yet.
- The reports read the logs of the Cowork sessions that ran on this computer, with or without the plugin.
The plugin's hooks
The plugin carries six of this tool's hooks, so that they also run where Claude Code's settings are not read:
| Hook | When it runs | What it does | The same hook in the settings |
|---|---|---|---|
compact-keep | Before a compaction | Gives Claude Code the text that a summary has to keep (see "Compaction") | kestrel apply compact-keep |
cold-start | When you send a prompt | Says what the prompt cost, when the session's cache had ended (see "Before a cache ends") | kestrel apply cold-start-warn |
model-switch | Before a change of model | Shows what the switch costs, and asks first from $0.50 (see "Before a cache ends") | kestrel apply model-switch-cost |
check-settings | When a session starts | Starts the check of the settings in the background (see "Security and compliance"). On a computer linked to a Kestrel board, it also starts a sync with the board when the last one is 10 minutes old (see "The Kestrel board"). | kestrel install |
check-turn | When an agent's turn ends | Starts the checks of what the agent did and of the code it changed in the background. On a computer linked to a Kestrel board, it also starts a sync with the board, as above. | kestrel install |
push-gate | Before a shell command | Asks you first before a push while a high risk is open in the repository | kestrel install |
- A hook never acts twice. Claude Code runs a plugin's hook next to the same hook in the settings. So the plugin's hook first looks at
~/.claude/settings.json. When the settings hold this tool's own hook for the same event, the plugin's hook does nothing: the one in the settings is in charge. A settings file that cannot be read counts as one without the hook. - You can turn each one off.
kestrel hooksshows, for each of the six, whether it runs and from where: Claude Code's settings, the plugin, or off.kestrel hooks off cold-startturns the plugin's hook off, andkestrel hooks on cold-startturns it on again. The choice is kept in~/.kestrel/config.json. The hooks are on until you turn them off. - Where Node is missing, they print nothing. Each hook's command looks for
nodefirst, and always ends without an error. On any error a hook prints nothing. The one exception is the hook before a compaction: it then gives the default text. - The keep-warm experiment is not in the plugin. Add it with
kestrel apply keep-warm. - The sync with the board is not a part of the security checks.
check-settingsandcheck-turnstart it also while you turned them off withkestrel hooks off. Only a linked computer syncs: stop it withkestrel board logout. - A seventh hook keeps the copy fresh. At the start of each session it compares the version of the copy in
~/.kestrel/app/with the plugin's version. When they differ, it copies the plugin's files over the copy. When they agree, it reads two small files and does nothing else. It prints nothing, because what a hook prints at the start of a session goes to Claude.
The Kestrel pane
Inside Claude Code, Kestrel can show a pane beside the chat. In a narrow terminal it sits above the prompt. The pane comes with the plugin. It is a mod: a part of a plugin that Claude Code runs itself, with buttons and tabs (see Anthropic's documentation of mods at code.claude.com).
Two commands open it:
/kestrel:openopens it on the tab Now./kestrel:settingsopens it on the tab Settings.
Where no pane can show, the same commands print text instead. /kestrel:settings prints the settings, with the kestrel settings set commands that change them. /kestrel:open prints kestrel top --once --no-names. That is the case in claude -p, in the Agent SDK, and in a Claude Code older than 2.1.287.
Where it works: in the terminal with Claude Code 2.1.287 or newer, in the Code tab of the Claude desktop app, and in VS Code (the extension from version 2.1.299). In VS Code the buttons have no keys: click them.
The four tabs. Press the digit of a tab to show it. The pane has the keyboard when a command opened it. Otherwise press Ctrl+X then Tab, or click it. Esc closes the pane.
| Tab | What it shows | What each button does |
|---|---|---|
1: Now | The sessions on this computer, as kestrel top shows them. They are read again every 5 seconds while the pane is open. | Each row is a button. It opens the details of that session: project, tool, ticket, state, context, cache with the minutes left, tokens today, agents that run, the task (only while names are on), and for Claude Code the command that resumes it, claude --resume . b: Back goes back to the list. |
2: Spend | Today and the last 7 days, at list prices. The spend per account, when kestrel accounts is there. The top 3 proposals of kestrel advise. | Apply asks once more: "Apply ? It changes Claude Code's settings, with a backup." Then y: Yes, apply runs kestrel apply , and n: No does nothing. An applied change has Undo , which runs kestrel undo . r: Read again reads the tab again. |
3: Settings | Every setting of kestrel settings in its group: the status line, the hints, the security frameworks and the checks (see "Settings" below). | A row with [x] or [ ] turns its setting on or off, through kestrel settings set. The layout of the status line moves to its other value. A value with more than two choices is a list to pick from. Healthcare set, Life sciences set and Fintech set switch their frameworks on. [ ] For this project makes the frameworks those of the session's folder. A field for each account takes a new label, through kestrel accounts label. u: Undo the last change runs kestrel settings undo. |
| 4: Security | At the top: the