Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (codecard-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
codecard-cli
code_ — The financial stack for AI-native builders
CLI tool for managing your Code_ neobank account. Track spend, manage virtual cards, view project P&L, earn rewards — all from the terminal.
Install
npm install -g codecard-cliQuick Start
# Authenticate
codecard auth login
# Create a project (auto-provisions a virtual Visa card)
codecard project create "my-ai-app" --budget 3000
# View your spend
codecard spend
# Check project P&L
codecard pnl my-ai-app
# See rewards earned
codecard rewardsCommands
| Command | Description |
|---|---|
codecard auth login |
Authenticate via browser OAuth or API key |
codecard auth logout |
Clear stored credentials |
codecard auth whoami |
Show current user |
codecard project list |
List all projects |
codecard project create <name> |
Create project + virtual card |
codecard spend |
View spend breakdown |
codecard balance |
Check balance and credit |
codecard pnl <project> |
Project profit & loss |
codecard card list |
List virtual cards |
codecard card freeze <id> |
Freeze a card |
codecard card unfreeze <id> |
Unfreeze a card |
codecard rewards |
View Code Credits |
codecard alerts |
View spend alerts |
codecard mcp |
Start MCP server for AI agents |
JSON Output
Every command supports --json for machine-readable output:
codecard balance --json | jq '.available'
# → 12400
codecard spend --json --project my-ai-app | jq '.byProvider'MCP Server
The CLI includes a built-in MCP (Model Context Protocol) server, letting AI agents manage your finances:
# Start the MCP server
codecard mcp
# Add to Claude Code
claude mcp add codecard -- codecard mcpAvailable tools: list_projects, create_project, get_project_pnl, get_spend, get_balance, list_cards, freeze_card, unfreeze_card, get_rewards, get_alerts
Reward Rates
| Category | Rate |
|---|---|
| AI Model APIs (OpenAI, Anthropic, etc.) | 5% |
| Cloud & Infrastructure (Vercel, AWS, etc.) | 4% |
| Dev Tools & SaaS (GitHub, Cursor, etc.) | 3% |
| Everything Else | 1% |
Links
- Website: codecard.ai
- Dashboard: codecard.ai/dashboard
- Docs: codecard.ai/docs
- GitHub: github.com/rajparekh7/code_
License
MIT