∞ · Element Cu
clickup cli
A token-efficient CLI and MCP server for the ClickUp API. ~130 endpoints. 143 MCP tools. ~98% smaller than raw JSON. Works with any AI agent.
v0.6.7 · Rust · Apache-2.0
The Problem
Why This Exists
ClickUp's API returns deeply nested JSON. A single task list query produces ~12,000 tokens of data — statuses wrapped in objects, assignees as arrays of user objects, timestamps as Unix milliseconds, custom fields, checklists, dependencies.
For AI agents operating within context windows, this is a serious problem. A few API calls can consume most of the available context, leaving little room for reasoning.
You didn't build an AI agent to waste 12,000 tokens on a task list. There's an element for that.
The Solution
Token-Efficient Output
clickup-cli flattens nested objects, selects only essential fields, and renders compact output — whether you're using the CLI or the MCP server.
status: "in progress" instead of status: {status: "in progress", color: "#4466ff", ...}Coverage
28 Resource Groups, 4 Utilities
Quick Start
Get Running
npm install -g @nick.bester/clickup-cli
brew tap nicholasbester/clickup-cli
brew install clickup-cli
cargo install clickup-cli
docker build -t clickup-cli .
# Configure
clickup setup --token pk_your_token_here
# Verify
clickup auth whoami
# Use
clickup task list --list 12345
clickup task create --list 12345 --name "My Task" --priority 3
AI Integration
Two Ways to Connect
clickup agent-config inject
Auto-detects CLAUDE.md, agent.md, .cursorrules, .github/copilot-instructions.md
clickup agent-config init --mcp
Creates .mcp.json at project root with auto-detected binary path