Install MiniCI
Pick the surface you need. The CLI, Action, and MCP server all run the same deterministic cost engine, and the free tier covers all three.
1. CLI
A standalone Rust binary that breaks down CI/CD cost for GitHub Actions, GitLab CI, CircleCI, Bitbucket Pipelines, AWS CodeBuild, Google Cloud Build, and Azure Pipelines. Build from a pinned commit:
cargo install --locked --git https://github.com/minici-dev/minici-cost-action.git --rev 5c2152f912efcfaf89f82d6cbee3b0dd455a2bba minici
Then run it inside any repository:
minici --help
2. GitHub Action
Posts a sticky PR cost diff on every pull request. Add it after your checkout step:
- uses: actions/checkout@v4
with: { fetch-depth: 0 }
- uses: minici-dev/minici-cost-action@v1
with:
compare-to: origin/${{ github.base_ref }}
post-pr-comment: "true"
3. MCP server for AI coding agents
Run MiniCI as a stdio MCP server so Claude Code, Cursor, Windsurf, and VS Code can query CI cost while they work. Add this to .mcp.json (or .vscode/mcp.json):
{
"mcpServers": {
"minici": {
"command": "minici",
"args": ["mcp", "--path", "."]
}
}
}
The server exposes 8 tools. It analyses workflow files on your machine; the only outbound calls are read-only requests to CI provider APIs that you enable (for example, live telemetry). See the privacy page for details.
Verify the install
- Run
minici --helpand confirm the subcommands print. - Run
miniciin a repo with a CI config and check that a cost breakdown is printed. - Open a pull request with the Action enabled and confirm the sticky comment appears.