Gantt charts in Claude Code
CLI — one command, then /mcp to sign in
Add the server once and Claude Code can schedule a whole project for you — dependencies, working calendars, resource levelling and critical path — then hand back a shareable chart plus PNG, SVG and CSV exports.
Set it up in 5 steps
Add the server with the HTTP transport. Local scope (this project, private to you) is the default; the name goes before the URL.
bash claude mcp add --transport http gantt https://gantt.nare.li/api/mcpOr use --scope project (-s project) to share it with your team, or --scope user for all your projects. Precedence when the same name is defined more than once: local > project > user.
bash claude mcp add --transport http --scope project gantt https://gantt.nare.li/api/mcp # or: claude mcp add --transport http --scope user gantt https://gantt.nare.li/api/mcpProject scope writes this file at the repo root; commit it so teammates get the same server. The "type" key is required — an entry with a url and no type is read as stdio and skipped.
.mcp.json (project root) { "mcpServers": { "gantt": { "type": "http", "url": "https://gantt.nare.li/api/mcp" } } }claude mcp list will first show "! Needs authentication". Start Claude Code, run /mcp, select gantt, press Enter and choose Authenticate, then approve in the browser. From your shell, claude mcp login gantt does the same (v2.1.186+).
text /mcpConfirm it reports connected.
bash claude mcp list
A non-interactive session (claude -p, the Agent SDK, cloud runs) cannot open the browser, so authenticate once from an interactive session first.
Once it is connected
Ask Claude Code: “Plan a 6-week website rebuild for a team of four and give me the chart.”