
devcoach
io.github.UltimaPhoenixPublished by GitHub account UltimaPhoenixv2.7.1Updated Oct 24, 2026
Progressive in-context technical coaching in your AI agent — one local, free lesson per task.
Overview
A local MCP server that gives you one short, personalized technical lesson after your AI agent finishes a task, tracked in a local knowledge profile.
- What you can do
- Deliver a short lesson card after an agent task, pitched to your known skill level and skipping topics you already know, with feedback options to adjust future lessons (knew it, understood, couldn't follow). Manage your knowledge profile: view the topic map with confidence scores, adjust them, and run onboarding that builds the profile from your local project history or a guided conversation. Browse, star, filter and review lesson history, and record feedback on individual lessons. Share a lesson with a teammate or import one, as copyable text, a link or a file. Open a local web dashboard and manage settings such as lessons per day and minimum gap, plus backup and restore of your profile.
- When to use it
- Useful for developers who let AI agents write much of their code and want to keep learning from finished tasks without opening tutorials. Best for people working in Claude Code, Claude Desktop, Gemini CLI, Codex CLI, Cursor, Windsurf or similar MCP clients on a desktop machine.
- Requirements
- Runs locally as a stdio process; Node.js 24 or newer is required (uses the embedded node:sqlite module). Installed via npm (npx devcoach), Homebrew, a Claude Code plugin, or a Claude Desktop extension bundle. No accounts, API keys or environment variables are declared. Data is stored in a SQLite file under the user's home directory. Not supported on claude.ai web.
Installation
In SourceWeft
- Open devcoach in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
devcoach
[devcoach — progressive technical coaching, right inside your AI agent]
[npm] [CI] [Quality Gate] [Coverage] [Node] [Docs] [License]
Stay sharp while your AI does the work.
devcoach connects to Claude Code, Claude Desktop, Gemini CLI (beta), Codex CLI (beta), Cursor, Windsurf, and other MCP-compatible tools. When your agent finishes a task, devcoach teaches you one thing from it that you don't know yet: it keeps a map of what you already know precisely so it can skip it, and pitches each lesson at your level — no generic tutorials, no repeated topics, nothing to open.
Everything runs locally. No data leaves your machine. One SQLite file at ~/.devcoach/coaching.db.
Built on the official Model Context Protocol TypeScript SDK, Node's embedded
node:sqlite, Hono (web dashboard), and Commander (CLI). Requires Node.js ≥ 24.
Why devcoach?
AI agents now write much of our code — which makes it easy to ship more while understanding less. devcoach turns the tasks your agent finishes into short, in-context lessons on what you don't know yet, so you keep learning as you go. The deeper bet: as AI grows more capable, the scarce skill becomes validating what it produces — and that ability only survives if you keep practicing it.
How it works
→ Full decision flow: session startup · lesson selection · depth calibration
Privacy by design
Everything stays on your machine. No telemetry, no accounts, no calls home. Just one SQLite file.
Installation
devcoach runs locally — a stdio MCP server that stores everything in ~/.devcoach/coaching.db on the machine where your agent runs. It works in Claude Code, Claude Desktop, Gemini CLI (beta), and Codex CLI (beta), but not on claude.ai web (which only supports hosted/remote connectors).
Requires Node.js ≥ 24 (devcoach uses the embedded node:sqlite module, available only from Node 24 onward).
Pick by how you like to work — each section is self-contained (install and connect):
- Developer, comfortable in a terminal → Homebrew — one
brew install, and you get thedevcoachCLI too. - Prefer a one-click, no-terminal setup → the Claude Code plugin or the
.mcpbextension. - Registry-aware MCP client? devcoach is listed in the official MCP Registry as
io.github.UltimaPhoenix/devcoach— install it straight from there. - Anything else (npx, manual config, other agents, claude.ai web) is under Other install methods.
Homebrew (recommended for developers)
macOS / Linux. Add and trust the tap once, install, then connect — you also get the devcoach CLI (so devcoach ui and the CLI work without an npx prefix):
brew tap registers the third-party repository; brew trust --tap marks it trusted so Homebrew will load its formulae when HOMEBREW_REQUIRE_TAP_TRUST is set. Both are one-time. To update later: brew upgrade devcoach, then devcoach install again — Homebrew updates only the binary, the hooks and the skill it wired into your agents are refreshed by that second command (the Claude Code plugin does this automatically, which is why plugin + Homebrew is the nicest combination for Claude Code users: the plugin owns the coaching wiring, Homebrew adds the CLI — and then you skip devcoach install). One-liner: brew install UltimaPhoenix/tap/devcoach (run brew trust --tap UltimaPhoenix/tap first if your Homebrew enforces tap trust). The formula declares depends_on "node", so Homebrew pulls in a recent Node automatically.
Claude Code plugin (recommended for Claude Code)
The simplest way to add devcoach to Claude Code — one click, nothing to configure. It bundles everything (MCP server + automatic-coaching Stop hooks + skill), so don't also run devcoach install (or the Stop hooks get registered twice).
The MCP server, hooks, and skill activate on install — no restart needed. Open the web dashboard right from Claude Code with /devcoach:ui (or just ask — the open_ui tool); /devcoach:share and /devcoach:import hand lessons around; /devcoach:course turns a lesson you couldn't follow into a step-by-step course. Update later with /plugin marketplace update ultimaphoenix. Want what's coming next? The beta channel installs the latest canary as devcoach@ultimaphoenix-beta.
The plugin does not add the devcoach CLI, but the CLI stays a handy companion when you want the dashboard or your data without going through Claude — devcoach ui, stats, lessons, share / import, backup: run them with npx -y devcoach …, or install Homebrew / npm i -g devcoach for a bare devcoach. Just never run devcoach install next to the plugin — it owns the hooks.
Offline install (no marketplace access)
See Claude Code plugin for how it works.
Claude Desktop extension (.mcpb) (recommended for Claude Desktop) — Beta
A single bundle that runs on Claude Desktop's built-in runtime — no Node or terminal needed. Every GitHub Release ships one:
- Download
devcoach-<version>.mcpbfrom the latest release - Claude Desktop → Settings → Extensions → Install Extension… → pick the
.mcpb
The bundle is self-signed, so Claude Desktop installs it as an unverified publisher (a real code-signing cert would be needed for a verified signature). Prefer to build it from source?
Other install methods — Beta
npx / npm CLI (any MCP agent — no install)
No install required — npx runs devcoach on demand. For Claude Code and Claude Desktop, one command registers the MCP server, wires up automatic lesson delivery (Stop hooks), and installs the coaching skill into ~/.claude/skills/devcoach/:
Restart your agent afterward. Prefer a global binary? npm install -g devcoach, then run devcoach install (and drop the npx -y prefix everywhere). After upgrading devcoach, re-run devcoach install to refresh the skill — devcoach stats reminds you when it's out of date.
Canary builds: every change merged into the develop branch is published to npm under the next tag — npx -y devcoach@next (or npm install -g devcoach@next) runs the unreleased version, documented at ultimaphoenix.github.io/dev-coach/next. latest stays the last release.
Manual MCP config for Claude Code (if devcoach install isn't available)
Option A — via the claude mcp CLI (recommended):
Option B — edit ~/.claude.json directly:
Then add the hooks to ~/.claude/settings.json for automatic lesson delivery — stop-hook decides
after each turn whether a lesson is due, prompt-hook primes the model up front when one is:
Tip: a global install puts
devcoachon yourPATH, so you can drop thenpx -yprefix.devcoach installdetects this automatically. Using the Claude Code plugin (above)? Skip the hooks here — the plugin already provides them.
Gemini CLI — full coaching loop (hooks + skill) — Beta
One command registers the MCP server, the AfterAgent/BeforeAgent lesson hooks, and the coaching skill:
Or install the bundled Gemini extension instead: download devcoach-gemini-extension-<version>.zip from the latest release, unzip, then gemini extensions install <folder>. Pick one of the two (both provide the same hooks; devcoach detects the extension and skips duplicates). Details: docs/install/gemini-cli.md.
Codex CLI — full coaching loop (hooks + skill) — Beta
One command registers the MCP server (codex mcp add), the Stop/UserPromptSubmit lesson hooks (~/.codex/hooks.json), and the coaching skill (~/.agents/skills/):
Codex asks you to trust the new hooks once on the next run — approve them or coaching stays inert. Details: docs/install/codex.md.
Other MCP agents (Cursor, Windsurf, Cline, Continue, Zed…)
Add this to your agent's MCP config file (or, if your client browses the MCP Registry, install io.github.UltimaPhoenix/devcoach from there):
Stop hooks (automatic lesson delivery after each task) exist for Claude Code, Gemini CLI, and Codex CLI. The agents in this table have full access to all MCP tools and resources — coaching can be triggered manually or by prompting your agent.
claude.ai web (skill copy — no MCP)
Claude.ai does not support MCP servers. Install the coaching instructions as a skill instead:
- Copy the content of
assets/SKILL.md - Go to claude.ai → Settings → Custom instructions (or Skills, depending on your plan)
- Paste the content and save
This gives claude.ai the coaching behaviour without the MCP tools (lesson logging and profile tracking will not work).
Keep the skill up to date. For Claude Code / Claude Desktop, the skill is served automatically (via the MCP prompt or the plugin) and is always current. If you copied it manually to claude.ai, re-paste the latest
SKILL.mdafter each devcoach update.
Onboarding
The first time your agent connects to devcoach it detects that your profile isn't set up and walks you through it inline — no separate command needed. (Prefer the terminal? devcoach setup runs the same wizard.)
Phase 1 — Choose how to set up your profile
devcoach scans your full local Claude Code history (every project the agent has worked in, ranked by recent activity — file and activity metadata only, never prompt text) and offers four ways to build the profile:
Phase 2 — Build your profile
Automatic (strongly recommended)
Builds the whole profile — topics, confidence scores, groups, and the coaching notebook — in one pass from the stack detected across your history. No questions: you review and adjust the result afterwards (in chat, with the CLI, or in the dashboard).
Automatic (Deep)
Opt-in. Everything Automatic does, plus a separate subagent reads the real conversation text of your local Claude Code session transcripts (~/.claude/projects/) for the most accurate profile and notebook it can produce. A metadata-only pre-check runs first over a rolling 3-month window; if it finds more than 8 projects, devcoach asks whether to narrow the window, proceed with the 25 most recent, or pick specific projects. The agent says so up front: this shares more of your own local history with the model than the metadata scan does — once, on this machine, as a setup step.
Guided
Prefer to describe your stack yourself? devcoach asks about each technology and your confidence level (1–3 still learning · 4–6 comfortable · 7–9 strong · 10 expert), agrees the topic groups with you, then saves the profile.
Import backup
On a new machine or reinstalling? Provide the path to your backup zip and your full profile — knowledge map, lessons, settings, and notebook — is restored instantly.
Phase 3 — Profile saved, coaching begins
After saving, your agent shows what was set up, grouped the way your knowledge map is organised — for the Automatic modes this is your first look at it, so it's the moment to ask for changes:
That's it. You go back to work. Coaching happens silently in the background.
Your first lesson
You work on a task as normal. After your agent responds, devcoach appends a lesson:
Reply y (already knew it — confidence goes up), u (new and clear) or n (too dense — kept as a seed for a step-by-step course) to shape future lessons — or just move on: no reply means no change.
Screenshots
Context & personalization
Every lesson stores where it happened — your project folder, repository, branch, commit hash, editor. You can also personalize your coaching with a learning notebook at ~/.devcoach/learning-state.md that shapes which topics devcoach prioritises and how deep the lessons go.
→ The coaching notebook · Web dashboard guide
Web dashboard
Open the dashboard at any time to review your progress, edit your profile, or manage settings:
Using the Claude Code plugin? Type /devcoach:ui in Claude Code instead — no install needed (/devcoach:ui stop closes it).
Full reference: docs/usage/web-ui.md
Sharing lessons
A lesson that landed for you is one action away from a teammate — as copyable text (the card plus one devcoach:lesson:1:… line), a server-less link, or a .devcoach.md file. The receiver pastes, clicks or drops it into their own devcoach, where it joins the log as shared by you and never touches their daily limit. Only the lesson travels unless you include where it happened; a local path never does.
From the dashboard: ↗ Share on a lesson and + Import on the Lessons page (drop a .devcoach.md anywhere). From your agent: "share the last lesson", "import this devcoach lesson: …" — with the plugin, /devcoach:share and /devcoach:import. Full guide: docs/usage/sharing.md
CLI reference
The CLI is a secondary interface for querying and managing your coaching data. Everything is also available in the web dashboard. Run devcoach --help or devcoach <command> --help for full usage.
(Prefix with npx -y if you haven't installed globally.) Full reference: docs/usage/cli.md
Configuration
By default: up to 2 lessons/day, at least 4 hours apart. Want more coaching? Want less? Change it.
Or use the web dashboard Settings page. See docs/reference/configuration.md for all options.
Expected outcomes
Over a typical work week with 1–2 tasks per day, you'll receive 2–4 lessons aligned to your stack and confidence level. Each lesson takes 30 seconds to read. After a month of normal AI-assisted development, you'll have built a coaching notebook specific to your gaps — exact patterns you struggle with, edge cases you tend to miss, the reasoning behind tools you reach for instinctively.
Too intense? Dial back the frequency: devcoach set max_per_day 1. Want more coaching? Crank it up: devcoach set max_per_day 5. Everything is tunable.
The compounding effect: developers who keep learning while tools get stronger stay in control of the result.
Troubleshooting
"Node version error"
devcoach requires Node.js ≥ 24. Check your version: node --version. If you're below 24, upgrade: brew upgrade node (Homebrew) or nvm install 24 (if using nvm).
"Failed to install plugin devcoach@ultimaphoenix: … invalid manifest … repository: expected string"
Plugin releases up to 1.0.1 shipped a manifest that current Claude Code rejects, so the install stopped before copying anything. Refresh the marketplace so it points at the latest release, then install again:
"MCP server not connecting"
With the Claude Code plugin (plugin:devcoach:devcoach failed to connect): run /devcoach:setup — its first step prints the reason (Node older than 24, npm not on the PATH, no network on the first run) and the fix; then reconnect from /mcp. Do not run devcoach install for a plugin. Details: plugin troubleshooting.
Without the plugin (npm / Homebrew, Claude Desktop): run devcoach doctor: it checks the command each agent starts (Claude Desktop's from claude_desktop_config.json, Claude Code's from ~/.claude.json) — that it exists on the PATH that agent uses, that the Node it names exists and is ≥ 24, and which devcoach version it runs. Then devcoach install --force re-registers it with an absolute command, and you restart the agent. In Claude Desktop's log (~/Library/Logs/Claude/mcp-server-devcoach.log), Failed to spawn process: No such file or directory means devcoach never ran: the command, or the Node behind it, is missing — see When devcoach does not start. Every devcoach start writes one line to that log with its version, Node and install location.
"Coaching isn't firing / no lessons appear"
Run devcoach doctor — it checks the whole wiring (Node version, hook entries in ~/.claude/settings.json — plus ~/.gemini/settings.json and ~/.codex/hooks.json when present — skill, MCP registration, database, pacing counters, rate limit) and ends with a verdict explaining exactly why the next stop would or wouldn't cue a lesson. Remember that pacing is intentionally quiet: with the defaults a lesson is cued only after nudge_every interactions in a session and within the rate limits — that's by design, not a bug. For a live trace, set DEVCOACH_HOOK_DEBUG=1 and watch ~/.devcoach/hook.log: every hook run appends one line with its decision (paced (3/10), rate limited: …, cue). Hooks exist for Claude Code, Gemini CLI (beta), and Codex CLI (beta); other agents (Cursor, Windsurf, Cline) don't support them — coaching is available on demand via MCP tools or manual prompting.
"Stop hook error occurred" next to a lesson
That notice is Claude Code's current labeling of any Stop hook that blocks — including devcoach's lesson cue (the accompanying "🎓 devcoach…" line tells you it's coaching, not a failure). It's harmless, and by design it's also rare: the UserPromptSubmit priming hook delivers most lessons within the turn, so the blocking fallback only fires when that didn't happen.
"SQLite permission error"
devcoach writes to ~/.devcoach/coaching.db. If you get a permission error, check the directory exists and you have write access: ls -ld ~/.devcoach. If missing, run devcoach install or devcoach setup to initialize it.
Known limitations
- claude.ai web: MCP servers are not supported. You can use the skill copy (coaching behaviour only, no data storage).
- Ephemeral sandboxes: If your agent runs in a fresh sandbox on each restart (like GitHub Codespaces), devcoach cannot persist data across sessions. It works fine for the current session, but lessons won't carry over.
- Windows: devcoach is tested on macOS and Linux. Windows support depends on Node.js ≥ 24 and
node:sqliteavailability (generally solid, but report issues). - Multi-user machines: devcoach writes to
~/.devcoach/, so each user gets their own coaching database. Profiles are not shared.
Uninstallation
One command undoes everything devcoach install wired up — the MCP registration, the hook entries and the skill — for Claude Code and Claude Desktop (add --gemini, --codex or --all for the beta agents). Your coaching data stays unless you ask for it to go:
Run devcoach uninstall before brew uninstall / npm uninstall: Homebrew formulae have no uninstall hook, and once the binary is gone the hooks left in ~/.claude/settings.json would error on every turn. Using the Claude Code plugin instead? /plugin uninstall devcoach removes its hooks, skill and server in one go.
Learn more
Full documentation: The README is a quick start. For detailed guides, visit the official docs:
- Why devcoach exists — the philosophy
- Coaching in your agent — onboarding, your first lesson, the feedback loop
- Using the web dashboard — personalise your knowledge map, filter lessons, jump to code context
- CLI reference — all commands for querying and managing data
- Installation — every install method, agent by agent
- Configuration — rate limits, pacing, data location, schema
- Privacy & security — local-first architecture, what is read and stored
- How it works — session startup, coaching loop, lesson selection
- Vision & roadmap — free, local, not commercialized; ideas we're exploring next
- Plugin marketplace — UltimaPhoenix plugin collection
Community
- Star the repo — help others discover it
- GitHub Issues — feature requests, feedback and questions: open an issue
Contributing
Help welcome! See CONTRIBUTING.md to get started.
Development
- MCP Inspector:
npx @modelcontextprotocol/inspector node dist/bin.js mcp - Stack:
@modelcontextprotocol/server(MCP SDK v2) ·node:sqlite· Hono · Commander · Zod · Biome · Vitest · tsup
Branches & releases
developis the integration branch: every PR targets it, and each merge publishes a canary (npx -y devcoach@next, docs at/next/).mainonly receives releases and is always the last published version (the Claude Code self-marketplace installs from it).- A release is one click: run the CI workflow (Run workflow → patch / minor / major) on
develop. CI bumps the version ondevelop, tags it, fast-forwardsmain, then publishes to npm via OIDC provenance, attaches the.mcpb+ plugin zips to a GitHub Release, and updates the Homebrew tap, the plugin marketplace and the MCP Registry. First-time setup: configure a Trusted Publisher on npmjs.com for thedevcoachpackage (GitHub Actions, repoUltimaPhoenix/dev-coach, workflowci.yml).
License
Copyright (C) 2026 UltimaPhoenix
devcoach is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-only).
You may use, modify, and distribute it — provided that any modified version you distribute, or run
as a network service, is also released as open source under the AGPL. There is no commercial
license on offer today; if you need to embed devcoach in a closed-source product,
open an issue and ask.
Licensing FAQ
devcoach is and stays 100% free to download, install, and use — for everyone, forever, including at work and on commercial projects. AGPL is not a price tag: you only ever pay if you want to ship a proprietary/closed derivative of devcoach itself without complying with the AGPL.
Using devcoach does not put your code under the AGPL. It runs as a separate process over
stdio/MCP (npx -y devcoach mcp); talking to it at arm's length is not a derivative work — exactly
like querying an AGPL-licensed database. Your own projects keep whatever license you choose.
- ✅ "I use devcoach inside Claude Code while building my closed-source startup app." — Free. Your app stays proprietary, zero obligations.
- ✅ "My whole team installs devcoach to get coaching on our internal/commercial repos." — Free. Using the unmodified tool at a company is fine.
- ⚠️ "I fork devcoach, add a feature, and publish the package or host its dashboard as a public service." — You must release your modified devcoach source under the AGPL.
- 💼 "I want to embed devcoach in my paid product and keep my changes closed." — Not covered by the AGPL — ask first by opening an issue.
Keep using devcoach as a tool/executable (not as an imported library) and the AGPL never reaches your own code.
Source: README.md at commit 650d6e6
Tools
0Version history
6- v2.7.1LatestOct 8, 2026
- v2.7.0Oct 6, 2026
- v2.6.3Sep 30, 2026
- v2.6.1Sep 29, 2026
- v2.4.0Sep 19, 2026
- v2.3.1Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts