Skip to content

Connect Claude Code

Wire Claude Code (CLI) to Chartbuddy Hub over local stdio MCP.

Also covers the Claude Desktop Code tab

These steps apply to Claude Code in the terminal and the Code tab in the Claude desktop app — that tab is a GUI for Claude Code, not the Home chat tab. For Claude in the browser or the desktop Home tab, see Connect Claude.

Use user scope so the absolute binary path is not committed to a repo.

One-liner

powershell
claude mcp add-json chartbuddy '{"type":"stdio","command":"C:\\Users\\YOUR_USER\\AppData\\Local\\Programs\\Chartbuddy\\chartbuddy.exe","args":["--mcp"]}' --scope user
bash
claude mcp add-json chartbuddy '{"type":"stdio","command":"/Applications/Chartbuddy.app/Contents/MacOS/chartbuddy","args":["--mcp"]}' --scope user

Equivalent transport form:

powershell
claude mcp add --transport stdio chartbuddy --scope user -- "C:\Users\YOUR_USER\AppData\Local\Programs\Chartbuddy\chartbuddy.exe" --mcp
bash
claude mcp add --transport stdio chartbuddy --scope user -- "/Applications/Chartbuddy.app/Contents/MacOS/chartbuddy" --mcp

Windows install

A public Windows Chartbuddy Hub build is not shipping yet. Use the macOS tab until it does, then replace YOUR_USER (or use the path shown after install).

Then start a new Claude Code session — mid-session attach fails in Claude Code.

Handoff

Optional context for a chat that will use the tools:

text
Chartbuddy MCP is configured (stdio → chartbuddy --mcp → Chartbuddy Hub).
Transport: newline JSON-RPC or Content-Length framed MCP — not HTTP docs.
Open charts: list_charts (chart-* refs). get_active_chart skips menus/popovers.
Missing tools usually mean the chartbuddy MCP server is off for the chat, or a new chat is needed.

Verify

powershell
& "$env:LOCALAPPDATA\Programs\Chartbuddy\chartbuddy.exe" --mcp-status
bash
/Applications/Chartbuddy.app/Contents/MacOS/chartbuddy --mcp-status

Keep Chartbuddy Hub running while you chart.

Chartbuddy Hub documentation · Desktop app · Help Center